Browse Source

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
changes/85/680885/5
Maysa Macedo 1 week ago
parent
commit
027247329d
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      kuryr/lib/config.py

+ 1
- 1
kuryr/lib/config.py View File

@@ -56,7 +56,7 @@ neutron_opts = [
56 56
                default=0,
57 57
                help=_("Seconds to wait for port to become active")),
58 58
     cfg.StrOpt('region_name',
59
-               default='RegionOne',
59
+               default=None,
60 60
                help=_('Region name of the neturon endpoint to use.')),
61 61
     cfg.StrOpt('endpoint_type',
62 62
                default='public',

Loading…
Cancel
Save