Description of problem:
Changes introduced in openstack-nova-2015.1.3-15.el7ost via BZ#1313624 to the LibvirtFibreChannelVolumeDriver class disconnect_volume method now result in no local devices being removed if only a single path device is found during connect_volume.
This method needs to be changed to reflect the current disconnect_volume method in os-brick's FibreChannelConnector class [1]. This implementation currently builds a list of possible device paths using the stashed target WWN(s) and local HBA PCI address details before removing any that it finds. Finally if a multipath device is present this is also flushed.
[1] https://git.io/vw2fE
Version-Release number of selected component (if applicable):
openstack-nova-2015.1.3-15.el7ost
How reproducible:
Always
Steps to Reproduce:
1. Detach a volume currently supplied by a single path device from an instance.
Actual results:
The single path device is not removed.
Expected results:
The single path device is removed.
Additional info: