Viewing system event information in an OKD cluster

    Events allow OKD to record information about real-world events in a resource-agnostic manner. They also allow developers and administrators to consume information about system components in a unified way.

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

    Procedure

    • To view events in a project use the following command:

      For example:

      Example output

    • To view events in your project from the OKD console.

      1. Click HomeEvents and select your project.

      2. Move to resource that you want to see events. For example: HomeProjects → <project-name> → <resource-name>.

        Many objects, such as pods and deployments, have their own Events tab as well, which shows events related to that object.

    This section describes the events of OKD.

    Table 1. Configuration events
    NameDescription

    Failed pod configuration validation.

    Table 2. Container events
    NameDescription

    BackOff

    Back-off restarting failed the container.

    Created

    Container created.

    Failed

    Pull/Create/Start failed.

    Killing

    Killing the container.

    Started

    Container started.

    Preempting

    Preempting other pods.

    ExceededGracePeriod

    Container runtime did not stop the pod within specified grace period.

    Table 3. Health events
    NameDescription

    Unhealthy

    Container is unhealthy.

    Table 4. Image events
    NameDescription

    BackOff

    Back off Ctr Start, image pull.

    ErrImageNeverPull

    The image’s NeverPull Policy is violated.

    Failed

    Failed to pull the image.

    InspectFailed

    Failed to inspect the image.

    Pulled

    Successfully pulled the image or the container image is already present on the machine.

    Pulling

    Pulling the image.

    Table 5. Image Manager events
    NameDescription

    FreeDiskSpaceFailed

    Free disk space failed.

    InvalidDiskCapacity

    Invalid disk capacity.

    Table 7. Pod worker events
    NameDescription

    FailedSync

    Pod sync failed.

    Table 8. System Events
    NameDescription

    SystemOOM

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

    Table 9. Pod events
    NameDescription

    FailedKillPod

    Failed to stop a pod.

    FailedCreatePodContainer

    Failed to create a pod container.

    Failed

    Failed to make pod data directories.

    NetworkNotReady

    Network is not ready.

    FailedCreate

    Error creating: <error-msg>.

    SuccessfulCreate

    Created pod: <pod-name>.

    FailedDelete

    Error deleting: <error-msg>.

    SuccessfulDelete

    Deleted pod: <pod-id>.

    Table 10. Horizontal Pod AutoScaler events
    NameDescription

    SelectorRequired

    Selector is required.

    InvalidSelector

    Could not convert selector into a corresponding internal selector object.

    FailedGetObjectMetric

    HPA was unable to compute the replica count.

    InvalidMetricSourceType

    Unknown metric source type.

    ValidMetricFound

    HPA was able to successfully calculate a replica count.

    FailedConvertHPA

    Failed to convert the given HPA.

    FailedGetScale

    HPA controller was unable to get the target’s current scale.

    SucceededGetScale

    HPA controller was able to get the target’s current scale.

    FailedComputeMetricsReplicas

    Failed to compute desired number of replicas based on listed metrics.

    FailedRescale

    New size: <size>; reason: <msg>; error: <error-msg>.

    SuccessfulRescale

    New size: <size>; reason: <msg>.

    FailedUpdateStatus

    Failed to update status.

    Table 11. Network events (openshift-sdn)
    NameDescription

    Starting

    Starting OpenShift SDN.

    NetworkFailed

    Table 13. Volume events
    NameDescription

    FailedBinding

    There are no persistent volumes available and no storage class is set.

    VolumeMismatch

    Volume size or class is different from what is requested in claim.

    VolumeFailedRecycle

    Error creating recycler pod.

    VolumeRecycled

    Occurs when volume is recycled.

    RecyclerPod

    Occurs when pod is recycled.

    VolumeDelete

    Occurs when volume is deleted.

    VolumeFailedDelete

    Error when deleting the volume.

    ExternalProvisioning

    Occurs when volume for the claim is provisioned either manually or via external software.

    ProvisioningFailed

    Failed to provision volume.

    ProvisioningCleanupFailed

    Error cleaning provisioned volume.

    ProvisioningSucceeded

    Occurs when the volume is provisioned successfully.

    Delay binding until pod scheduling.

    Table 14. Lifecycle hooks
    NameDescription

    FailedPostStartHook

    Handler failed for pod start.

    FailedPreStopHook

    Handler failed for pre-stop.

    UnfinishedPreStopHook

    Pre-stop hook unfinished.

    Table 15. Deployments
    NameDescription

    DeploymentCancellationFailed

    Failed to cancel deployment.

    DeploymentCancelled

    Canceled deployment.

    DeploymentCreated

    Created new replication controller.

    IngressIPRangeFull

    No available Ingress IP to allocate to service.

    Table 16. Scheduler events
    NameDescription

    FailedScheduling

    Failed to schedule pod: <pod-namespace>/<pod-name>. This event is raised for multiple reasons, for example: AssumePodVolumes failed, Binding rejected etc.

    Preempted

    By <preemptor-namespace>/<preemptor-name> on node <node-name>.

    Scheduled

    Successfully assigned <pod-name> to <node-name>.

    Table 17. Daemon set events
    NameDescription

    SelectingAll

    This daemon set is selecting all pods. A non-empty selector is required.

    FailedPlacement

    Failed to place pod on <node-name>.

    FailedDaemonPod

    Found failed daemon pod <pod-name> on node <node-name>, will try to kill it.