os-brick use a wrong device to attach to instance
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
os-brick |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Operation Env:
RHOSP 16.2.4
System Env:
1. 2 FC HBAs on compute node
HBA1 WWN: 21000024ff7f6afa HBA1 port: pci-0000:00:09.0
HBA2 WWN: 21000024ff7f6afb HBA2 port: pci-0000:00:0a.0
2. 2 FC Storage Ports
Port1 WWN: 500000E0DA000235
Port2 WWN: 500000E0DA000224
3. The following device mapped with a lun on compute:
pci-0000:
pci-0000:
Reproduce steps
1. Create a bootable volume
2. Create a instance from the volume
The following information in cinder's result:
'target_wwn': ['500000E0DA000
'target_lun': 1,
'initiator_
3. Check the device on the instance and the devices on compute node.
Expected results:
The lun created in step 1 is attached to instance and the following device can be found on the compute node.
pci-0000:
pci-0000:
Actual result:
No new device was added to compute node.
In xml file of instance, the lun created in step 1 is not be attached.
It is replaced by the lun in the 3 in 'System Env'.
Analysis:
In the log, I saw that the os-brick used the device pci-0000:
2023-02-08 05:28:25.504 8 DEBUG os_brick.
2023-02-08 05:28:25.513 8 DEBUG os_brick.
2023-02-08 05:28:25.525 8 DEBUG os_brick.
In the function '_get_possible_
So when the device pci-0000:
I think it should figure out the device path by initiator_
Changed in os-brick: | |
status: | Incomplete → Confirmed |
tags: | added: drivers fc fujitsu |
Hello XuQi, hope this message finds you well.
Would you mind sharing more information regarding this case:
- like mention of the actual devices being used.
- are you using multipathing?
- are you using FC Zoning?
- which driver are you using?
Thanks
Sofia