Disable nova by default on undercloud

Depends-On: https://review.opendev.org/749678
Partial-Bug: #1891242
Change-Id: Ifa4a94a6958bc8f5d16d4016ba8d4a6e3ca6f647
This commit is contained in:
Rabi Mishra 2020-09-03 14:20:55 +05:30
parent 8284036721
commit 30bc8b15b0
3 changed files with 4 additions and 4 deletions

View File

@ -75,7 +75,7 @@ class UndercloudConfig(StandaloneConfig):
ironic=True,
ironic_inspector=True,
mistral=True,
nova=True,
nova=False,
novajoin=False,
tempest=True,
telemetry=False,

View File

@ -172,7 +172,7 @@ class TestUndercloudConfig(base.TestCase):
'enable_ironic': True,
'enable_ironic_inspector': True,
'enable_mistral': True,
'enable_nova': True,
'enable_nova': False,
'enable_novajoin': False,
'enable_telemetry': False,
'enable_tempest': True,

View File

@ -608,10 +608,10 @@ def prepare_undercloud_deploy(upgrade=False, no_validations=True,
_process_drivers_and_hardware_types(CONF, env_data)
_process_ipa_args(CONF, env_data)
if not CONF.get('enable_nova', True):
if CONF.get('enable_nova'):
deploy_args += [
'-e', os.path.join(
tht_templates, 'environments/undercloud-disable-nova.yaml')
tht_templates, 'environments/undercloud-enable-nova.yaml')
]
if CONF.get('enable_mistral'):