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:liuxin...@huawei.com]
Sent: Tuesday, December 29, 2015 4:09 PM
To: walter.bor...@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
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to