During volume detachment, scsi devices are not removed correctly.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
os-brick |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
During a volume detachment, a race condition exists where os-brick will not delete the scsi devices correctly. The scsi devices remain logged in, and show up as faulty devices.
This is on Liberty, with an XtremIo backend.
root@rax-
3514f0c5dbd8000d8 dm-9 XtremIO,XtremApp
size=5.0G features='0' hwhandler='0' wp=rw
`-+- policy=
|- 31:0:0:8 sdab 65:176 failed faulty running
|- 32:0:0:8 sdac 65:192 failed faulty running
|- 33:0:0:8 sdaa 65:160 failed faulty running
`- 34:0:0:8 sdz 65:144 failed faulty running
3514f0c5dbd8000ba dm-10 XtremIO,XtremApp
size=5.0G features='0' hwhandler='0' wp=rw
`-+- policy=
|- 31:0:0:9 sdaf 65:240 failed faulty running
|- 34:0:0:9 sdad 65:208 failed faulty running
|- 33:0:0:9 sdae 65:224 failed faulty running
`- 32:0:0:9 sdag 66:0 failed faulty running
3514f0c5dbd8000d7 dm-6 XtremIO,XtremApp
size=5.0G features='0' hwhandler='0' wp=rw
`-+- policy=
|- 31:0:0:6 sdt 65:48 failed faulty running
|- 32:0:0:6 sds 65:32 failed faulty running
|- 33:0:0:6 sdr 65:16 failed faulty running
`- 34:0:0:6 sdu 65:64 failed faulty running
root@rax-
fdisk: unable to read /dev/sdab: Invalid argument
description: | updated |
Environment
===========
- OpenStack Release : Liberty
- OS : Ubuntu 14.04 LTS
- Hypervisor : KVM
- Cinder Storage : iSCSI (EMC XtremIO)
- os-brick (0.6.0)