← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Reviewed:  https://review.openstack.org/420439
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=5b44737e0c4627b796cfcf09bff5008ae06a95ff
Submitter: Jenkins
Branch:    master

commit 5b44737e0c4627b796cfcf09bff5008ae06a95ff
Author: Dan Smith <dansmith@xxxxxxxxxx>
Date:   Sun Jan 15 10:52:36 2017 -0800

    Fix the generated cell0 default database name
    
    This makes the default database name for cell0 be based on the
    main database name, not the api one. Before this, we would get
    a database name of nova_api_cell0 by default, intead of nova_cell0.
    This was confusing because cell0 has "main" schema inside, not "api"
    schema.
    
    Closes-Bug: #1656673
    Change-Id: I86797785f76c2c927a4db8fef72b8f8d986af6b9


** Changed in: nova
       Status: In Progress => Fix Released

-- 
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):
  Fix Released
Status in OpenStack Compute (nova) newton series:
  In Progress

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


References