← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1679941] [NEW] Data still exsits in instance_mappings when delete instance

 

Public bug reported:

I have boot a new instance in devstack:
nova boot demo_vm4 --image 14c388ea-797d-4fc5-99a7-bb8452c53d22 --flavor c1

and then i will add a record in db table instance_mappings:
mysql> select * from instance_mappings where instance_uuid = 'df4c6cc9-aee6-4a7d-bc03-7e75f8cddca5'\G;
*************************** 1. row ***************************
   created_at: 2017-04-05 06:53:59
   updated_at: 2017-04-05 06:54:00
           id: 39
instance_uuid: df4c6cc9-aee6-4a7d-bc03-7e75f8cddca5
      cell_id: 2
   project_id: bad99b731c09492cb5c9b9d876c5004c

Now i have delete this instance:
nova delete demo_vm4

this db record still exsits
should we delete from instance_mappings when delete the instance?

** Affects: nova
     Importance: Undecided
         Status: New

** Summary changed:

- Found data in instance_mappings when delete instance
+ Data still exsits in instance_mappings when delete instance

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

Title:
  Data still exsits in instance_mappings when delete instance

Status in OpenStack Compute (nova):
  New

Bug description:
  I have boot a new instance in devstack:
  nova boot demo_vm4 --image 14c388ea-797d-4fc5-99a7-bb8452c53d22 --flavor c1

  and then i will add a record in db table instance_mappings:
  mysql> select * from instance_mappings where instance_uuid = 'df4c6cc9-aee6-4a7d-bc03-7e75f8cddca5'\G;
  *************************** 1. row ***************************
     created_at: 2017-04-05 06:53:59
     updated_at: 2017-04-05 06:54:00
             id: 39
  instance_uuid: df4c6cc9-aee6-4a7d-bc03-7e75f8cddca5
        cell_id: 2
     project_id: bad99b731c09492cb5c9b9d876c5004c

  Now i have delete this instance:
  nova delete demo_vm4

  this db record still exsits
  should we delete from instance_mappings when delete the instance?

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


Follow ups