Comment 0 for bug 1591984

Revision history for this message
Nadezhda Kabanova (nkabanova) wrote : iSCSI volume detach does not correctly remove the multipath device descriptors

Customer found in 7.0 - backport of https://bugs.launchpad.net/nova/+bug/1374999 into 7.0 is needed.

Customer successfully managed to boot VM from the multipath device.
After he tried to delete this VM and nova reported, that required VM deleted successfully.
Cinder also reported that volume was deleted.
2016-06-13 11:00:39.544 8559 INFO cinder.volume.manager [req-e71a7271-1bc8-41c6-a572-0826a0bdc850 - - - - -] volume 5271311e-bbfa-43df-9f03-25f09d5335ab: deleted successfully
2016-06-13 11:00:39.564 8559 INFO cinder.volume.manager [req-e71a7271-1bc8-41c6-a572-0826a0bdc850 - - - - -] Updating volume status

# cinder show 5271311e-bbfa-43df-9f03-25f09d5335ab
ERROR: No volume with a name or ID of '5271311e-bbfa-43df-9f03-25f09d5335ab' exists.

The Volume was removed, but not the multipath device descriptors.

Before deleting "multipath -l" command shown:
# multipath -l 360002ac0000000000000030700015b33

360002ac0000000000000030700015b33 dm-7 3PARdata,VV

size=1.0G features='0' hwhandler='0' wp=rw

`-+- policy='round-robin 0' prio=-1 status=active

  |- 2:0:1:6 sdj 8:144 active undef running

  |- 1:0:0:6 sdd 8:48 active undef running

  |- 1:0:1:6 sdf 8:80 active undef running

  `- 2:0:0:6 sdh 8:112 active undef running

After deleting:

# multipath -l 360002ac0000000000000030700015b33

360002ac0000000000000030700015b33 dm-7 ,

size=1.0G features='0' hwhandler='0' wp=rw

`-+- policy='round-robin 0' prio=-1 status=active

  |- #:#:#:# - #:# active undef running

  |- #:#:#:# - #:# active undef running

  |- #:#:#:# - #:# active undef running

  `- #:#:#:# - #:# active undef running