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
(cherry picked from commit 027247329d)
This commit is contained in:
Maysa Macedo 2019-09-08 20:57:55 +02:00 committed by Maysa de Macedo Souza
parent 9e9c209cf5
commit 41e696464b
1 changed files with 1 additions and 1 deletions

View File

@ -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',