In "nova-manage cell_v2 create_cell" CLI help, the parameter ie. "transport-url" and "database_connection" are mentioned as optional parameters but they are treated as positional parameters.

Bug #1770343 reported by Swati Bansal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Surya Seetharaman

Bug Description

In "nova-manage cell_v2 create_cell" CLI help, the parameter ie. "transport-url" and "database_connection" are mentioned as optional parameters but they are treated as positional parameters.
If the optional parameters ie. "transport-url" and "database_connection" are not provided, the CLI throws an error "The specified transport_url and/or database_connection combination already exists for another cell with uuid 313fe809-ce91-490a-b147-4a74dc0ad071".

<Supplementary Information>
Output of help:
[root@openstackq ~(keystone_admin)]# nova-manage cell_v2 create_cell -h
usage: nova-manage cell_v2 create_cell [-h] [--name <cell_name>]
                                       [--database_connection <database_connection>]
                                       [--transport-url <transport_url>]
                                       [--verbose]

Matt Riedemann (mriedem)
tags: added: cells nova-manage
Swati Bansal (swati1)
description: updated
Swati Bansal (swati1)
summary: - transport-url and database_connection parameter must be positional in
- nova-manage cell_v2 create_cell command
+ In "nova-manage cell_v2 create_cell" CLI help, the parameter ie.
+ "transport-url" and "database_connection" are mentioned as optional
+ parameters but they are treated as positional parameters.
Changed in nova:
assignee: nobody → Surya Seetharaman (tssurya)
Revision history for this message
Matt Riedemann (mriedem) wrote :

The CLI options are optional because if not specified the values are pulled from the config file, which you can provide via the --config-file option, and so you don't have to write URLs with credentials into scripts. The fact it fails with "The specified transport_url and/or database_connection combination already exists for another cell with uuid" is because you're trying to create a cell using the same config as another cell that already exists, so I'm not sure that this is a bug.

Changed in nova:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.