volume detach does not correctly remove the multipath device descriptors

Bug #1591984 reported by Nadezhda Kabanova
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Committed
Medium
Rodion Tikunov

Bug Description

Customer found in 7.0 - backport of https://bugs.launchpad.net/nova/+bug/1459073, simular bug for ISCSI driver https://bugs.launchpad.net/nova/+bug/1374999 into 7.0 is needed.

Version: 7.0
Customer uses FC driver for attaching devices to VMs.

Steps to reproduce:
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.

Expected result:
Multipath device descriptors have to be removed after volume is actually deleted.

Actual result:
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

tags: added: customer-found
tags: added: ct2 support
tags: removed: customer-found support
tags: added: customer-found support
Revision history for this message
Bug Checker Bot (bug-checker) wrote : Autochecker

(This check performed automatically)
Please, make sure that bug description contains the following sections filled in with the appropriate data related to the bug you are describing:

actual result

version

expected result

steps to reproduce

For more detailed information on the contents of each of the listed sections see https://wiki.openstack.org/wiki/Fuel/How_to_contribute#Here_is_how_you_file_a_bug

tags: added: need-info
summary: - iSCSI volume detach does not correctly remove the multipath device
- descriptors
+ volume detach does not correctly remove the multipath device descriptors
description: updated
tags: removed: need-info
Changed in mos:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → 7.0-updates
assignee: nobody → MOS Maintenance (mos-maintenance)
Changed in mos:
assignee: MOS Maintenance (mos-maintenance) → Rodion Tikunov (rtikunov)
Revision history for this message
Rodion Tikunov (rtikunov) wrote :

Patch for this issue has been committed in 7.0 repo [0] and will be available in MU-4

[0] https://review.fuel-infra.org/#/c/19810/

Changed in mos:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.