Open CallMeFoxie opened 1 month ago
Actually it might be problem in the whole idea of ACPI shutdown - OpenStack seems to set the reboot_started
flag rightaway as a user presses ctrl-alt-del / shutdown / whatever button in horizon (or API) so by the time the pods get drained off the node (and volumes unmounted) the OpenStack no longer accepts any volume detachments.
Is this a BUG REPORT or FEATURE REQUEST?:
What happened: Whenever we have maintenance in Openstack we do a graceful shutdown on a node. That triggers draining the pods. However detaching the cinder volume gets noticed by the controllerplugin too late in the stack.
which means that while the server is in maintenance we cannot re-attach our volumes.
What you expected to happen: Unmount the volume before node goes into reboot
How to reproduce it: do a graceful shutdown in a cluster
Anything else we need to know?: don't hink so
Environment: