Merge "Normalize cloud config before osc-lib call"
This commit is contained in:
commit
ba57e4f509
|
@ -1050,6 +1050,7 @@ class OpenStackConfig(object):
|
||||||
config[key] = val
|
config[key] = val
|
||||||
|
|
||||||
config = self.magic_fixes(config)
|
config = self.magic_fixes(config)
|
||||||
|
config = self._normalize_keys(config)
|
||||||
|
|
||||||
# NOTE(dtroyer): OSC needs a hook into the auth args before the
|
# NOTE(dtroyer): OSC needs a hook into the auth args before the
|
||||||
# plugin is loaded in order to maintain backward-
|
# plugin is loaded in order to maintain backward-
|
||||||
|
@ -1092,7 +1093,7 @@ class OpenStackConfig(object):
|
||||||
return cloud_config.CloudConfig(
|
return cloud_config.CloudConfig(
|
||||||
name=cloud_name,
|
name=cloud_name,
|
||||||
region=config['region_name'],
|
region=config['region_name'],
|
||||||
config=self._normalize_keys(config),
|
config=config,
|
||||||
force_ipv4=force_ipv4,
|
force_ipv4=force_ipv4,
|
||||||
auth_plugin=auth_plugin,
|
auth_plugin=auth_plugin,
|
||||||
openstack_config=self,
|
openstack_config=self,
|
||||||
|
|
Loading…
Reference in New Issue