← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1471278] Re: target removal on detaching volume with multi-attach flag

 

** Changed in: cinder
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1471278

Title:
  target removal on detaching volume with multi-attach flag

Status in Cinder:
  Fix Released
Status in OpenStack Compute (nova):
  Invalid

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://review.openstack.org/#/c/153038/
  - 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/1471278/+subscriptions