FC Multipath may leave residual paths due to race condition
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
os-brick |
Fix Released
|
Undecided
|
Gorka Eguileor |
Bug Description
When using FC multipath we may end up with residual paths that should have been removed but due to a race condition they are recreated and left there.
This can create problems if the storage controller reuses the same WWID.
The race condition occurs between the removal of a SCSI device and the connection of a volume and is due to our scanning parameters being too broad (we use - - -, which means any HBA channel, any SCSI target, and any LUN).
Example of the race between 2 VMs hosted in the same compute node:
VM1 VM2
1. A1(Create LUN):WWID X assigned
2. A2(Scan LUN):Detected sda-WWID X
3. ...
4. R1(Delete path):sda removed
5. A1(Create LUN):WWID Y assigned
6. A2(Scan LUN):Detected sda-WWID X
7. R2(Remove LUN):Remove WWID X
So we'll end up having /dev/sda when it shouldn't.
Changed in os-brick: | |
assignee: | nobody → Gorka Eguileor (gorka) |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Fix proposed to branch: master /review. openstack. org/349598
Review: https:/