← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1656673] [NEW] map_cell0 should use the main DB connection, not the API DB

 

Public bug reported:

The nova-manage cell_v2 map_cell0 command takes a database connection
argument but if not provided, like in the case of when map_cell0 is
called from the simple_cell_setup command, it uses the
CONF.api_database.connection option to determine the name and connection
to the cell0 database, which is confusing because the cell0 DB schema is
actually the main DB, not the API DB.

We'll also need to rename the DB created for cell0 in grenade and
possibly devstack, i.e.:

http://git.openstack.org/cgit/openstack-
dev/grenade/tree/projects/60_nova/from-newton/upgrade-nova#n8

** Affects: nova
     Importance: High
         Status: Confirmed

** Affects: nova/newton
     Importance: Undecided
         Status: New


** Tags: cells nova-manage

** Also affects: nova/newton
   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/1656673

Title:
  map_cell0 should use the main DB connection, not the API DB

Status in OpenStack Compute (nova):
  Confirmed
Status in OpenStack Compute (nova) newton series:
  New

Bug description:
  The nova-manage cell_v2 map_cell0 command takes a database connection
  argument but if not provided, like in the case of when map_cell0 is
  called from the simple_cell_setup command, it uses the
  CONF.api_database.connection option to determine the name and
  connection to the cell0 database, which is confusing because the cell0
  DB schema is actually the main DB, not the API DB.

  We'll also need to rename the DB created for cell0 in grenade and
  possibly devstack, i.e.:

  http://git.openstack.org/cgit/openstack-
  dev/grenade/tree/projects/60_nova/from-newton/upgrade-nova#n8

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


Follow ups