commit 44e12db8420da9cea8cb23f3b0fabed2d1e0278b
Author: Dan Smith <email address hidden>
Date: Tue Oct 16 09:58:29 2018 -0700
Fix formatting non-templated cell URLs with no config
If transport_url or connection are unset in config, we will fail to format
even non-templated cell mapping URLs due to an overly specific check in the
format routines. This fixes it by always bailing on templating if the config
is unset, and keeping the error message if we were unable to format a
template as a result.
Change-Id: I760580b8e6594be2bee99a5b825a690b07ab9deb
Closes-Bug: #1798158
(cherry picked from commit 133d6b3bcc26bb2e66ef303011280e38add00702)
Reviewed: https:/ /review. openstack. org/611327 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=44e12db8420 da9cea8cb23f3b0 fabed2d1e0278b
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit 44e12db8420da9c ea8cb23f3b0fabe d2d1e0278b
Author: Dan Smith <email address hidden>
Date: Tue Oct 16 09:58:29 2018 -0700
Fix formatting non-templated cell URLs with no config
If transport_url or connection are unset in config, we will fail to format
even non-templated cell mapping URLs due to an overly specific check in the
format routines. This fixes it by always bailing on templating if the config
is unset, and keeping the error message if we were unable to format a
template as a result.
Change-Id: I760580b8e6594b e2bee99a5b825a6 90b07ab9deb e66ef303011280e 38add00702)
Closes-Bug: #1798158
(cherry picked from commit 133d6b3bcc26bb2