Merge "undercloud: configure ContainerImagePrepareDebug based on undercloud_debug"
This commit is contained in:
commit
1e6c2f0803
|
@ -264,7 +264,8 @@ class UndercloudConfig(StandaloneConfig):
|
|||
default=True,
|
||||
help=_(
|
||||
'Whether to enable the debug log level for '
|
||||
'Undercloud OpenStack services.')
|
||||
'Undercloud OpenStack services and Container '
|
||||
'Image Prepare step.')
|
||||
),
|
||||
cfg.BoolOpt('undercloud_enable_selinux',
|
||||
default=True,
|
||||
|
|
|
@ -371,6 +371,8 @@ def prepare_undercloud_deploy(upgrade=False, no_validations=False,
|
|||
|
||||
env_data['PythonInterpreter'] = sys.executable
|
||||
|
||||
env_data['ContainerImagePrepareDebug'] = CONF['undercloud_debug']
|
||||
|
||||
for param_key, param_value in PARAMETER_MAPPING.items():
|
||||
if param_key in CONF.keys():
|
||||
env_data[param_value] = CONF[param_key]
|
||||
|
|
Loading…
Reference in New Issue