[openstack-dev] [nova][cinder]Detach a encrypted volume won't cleanup the device patch

Li, Xiaoyan xiaoyan.li at intel.com
Wed Jan 6 02:00:15 UTC 2016


Hi,

For ISCSIConnector, the path can be recovered by rescan before disconnect_volume:
https://github.com/openstack/os-brick/blob/master/os_brick/initiator/connector.py#L835

And for NFS volumes, it leads to following bug: https://bugs.launchpad.net/nova/+bug/1511255

Best wishes
Lisa

From: liuxinguo [mailto:liuxinguo at huawei.com]
Sent: Tuesday, December 29, 2015 4:09 PM
To: walter.boring at hp.com
Cc: OpenStack Development Mailing List; Zhangli (ISSP); Luozhen; Shenhong (C)
Subject: [openstack-dev] [nova][cinder]Detach a encrypted volume won't cleanup the device patch

Hi hemna:

When we attach a encrypted volume and then detach it, the device path created when the volume is attached won't be cleanup.
This is probably due to nova and cinder not work coordinately when detach a encrypted volume.
This will cause next volume attachment fails and also cause some test cases of CI fail because the not cleaned up device path.

I opened a bug in os-brick(not sure it's a nova or os-brick bug:)):
https://bugs.launchpad.net/os-brick/+bug/1528092

And want to see if you have any idea about this?

Thanks!
Wilson Liu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160106/3cfc2937/attachment.html>


More information about the OpenStack-dev mailing list