Public bug reported: When using templated cells urls as in https://docs.openstack.org/nova/rocky/user/cells.html#template-urls-in- cell-mappings , there is an issue with nova-manage parsing the transport url when we use {scheme} or {port}. The validation in nova-manage fails with:
* {scheme} - No scheme specified: ()[root@undercloud /]# su nova -s /bin/bash -c "/usr/bin/nova-manage cell_v2 create_cell --name=default --database_connection='{scheme}://{username}:{password}@{hostname}/nova?{query}' --transport-url='{scheme}://{username}:{password}@{hostname}:{port}/?{query}' --verbose" Invalid transport URL: No scheme specified * {port} - expects an int for the port: ()[root@undercloud /]# su nova -s /bin/bash -c "/usr/bin/nova-manage cell_v2 create_cell --name=default --database_connection='{scheme}://{username}:{password}@{hostname}/nova?{query}' --transport-url='rabbit://{username}:{password}@{hostname}:{port}/?{query}' --verbose" Invalid transport URL: invalid literal for int() with base 10: '{port}' ** 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/1812196 Title: when using templated cells urls, validation fails with create_cell when using {scheme} and {port} Status in OpenStack Compute (nova): New Bug description: When using templated cells urls as in https://docs.openstack.org/nova/rocky/user/cells.html#template-urls- in-cell-mappings , there is an issue with nova-manage parsing the transport url when we use {scheme} or {port}. The validation in nova- manage fails with: * {scheme} - No scheme specified: ()[root@undercloud /]# su nova -s /bin/bash -c "/usr/bin/nova-manage cell_v2 create_cell --name=default --database_connection='{scheme}://{username}:{password}@{hostname}/nova?{query}' --transport-url='{scheme}://{username}:{password}@{hostname}:{port}/?{query}' --verbose" Invalid transport URL: No scheme specified * {port} - expects an int for the port: ()[root@undercloud /]# su nova -s /bin/bash -c "/usr/bin/nova-manage cell_v2 create_cell --name=default --database_connection='{scheme}://{username}:{password}@{hostname}/nova?{query}' --transport-url='rabbit://{username}:{password}@{hostname}:{port}/?{query}' --verbose" Invalid transport URL: invalid literal for int() with base 10: '{port}' To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1812196/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp