← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1772371] [NEW] The parameters "transport-url" and "database_connection" are to be treated positional.

 

Public bug reported:

While creating a new cell_v2 using command "nova-manage cell_v2
create_cell", if no parameter ie. "transport-url" and
"database_connection" are given then the values of "transport-url" and
"database_connection" of default cell are picked from nova.conf which
are already mapped to the default cell and it result into error for
duplicate combination of "transport_url" and "database_connection".

Command Output:
[root@openstackq ~(keystone_admin)]# nova-manage cell_v2 create_cell
/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/enginefacade.py:332: NotSupportedWarning: Configuration option(s) ['use_tpool'] not supported
  exception.NotSupportedWarning
The specified transport_url and/or database_connection combination already exists for another cell with uuid 75c8bcda-6a34-468f-ba85-b3c7b977fd4b.


Both the arguments must be positional.
Code changes required and both the parameters "transport-url" and "database_connection" are to be treated positional.
As a workaround, user is providing both the arguments along with command.

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

Title:
  The parameters "transport-url" and "database_connection" are to be
  treated positional.

Status in OpenStack Compute (nova):
  New

Bug description:
  While creating a new cell_v2 using command "nova-manage cell_v2
  create_cell", if no parameter ie. "transport-url" and
  "database_connection" are given then the values of "transport-url" and
  "database_connection" of default cell are picked from nova.conf which
  are already mapped to the default cell and it result into error for
  duplicate combination of "transport_url" and "database_connection".

  Command Output:
  [root@openstackq ~(keystone_admin)]# nova-manage cell_v2 create_cell
  /usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/enginefacade.py:332: NotSupportedWarning: Configuration option(s) ['use_tpool'] not supported
    exception.NotSupportedWarning
  The specified transport_url and/or database_connection combination already exists for another cell with uuid 75c8bcda-6a34-468f-ba85-b3c7b977fd4b.

  
  Both the arguments must be positional.
  Code changes required and both the parameters "transport-url" and "database_connection" are to be treated positional.
  As a workaround, user is providing both the arguments along with command.

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


Follow ups