Skip to content

Evicted pod didn't unmount EBS #13611

@andrewklau

Description

@andrewklau

One of our pods ended up in an "Evicted" status

Another pod started up on another node however the "Evicted" pod didn't unmount it's EBS volume. This has the "recreate" policy.

Not until force deleting of the evicted pod would the new pod eventually start up (few minute delay as the EBS volume detatched itself and then attached to the new node)

Version

openshift v1.4.1+3f9807a
kubernetes v1.4.0+776c994

Events log:

1h         1h          1         wordpress-9-095ta   Pod                                    Warning   Evicted       {kubelet ip-10-0-119-115.ap-southeast-2.compute.internal}   The node was low on compute resources.
1h         1h          1         wordpress-9-095ta   Pod       spec.containers{wordpress}   Normal    Killing       {kubelet ip-10-0-119-115.ap-southeast-2.compute.internal}   Killing container with docker id 1faaecd102a3: Need to kill pod.
7m         7m          1         wordpress-9-4m3ys   Pod                                    Normal    Scheduled     {default-scheduler }                                        Successfully assigned wordpress-9-4m3ys to ip-10-0-73-16.ap-southeast-2.compute.internal
5m         5m          1         wordpress-9-4m3ys   Pod                                    Warning   FailedMount   {kubelet ip-10-0-73-16.ap-southeast-2.compute.internal}     Unable to mount volumes for pod "wordpress-9-4m3ys_project-dev(bcbb9adb-18c9-11e7-a772-02b4fa6cfe03)": timeout expired waiting for volumes to attach/mount for pod "wordpress-9-4m3ys"/"project-dev". list of unattached/unmounted volumes=[wordpress-data]
5m         5m          1         wordpress-9-4m3ys   Pod                                    Warning   FailedSync    {kubelet ip-10-0-73-16.ap-southeast-2.compute.internal}     Error syncing pod, skipping: timeout expired waiting for volumes to attach/mount for pod "wordpress-9-4m3ys"/"project-dev". list of unattached/unmounted volumes=[wordpress-data]
3m         3m          1         wordpress-9-4m3ys   Pod                                    Warning   FailedMount   {kubelet ip-10-0-73-16.ap-southeast-2.compute.internal}     Unable to mount volumes for pod "wordpress-9-4m3ys_project-dev(bcbb9adb-18c9-11e7-a772-02b4fa6cfe03)": timeout expired waiting for volumes to attach/mount for pod "wordpress-9-4m3ys"/"project-dev". list of unattached/unmounted volumes=[wordpress-data default-token-7wqi1]

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions