Bug 1426441 - Wait for device on mpath + iscsi cleanup
Summary: Wait for device on mpath + iscsi cleanup
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-os-brick
Version: 8.0 (Liberty)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: zstream
: 8.0 (Liberty)
Assignee: Gorka Eguileor
QA Contact: Avi Avraham
URL:
Whiteboard: hot
Depends On:
Blocks: 1194008
TreeView+ depends on / blocked
 
Reported: 2017-02-23 22:51 UTC by Yuming Ma
Modified: 2020-09-10 10:14 UTC (History)
12 users (show)

Fixed In Version: python-os-brick-0.5.0-4.el7ost
Doc Type: Bug Fix
Doc Text:
This update contains a complete refactoring of the iSCSI connection mechanism, resulting in improved reliability. For optimal results, use with openstack-cinder >= 7.0.3-8 and iscsi-initiator-utils >= 6.2.0.874-2.
Clone Of:
Environment:
Last Closed: 2017-10-25 17:06:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:3067 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 8 Bug Fix and Enhancement Advisory 2017-10-25 21:03:04 UTC

Comment 1 Yuming Ma 2017-02-28 22:25:03 UTC
Description of problem:

During the cleanup of a multipath iSCSi volume os-brick will issue the command to remove the device but it doesn't wait for the device to be removed before moving on. As a result of this as soon as the request to delete all the devices are made the lock guarding against collision is released. If another volume is waiting to be connected or disconnected the the next request will grab the lock and run a multipath -r. This can detect the to-be-deleted-but-not-yet-removed device, pull it into the map and prevent the cleanup from functioning. To prevent this we need to wait for the device to be fully removed first. Link to patch upstream review: https://review.openstack.org/#/c/409881/

This will need to be:
1. merged to upstream
2. back port to OSP8

Comment 6 Avi Avraham 2017-10-18 12:27:02 UTC
verified 
Package installed :
python-os-brick-0.5.0-4.el7ost.noarch
verified by running tempest

Comment 8 errata-xmlrpc 2017-10-25 17:06:46 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:3067


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