iSCSI Multipath may leave residual paths due to race condition
Bug #1664032 reported by
Gorka Eguileor
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
os-brick |
Fix Released
|
Undecided
|
Gorka Eguileor |
Bug Description
iSCSI multipath rescan uses iscsiadm --rescan option for nodes and sessions, which can end up recreating devices that had just been removed if there's a race condition between the removal of a SCSI device and the connection of a volume.
The race condition happens if a rescan done when attaching happens right between us removing the path and removing the exported lun, because the rescan will add not only the new path we are attaching, but the old path we are removing, since the lun still hasn't been removed.
This would leave orphaned devices that unnecessarily pollute our environment.
Changed in os-brick: | |
assignee: | nobody → Gorka Eguileor (gorka) |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/433104
Review: https:/