← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1770343] [NEW] transport-url and database_connection parameter must be positional in nova-manage cell_v2 create_cell command

 

Public bug reported:

In "nova-manage cell_v2 create_cell" CLI command the optional parameter ie. "transport-url" and "database_connection" are treated as positional arguments and  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".
"313fe809-ce91-490a-b147-4a74dc0ad071" is cell-uuid of already created cell.

<Supplementary Information>
The parameters connection and transport_url are specified in nova.conf file and only one cell is mapped to this configurations. 
- If one more cell is created with same values as in nova.conf, then error occurs.
- If no parameter ie. "transport-url" and "database_connection" are given then the default values from nova.conf are picked which result into duplicate combination of  transport_url and/or database_connection

Both the arguments must be positional.

** Affects: nova
     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/1770343

Title:
  transport-url and database_connection parameter must be positional in
  nova-manage cell_v2 create_cell command

Status in OpenStack Compute (nova):
  New

Bug description:
  In "nova-manage cell_v2 create_cell" CLI command the optional parameter ie. "transport-url" and "database_connection" are treated as positional arguments and  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".
  "313fe809-ce91-490a-b147-4a74dc0ad071" is cell-uuid of already created cell.

  <Supplementary Information>
  The parameters connection and transport_url are specified in nova.conf file and only one cell is mapped to this configurations. 
  - If one more cell is created with same values as in nova.conf, then error occurs.
  - If no parameter ie. "transport-url" and "database_connection" are given then the default values from nova.conf are picked which result into duplicate combination of  transport_url and/or database_connection

  Both the arguments must be positional.

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


Follow ups