Red Hat Bugzilla – Bug 1468719
[3.5] Openstack cinder volumes not detached from downed vm when pod is rescheduled to another node.
Last modified: 2017-07-14 11:55:13 EDT
Description of problem:
[COPIED FROM UPSTREAM KUBE ISSUE 33288]
If compute instance with attached volume is downed (physical volume in kubernetes terms), kubernetes doesn't try to detach said volume (ever). End result is that k8s is trying to attach a volume in a loop but never succeeds because it is already attached to a downed node.
Version-Release number of selected component (if applicable):
What you expected to happen:
I expect node to detach volume before trying to attach it to a new compute instance.
How to reproduce it (as minimally and precisely as possible):
Bring up cluster with two nodes on openstack. Schedule pod with a pvc. Shutdown (from the command line on the operating system) the node with attached volume. Pod gets rescheduled to another node, but volume stays with the downed node.
Upstream issue and fix merged in 1.6, but needing the fix for OpenShift 3.5