Remove masquerade-networks-baremetal-puppet inclusion

This service is now deprecated, and everything is managed in
tripleo-ansible/tripleo_firewall automatically.

We keep the _generate_masquerade_networks() method, since it adds some
intelligence and prevent the need for the user to actually set it -
therefore, we keep the automation based on the
undercloud.conf/<subnet>/masquerade=true

Change-Id: I09744be1f4766a2a8241bfa79095fa97ea82c602
This commit is contained in:
Cédric Jeanneret 2022-04-07 06:33:12 +02:00 committed by Cedric Jeanneret
parent 3cba633899
commit 97a155ea28
3 changed files with 11 additions and 7 deletions

View File

@ -0,0 +1,11 @@
---
upgrade:
- |
The operator cannot override the masquerade_networks using
hieradata_override in the undercloud.conf.
They now must provide a custom env file, using custom_env_file and passing
the hash through MasqueradeNetworks parameter.
deprecations:
- |
hieradata "tripleo::masquerade_networks::masquerade_networks" has no
effect anymore.

View File

@ -353,9 +353,6 @@ class TestUndercloudInstall(TestPluginV1):
'/usr/share/openstack-tripleo-heat-templates/environments/'
'use-dns-for-vips.yaml', '-e',
'/home/stack/foo.yaml', '-e',
'/usr/share/openstack-tripleo-heat-templates/'
'environments/services/masquerade-networks.yaml',
'-e',
'/usr/share/openstack-tripleo-heat-templates/environments/'
'services/ironic.yaml', '-e',
'/usr/share/openstack-tripleo-heat-templates/environments/'

View File

@ -587,10 +587,6 @@ def prepare_undercloud_deploy(upgrade=False, no_validations=True,
# later into other deployment artifacts and user-provided files.
_container_images_config(CONF, deploy_args, env_data, tempdir)
if env_data['MasqueradeNetworks']:
deploy_args += ['-e', os.path.join(
tht_templates, "environments/services/masquerade-networks.yaml")]
if CONF.get('enable_keystone'):
deploy_args += ['-e', os.path.join(
tht_templates, "environments/undercloud-enable-keystone.yaml")]