Bug 1331108 - Backport the disconnect_volume method from os-brick's FibreChannelConnector class
Summary: Backport the disconnect_volume method from os-brick's FibreChannelConnector c...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 7.0 (Kilo)
Hardware: x86_64
OS: Linux
urgent
urgent
Target Milestone: ---
: 7.0 (Kilo)
Assignee: Lee Yarwood
QA Contact: Prasanth Anbalagan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-27 18:22 UTC by Lee Yarwood
Modified: 2020-02-14 17:45 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-05 15:32:45 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Lee Yarwood 2016-04-27 18:22:50 UTC
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:

Comment 18 awaugama 2017-08-30 17:53:01 UTC
WONTFIX/NOTABUG therefore QE Won't automate


Note You need to log in before you can comment on or make changes to this bug.