← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1723165] [NEW] Volume is not detached when deleted VM was in error state

 

Public bug reported:

When creating a VM with multiple volumes - from a snapshot - if quota is
exceeded nova will fail to launch the VM. When the VM is deleted the
volumes created are not detached - attached to None.

Steps to reproduce:
1. Create a VM (creating a new volume) and attach 2 volumes to it.
2. Create a snapshot of the VM.
3. Set the volume quota to 5.
4. Create a new VM based on the snapshot from step 2.
5. VM will get into error state but when it gets removed volumes will still be associated with 'None'.

Expected:
Instance deleted and volume detached.

Actual:
Instance deleted and volume attached to 'None'.


In our deployment - which is stable/ocata - we had an issue with the bug #1668267. Maybe this is related to this.

For sake of completeness, we are running Openstack with ceph.

** 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/1723165

Title:
  Volume is not detached when deleted VM was in error state

Status in OpenStack Compute (nova):
  New

Bug description:
  When creating a VM with multiple volumes - from a snapshot - if quota
  is exceeded nova will fail to launch the VM. When the VM is deleted
  the volumes created are not detached - attached to None.

  Steps to reproduce:
  1. Create a VM (creating a new volume) and attach 2 volumes to it.
  2. Create a snapshot of the VM.
  3. Set the volume quota to 5.
  4. Create a new VM based on the snapshot from step 2.
  5. VM will get into error state but when it gets removed volumes will still be associated with 'None'.

  Expected:
  Instance deleted and volume detached.

  Actual:
  Instance deleted and volume attached to 'None'.

  
  In our deployment - which is stable/ocata - we had an issue with the bug #1668267. Maybe this is related to this.

  For sake of completeness, we are running Openstack with ceph.

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