Description of problem: - some pods get stuck in "Terminating" status. It's even sometimes displayed to the user as "Pending" in the web ui but when looking at it via oc get pods it says "Terminating". An oc describe pods also says "Pending". Version-Release number of selected component (if applicable): - v3.1.1.6 How reproducible: - Unfortunately, the "Terminating" status happens randomly, when deleting the pod. Actual results: - Pods remains as "Terminating" status. Expected results: - Pods should not remain as "Terminating" status. Additional info: - There are some similar issue. - https://bugzilla.redhat.com/show_bug.cgi?id=1271198 - https://bugzilla.redhat.com/show_bug.cgi?id=1274598 - Workaround is that delete the pod with --grace-period=0.
Please note that I think there are several things to fix this issue or improve for the trouble shooting. 1. pod should not state as Terminating - This is ideal fix. - But according to the bz(https://bugzilla.redhat.com/show_bug.cgi?id=1274598) Andy's comment, it might not a bug. Then, please consider below. 2. The pod's state is different from web UI and CLI. While pod shows "Terminating" by CLI, web UI has "Pending" status, according to the user's report. - This should be fixed. 3. There are no clue of Terminating state for users. - There are no clue in the "oc get event" what happened during this Terminating process. This should be improved.
If possible, please file individual bugs for each issue. Thanks!