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
This commit is contained in:
Maysa Macedo 2019-09-08 20:57:55 +02:00 committed by Maysa de Macedo Souza
parent 34439895e3
commit 027247329d

View File

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