← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1515672] Re: XenServer attach second Cinder volume failed

 

** Also affects: nova/liberty
   Importance: Undecided
       Status: New

** Changed in: nova/liberty
       Status: New => In Progress

** Changed in: nova/liberty
     Assignee: (unassigned) => Kevin Bringard (kbringard)

** Changed in: nova/liberty
   Importance: Undecided => Medium

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

Title:
  XenServer attach second Cinder volume failed

Status in OpenStack Compute (nova):
  Fix Released
Status in OpenStack Compute (nova) liberty series:
  In Progress

Bug description:
  With some Cinder backends (specifically those that provide multiple
  LUNs over the same IQN), XenServer cannot attach multiple disks to a
  VM.

  Openstack  kilo version nova-compute 2015.1.1-1.el7

  Logs from nova-compute after attaching second volume to xenserver
  host:

  2015-11-12 18:36:50.250 996 ERROR nova.virt.block_device [req-42ee1d90-2e83-41d3-aaec-3f928170b60d cb348d90ade04049b30e2d41a985e2d4 596095f4da8b4eddbfbbe1774e762bf4 - - -] [instance: 901b2692-e337-4358-80df-8408ce626352] Driver failed to attach volume a7ce4570-e35b-4db8-9502-8c33e790280a at /dev/xvdc
  ...
  2015-11-12 18:36:50.250 996 TRACE nova.virt.block_device [instance: 901b2692-e337-4358-80df-8408ce626352]     session.call_xenapi("SR.scan", sr_ref)
  ...
  2015-11-12 18:36:50.250 996 TRACE nova.virt.block_device [instance: 901b2692-e337-4358-80df-8408ce626352] Failure: ['SR_BACKEND_FAILURE_40', '', 'The SR scan failed  [opterr=[\'INTERNAL_ERROR\', \'Db_exn.Uniqueness_constraint_violation("VDI", "uuid", "70b87c59-e01a-be46-6f43-d927e3871669")\']]', '']

  Reproduction steps

  1. create first cinder volume on storage array - seen with a storwize 7000. (cinder create)
  2. attach that volume to instance VM reside on xenserver host (first volume attached ok). (nova volume-attach)
  3. create second cinder volume on storage array.
  4. attach second cinder volume to instance VM on the same xenserver host as in step 2.
  5. attach second volume failed

  Expected result:

  Second volume attached ok and gets available to VM instance

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


References