← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1748837] [NEW] Boot an instance from volume but failed, then delete this instance successfully, but volume is still in-use.

 

Public bug reported:

Description
===========
Boot an instance from volume failed, then delete this instance successfully, but volume is still in-use.

Steps to reproduce
==================
A chronological list of steps which will bring off the
issue you noticed:
* I did boot an instance from volume. Instance is error and instance.host is None.
* then I did delete this instance successfully. The booted volume is still in-use.
* then I did delete this volume.

But this volume is not allowed to be deleted because volume is still in-use.
 
Expected result
===============
This volume can be deleted successfully.
After delete instance, booted volume should be reverted to available state.

Actual result
=============
This volume is not allowed to be deleted.

Environment
===========
1. pike

2. Which hypervisor did you use?
   Libvirt + KVM

3. Which storage type did you use?
   LVM

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

Title:
  Boot an instance from volume but failed, then delete this instance
  successfully, but volume is still in-use.

Status in OpenStack Compute (nova):
  New

Bug description:
  Description
  ===========
  Boot an instance from volume failed, then delete this instance successfully, but volume is still in-use.

  Steps to reproduce
  ==================
  A chronological list of steps which will bring off the
  issue you noticed:
  * I did boot an instance from volume. Instance is error and instance.host is None.
  * then I did delete this instance successfully. The booted volume is still in-use.
  * then I did delete this volume.

  But this volume is not allowed to be deleted because volume is still in-use.
   
  Expected result
  ===============
  This volume can be deleted successfully.
  After delete instance, booted volume should be reverted to available state.

  Actual result
  =============
  This volume is not allowed to be deleted.

  Environment
  ===========
  1. pike

  2. Which hypervisor did you use?
     Libvirt + KVM

  3. Which storage type did you use?
     LVM

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