← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1297635] [NEW] Race condition when deleting iscsi devices

 

Public bug reported:

If you have two instances on the same compute node that each have a
volume attached (using iscsi backend)

If you delete both of them triggering a disconnect volume the following
happens:

First request will delete the device
echo 1> /sys/block/sdr/device/delete

The second request triggers an iscsi_rescan which then rediscovers the
device.

The volume is then deleted from the backend cinder.

now you have a device which is pointing back to a deleted volume.

This is using an NetApp device where all the devices are in the same IQN
and using multipath on stable/havana

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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/1297635

Title:
  Race condition when deleting iscsi devices

Status in OpenStack Compute (Nova):
  New

Bug description:
  If you have two instances on the same compute node that each have a
  volume attached (using iscsi backend)

  If you delete both of them triggering a disconnect volume the
  following happens:

  First request will delete the device
  echo 1> /sys/block/sdr/device/delete

  The second request triggers an iscsi_rescan which then rediscovers the
  device.

  The volume is then deleted from the backend cinder.

  now you have a device which is pointing back to a deleted volume.

  This is using an NetApp device where all the devices are in the same
  IQN and using multipath on stable/havana

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


Follow ups

References