From 027247329dcbcc300ebbc29f5571ddb8574cd1cf Mon Sep 17 00:00:00 2001 From: Maysa Macedo Date: Sun, 8 Sep 2019 20:57:55 +0200 Subject: [PATCH] Fix default region name definition This commit sets the default value of the region_name to 'None' in the config, this way its avoided the use of a region name that might not exists on the OpenStack cloud. Closes-Bug: 1843194 Change-Id: Ic9deca9cb073b5458f5aa063f669b30ae2568f30 --- kuryr/lib/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kuryr/lib/config.py b/kuryr/lib/config.py index 611e733a..9d6d3a05 100644 --- a/kuryr/lib/config.py +++ b/kuryr/lib/config.py @@ -56,7 +56,7 @@ neutron_opts = [ default=0, help=_("Seconds to wait for port to become active")), cfg.StrOpt('region_name', - default='RegionOne', + default=None, help=_('Region name of the neturon endpoint to use.')), cfg.StrOpt('endpoint_type', default='public',