target removal on detaching volume with multi-attach flag
Bug #1471278 reported by
Chris Gacsal
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Medium
|
Unassigned | ||
OpenStack Compute (nova) |
Invalid
|
Low
|
Unassigned |
Bug Description
Cinder-volume removes target on detaching volume with multi-attach flag even
if the volume still has attachments.
This bug has been found during the development of volume-multi-attach support for nova.
To reproduce it in devstack:
- get multi-attach support for nova: https:/
- create a volume with multi-attach flag: cinder create 1 --allow-multiattach
- create two instances (host was the same for both vms in our case)
- attach volume to the instances
- check iscsi target: tgtadm --lld iscsi --mode target --op show
- check iscsi session: iscsiadm -m session -P 3
- detach the volume from one of the vms
- check iscsi target/session again
Changed in cinder: | |
assignee: | nobody → Chris Gacsal (chris-gacsal) |
Changed in cinder: | |
status: | New → In Progress |
Changed in cinder: | |
assignee: | Chris Gacsal (chris-gacsal) → nobody |
Changed in cinder: | |
assignee: | nobody → Walt Boring (walter-boring) |
Changed in cinder: | |
importance: | Undecided → Medium |
Changed in nova: | |
assignee: | nobody → Ildiko Vancsa (ildiko-vancsa) |
status: | New → In Progress |
tags: | added: volumes |
Changed in cinder: | |
assignee: | Walt Boring (walter-boring) → Chhavi Agarwal (chhagarw) |
Changed in cinder: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Change abandoned by Chris Gacsal (<email address hidden>) on branch: master /review. openstack. org/198400
Review: https:/