← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1812196] Re: when using templated cells urls, validation fails with create_cell when using {scheme} and {port}

 

** Changed in: nova
   Importance: Undecided => Medium

** Changed in: nova
   Importance: Medium => Critical

** Changed in: nova
   Importance: Critical => Medium

** Also affects: nova/rocky
   Importance: Undecided
       Status: New

** Changed in: nova/rocky
       Status: New => Confirmed

** Changed in: nova/rocky
   Importance: Undecided => Medium

-- 
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):
  In Progress
Status in OpenStack Compute (nova) rocky series:
  Confirmed

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


References