← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1849481] [NEW] Failed to delete volumes while delete instance

 

Public bug reported:

Brief Description
-----------------
  To launch an instance and select "delete volume while deleting instance".
  After the instance deleted, the attached volume still remained.
  please refer to attached file as nova_compute.log

Steps to Reproduce
------------------
  1. modify "reclaim_instance_interval" value from 0 -> 180 in nova/conf/compute.py on docker nova_api and nova compute
  2. docker restart nova_api & nova_compute
  3. login to Openstack from browser, and launch an instance with "delete volume while deleting instance"
  4. Delete instance 
  5. Check attached volume still be there, and status is "running"

Expected Behavior
------------------
  Delete instance and attached volume should be deleted also.

Enviroment
------------------
  Broswer: Chrome  77.0.3865.120 
  OS: macOS Mojave 10.14.6
  Openstack version: stein
  Openstack deployed system: Centos Linux version 3.10.0-1062.1.2.el7.x86_64
  
Reproducibility
---------------
100% reproduce able.

** Affects: nova
     Importance: Undecided
     Assignee: YU CHENGDE (chant)
         Status: New

** Attachment added: "nova-compute.log"
   https://bugs.launchpad.net/bugs/1849481/+attachment/5299475/+files/nova-compute.log

** Changed in: openstack-manuals
     Assignee: (unassigned) => YU CHENGDE (chant)

** Project changed: openstack-manuals => nova

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

Title:
  Failed to delete volumes while delete instance

Status in OpenStack Compute (nova):
  New

Bug description:
  Brief Description
  -----------------
    To launch an instance and select "delete volume while deleting instance".
    After the instance deleted, the attached volume still remained.
    please refer to attached file as nova_compute.log

  Steps to Reproduce
  ------------------
    1. modify "reclaim_instance_interval" value from 0 -> 180 in nova/conf/compute.py on docker nova_api and nova compute
    2. docker restart nova_api & nova_compute
    3. login to Openstack from browser, and launch an instance with "delete volume while deleting instance"
    4. Delete instance 
    5. Check attached volume still be there, and status is "running"

  Expected Behavior
  ------------------
    Delete instance and attached volume should be deleted also.

  Enviroment
  ------------------
    Broswer: Chrome  77.0.3865.120 
    OS: macOS Mojave 10.14.6
    Openstack version: stein
    Openstack deployed system: Centos Linux version 3.10.0-1062.1.2.el7.x86_64
    
  Reproducibility
  ---------------
  100% reproduce able.

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


Follow ups