← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1246412] Re: Unshelving an instance with an attached volume causes the volume to not get attached

 

** Changed in: nova
       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/1246412

Title:
  Unshelving an instance with an attached volume causes the volume to
  not get attached

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  When shelving an instance that has a volume attached - once it's
  unshelved, the volume will not get re-attached.

  Reproduce by:

  $nova boot --image <IMAGE> --flavor <FLAVOR> test
  $nova attach <INSTANCE> <VOLUME> #ssh into the instance and make sure the volume is there
  $nova shelve <INSTANCE> #Make sure the instance is done shelving
  $nova unshelve <INSTANCE> #Log in and see that the volume is not visible any more

  It can also be seen that the volume remains attached as per

  $sinder list

  And if you take a look at the generated xml (if you use libvirt) you
  can see that the volume is not there when the instance is done
  unshelving.

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