Viewing system event information in OpenShift Container Platform clusters
Esc
Start typing to search...
On this page

Viewing system event information in OpenShift Container Platform clusters

You can view events in OpenShift Container Platform, which are based on events that happen to API objects in an OpenShift Container Platform cluster.

Understanding events

Review the following information to learn how OpenShift Container Platform uses events to record information about real-world events in a resource-agnostic manner. Events also allow developers and administrators to consume information about system components in a unified way.

Viewing events using the CLI

You can get a list of events in a given project by using the CLI.

Procedure

  • View events in a project by using a command similar to the following:
    terminal
    $ oc get events [-n <project>]

    where:

    project

    Specifies the name of the project.

    For example:

    terminal
    $ oc get events -n openshift-config
    Example output
    LAST SEEN   TYPE      REASON                   OBJECT                      MESSAGE
    97m         Normal    Scheduled                pod/dapi-env-test-pod       Successfully assigned openshift-config/dapi-env-test-pod to ip-10-0-171-202.ec2.internal
    97m         Normal    Pulling                  pod/dapi-env-test-pod       pulling image "gcr.io/google_containers/busybox"
    97m         Normal    Pulled                   pod/dapi-env-test-pod       Successfully pulled image "gcr.io/google_containers/busybox"
    97m         Normal    Created                  pod/dapi-env-test-pod       Created container
    9m5s        Warning   FailedCreatePodSandBox   pod/dapi-volume-test-pod    Failed create pod sandbox: rpc error: code = Unknown desc = failed to create pod network sandbox k8s_dapi-volume-test-pod_openshift-config_6bc60c1f-452e-11e9-9140-0eec59c23068_0(748c7a40db3d08c07fb4f9eba774bd5effe5f0d5090a242432a73eee66ba9e22): Multus: Err adding pod to network "ovn-kubernetes": cannot set "ovn-kubernetes" ifname to "eth0": no netns: failed to Statfs "/proc/33366/ns/net": no such file or directory
    8m31s       Normal    Scheduled                pod/dapi-volume-test-pod    Successfully assigned openshift-config/dapi-volume-test-pod to ip-10-0-171-202.ec2.internal
    #...
  • View events in your project from the OpenShift Container Platform console:
    1. Launch the OpenShift Container Platform console.
    2. Click Home → Events and select your project.
    3. Move to resource that you want to see events. For example: Home → Projects → <project-name> → <resource-name>.

      Many objects, such as pods and deployments, also have an Events tab, which shows events related to that object.

List of events

Review the information in this section to learn about OpenShift Container Platform events.

Configuration events

NameDescription
FailedValidationFailed pod configuration validation.

Container events

NameDescription
BackOffBack-off restarting failed the container.
CreatedContainer created.
FailedPull/Create/Start failed.
KillingKilling the container.
StartedContainer started.
PreemptingPreempting other pods.
ExceededGracePeriodContainer runtime did not stop the pod within specified grace period.

Health events

NameDescription
UnhealthyContainer is unhealthy.

Image events

NameDescription
BackOffBack off Ctr Start, image pull.
ErrImageNeverPullThe image’s NeverPull Policy is violated.
FailedFailed to pull the image.
InspectFailedFailed to inspect the image.
PulledSuccessfully pulled the image or the container image is already present on the machine.
PullingPulling the image.

Image Manager events

NameDescription
FreeDiskSpaceFailedFree disk space failed.
InvalidDiskCapacityInvalid disk capacity.

Node events

NameDescription
FailedMountVolume mount failed.
HostNetworkNotSupportedHost network not supported.
HostPortConflictHost/port conflict.
KubeletSetupFailedKubelet setup failed.
NilShaperUndefined shaper.
NodeNotReadyNode is not ready.
NodeNotSchedulableNode is not schedulable.
NodeReadyNode is ready.
NodeSchedulableNode is schedulable.
NodeSelectorMismatchingNode selector mismatch.
OutOfDiskOut of disk.
RebootedNode rebooted.
StartingStarting kubelet.
FailedAttachVolumeFailed to attach volume.
FailedDetachVolumeFailed to detach volume.
VolumeResizeFailedFailed to expand/reduce volume.
VolumeResizeSuccessfulSuccessfully expanded/reduced volume.
FileSystemResizeFailedFailed to expand/reduce file system.
FileSystemResizeSuccessfulSuccessfully expanded/reduced file system.
FailedUnMountFailed to unmount volume.
FailedMapVolumeFailed to map a volume.
FailedUnmapDeviceFailed unmaped device.
AlreadyMountedVolumeVolume is already mounted.
SuccessfulDetachVolumeVolume is successfully detached.
SuccessfulMountVolumeVolume is successfully mounted.
SuccessfulUnMountVolumeVolume is successfully unmounted.
ContainerGCFailedContainer garbage collection failed.
ImageGCFailedImage garbage collection failed.
FailedNodeAllocatableEnforcementFailed to enforce System Reserved Cgroup limit.
NodeAllocatableEnforcedEnforced System Reserved Cgroup limit.
UnsupportedMountOptionUnsupported mount option.
SandboxChangedPod sandbox changed.
FailedCreatePodSandBoxFailed to create pod sandbox.
FailedPodSandBoxStatusFailed pod sandbox status.

Pod worker events

NameDescription
FailedSyncPod sync failed.

System Events

NameDescription
SystemOOMThere is an OOM (out of memory) situation on the cluster.

Pod events

NameDescription
FailedKillPodFailed to stop a pod.
FailedCreatePodContainerFailed to create a pod container.
FailedFailed to make pod data directories.
NetworkNotReadyNetwork is not ready.
FailedCreateError creating: <error-msg>.
SuccessfulCreateCreated pod: <pod-name>.
FailedDeleteError deleting: <error-msg>.
SuccessfulDeleteDeleted pod: <pod-id>.

Horizontal Pod AutoScaler events

NameDescription
SelectorRequiredSelector is required.
InvalidSelectorCould not convert selector into a corresponding internal selector object.
FailedGetObjectMetricHPA was unable to compute the replica count.
InvalidMetricSourceTypeUnknown metric source type.
ValidMetricFoundHPA was able to successfully calculate a replica count.
FailedConvertHPAFailed to convert the given HPA.
FailedGetScaleHPA controller was unable to get the target’s current scale.
SucceededGetScaleHPA controller was able to get the target’s current scale.
FailedComputeMetricsReplicasFailed to compute desired number of replicas based on listed metrics.
FailedRescaleNew size: <size>; reason: <msg>; error: <error-msg>.
SuccessfulRescaleNew size: <size>; reason: <msg>.
FailedUpdateStatusFailed to update status.

Volume events

NameDescription
FailedBindingThere are no persistent volumes available and no storage class is set.
VolumeMismatchVolume size or class is different from what is requested in claim.
VolumeFailedRecycleError creating recycler pod.
VolumeRecycledOccurs when volume is recycled.
RecyclerPodOccurs when pod is recycled.
VolumeDeleteOccurs when volume is deleted.
VolumeFailedDeleteError when deleting the volume.
ExternalProvisioningOccurs when volume for the claim is provisioned either manually or via external software.
ProvisioningFailedFailed to provision volume.
ProvisioningCleanupFailedError cleaning provisioned volume.
ProvisioningSucceededOccurs when the volume is provisioned successfully.
WaitForFirstConsumerDelay binding until pod scheduling.

Lifecycle hooks

NameDescription
FailedPostStartHookHandler failed for pod start.
FailedPreStopHookHandler failed for pre-stop.
UnfinishedPreStopHookPre-stop hook unfinished.

Deployments

NameDescription
DeploymentCancellationFailedFailed to cancel deployment.
DeploymentCancelledCanceled deployment.
DeploymentCreatedCreated new replication controller.
IngressIPRangeFullNo available Ingress IP to allocate to service.

Scheduler events

NameDescription
FailedSchedulingFailed to schedule pod: <pod-namespace>/<pod-name>. This event is raised for multiple reasons, for example: AssumePodVolumes failed, Binding rejected etc.
PreemptedBy <preemptor-namespace>/<preemptor-name> on node <node-name>.
ScheduledSuccessfully assigned <pod-name> to <node-name>.

Daemon set events

NameDescription
SelectingAllThis daemon set is selecting all pods. A non-empty selector is required.
FailedPlacementFailed to place pod on <node-name>.
FailedDaemonPodFound failed daemon pod <pod-name> on node <node-name>, will try to kill it.

LoadBalancer service events

NameDescription
CreatingLoadBalancerFailedError creating load balancer.
DeletingLoadBalancerDeleting load balancer.
EnsuringLoadBalancerEnsuring load balancer.
EnsuredLoadBalancerEnsured load balancer.
UnAvailableLoadBalancerThere are no available nodes for LoadBalancer service.
LoadBalancerSourceRangesLists the new LoadBalancerSourceRanges. For example, <old-source-range> -> <new-source-range>.
LoadbalancerIPLists the new IP address. For example, <old-ip> -> <new-ip>.
ExternalIPLists external IP address. For example, Added: <external-ip>.
UIDLists the new UID. For example, <old-service-uid> -> <new-service-uid>.
ExternalTrafficPolicyLists the new ExternalTrafficPolicy. For example, <old-policy> -> <new-policy>.
HealthCheckNodePortLists the new HealthCheckNodePort. For example, <old-node-port> -> new-node-port>.
UpdatedLoadBalancerUpdated load balancer with new hosts.
LoadBalancerUpdateFailedError updating load balancer with new hosts.
DeletingLoadBalancerDeleting load balancer.
DeletingLoadBalancerFailedError deleting load balancer.
DeletedLoadBalancerDeleted load balancer.