[openstack-dev] [Nova][Cinder] Cleanly detaching volumes from failed nodes
scott.dangelo at hpe.com
Mon Jan 25 23:37:01 UTC 2016
There is currently no simple way to clean up Cinder attachments if the Nova node (or the instance) has gone away. We’ve put this topic on the agenda for the Cinder mid-cycle this week:
From: Avishay Traeger [mailto:avishay at stratoscale.com]
Sent: Monday, January 25, 2016 7:21 AM
To: OpenStack Development Mailing List (not for usage questions)
Subject: [openstack-dev] [Nova][Cinder] Cleanly detaching volumes from failed nodes
I was wondering if there was any way to cleanly detach volumes from failed nodes. In the case where the node is up nova-compute will call Cinder's terminate_connection API with a "connector" that includes information about the node - e.g., hostname, IP, iSCSI initiator name, FC WWPNs, etc.
If the node has died, this information is no longer available, and so the attachment cannot be cleaned up properly. Is there any way to handle this today? If not, does it make sense to save the connector elsewhere (e.g., DB) for cases like these?
Avishay Traeger, PhD
Mobile: +972 54 447 1475
E-mail: avishay at stratoscale.com<mailto:avishay at stratoscale.com>
Web<http://www.stratoscale.com/> | Blog<http://www.stratoscale.com/blog/> | Twitter<https://twitter.com/Stratoscale> | Google+<https://plus.google.com/u/1/b/108421603458396133912/108421603458396133912/posts> | Linkedin<https://www.linkedin.com/company/stratoscale>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenStack-dev