← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1153842] Re: nova volume-attach <vmid> <volumeid> auto returns always /dev/sdb on Hyper-V

 

** Also affects: compute-hyperv
   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/1153842

Title:
  nova volume-attach <vmid> <volumeid> auto returns always /dev/sdb on
  Hyper-V

Status in compute-hyperv:
  New
Status in OpenStack Compute (nova):
  Confirmed

Bug description:
  To reproduce the issue it's enough to attach two volumes to a VM
  without providing an explicit mount point.

  cinder create 1
  cinder create 1

  nova boot ... vm1

  nova volume-attach vmid <volumeid1> auto
  nova volume-attach vmid <volumeid2> auto

  As a result:

  1) When the machine is deleted only one of the volumes becomes available again on Cinder, the second one figures as still attached.
  2) Live migration fails as only one volume is reported in the "block_device_info" dict.

  More inconsistent behaviours can happen, for example during cold
  migration / resize.

  Workaround:

  Always provide a mount point e.g.:

  nova volume-attach vmid <volumeid1> /dev/sdb
  nova volume-attach vmid <volumeid2> /dev/sdc

To manage notifications about this bug go to:
https://bugs.launchpad.net/compute-hyperv/+bug/1153842/+subscriptions