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 3 years ago committed by Maysa de Macedo Souza
parent 34439895e3
commit 027247329d
  1. 2
      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',

Loading…
Cancel
Save