[Bug 1062474] [NEW] Migrations do not populate volume_id_mappings and instance_id_mappings completely

Adam Gandelman 1062474 at bugs.launchpad.net
Fri Oct 5 18:27:36 UTC 2012


Public bug reported:

089_add_volume_id_mappings.py
107_add_instance_id_mappings.py

These two migrations create  tables that easily map volume and instance
IDs to UUIDs.  Each have 6 columns: id, uuid, created_at, updated_at,
deleted_at, deleted.  Only the 'id' and 'uuid' column get populated with
data copied from the volumes or instances table  in the migration that
creates them.  From what I can tell, none of these fields are currently
being used by code anywhere in Folsom, but this has already introduced a
nasty Bug #1061166.

If the plan is to be able to query this info from this table in Grizzly,
they should be fully populated with data for existing instances.  If
there is no plan to make use of them, they should be dropped.

Additionally, there should probably be some uniqueness constraints on
those  tables to ensure these mappings stay consistent if similar bugs
exist elsewhere in the code base.

** Affects: nova
     Importance: Undecided
         Status: New

** Package changed: nova (Ubuntu) => nova

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1062474

Title:
  Migrations do not populate volume_id_mappings and instance_id_mappings
  completely

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



More information about the Ubuntu-server-bugs mailing list