← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1778733] Re: nova-manage api_db sync CLI help is wrong

 

Reviewed:  https://review.openstack.org/578116
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=1476b030bd53deddd85468c0d8b545d8f8f30f19
Submitter: Zuul
Branch:    master

commit 1476b030bd53deddd85468c0d8b545d8f8f30f19
Author: Matt Riedemann <mriedem.os@xxxxxxxxx>
Date:   Tue Jun 26 10:16:55 2018 -0400

    Fix CLI docs for nova-manage api_db commands
    
    There were a few changes needed here:
    
    1. There is no "API cell database", just the API
       database, so this removes mentions of cells.
    
    2. The VERSION argument was missing from the sync help.
    
    3. The sync command does not create a database, it upgrades
       the schema. Wording for that was borrowed from the
       nova-manage db sync help.
    
    4. Starting in Rocky, the api_db sync command also upgrades
       the schema for the optional placement database if configured
       so that's mentioned here as well.
    
    Change-Id: Ibc49f93b8bd51d9a050acde5ef3dc8aad91321ca
    Closes-Bug: #1778733


** 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/1778733

Title:
  nova-manage api_db sync CLI help is wrong

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  https://docs.openstack.org/nova/latest/cli/nova-manage.html#nova-api-
  database

  nova-manage api_db sync
      Sync the api cells database up to the most recent version. This is the standard way to create the db as well.

  There are three things wrong here:

  1. It's missing the --version option.

  2. There is no "api cells database", it should just say API database.

  3. It does not create a database, you must have already created the
  database. The sync command just creates the database schema (table
  definitions, indexes, etc).

  --

  Starting in 18.0.0 Rocky, it will also synchronize the optionally
  configured placement database, so we might as well mention that.

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


References