Fix swift "Could not enable rsyncd" error

The inclusing of rsync::server as a tag makes it error out as follows:
2021-10-04T08:43:54.486557677+00:00 stderr F <13>Oct 4 08:43:54 puppet-user: Debug: Executing: '/usr/bin/systemctl is-enabled -- rsyncd'
2021-10-04T08:43:54.495188022+00:00 stderr F <13>Oct 4 08:43:54 puppet-user: Debug: Executing: '/usr/bin/systemctl unmask -- rsyncd'
2021-10-04T08:43:54.502673716+00:00 stderr F <13>Oct 4 08:43:54 puppet-user: Debug: Executing: '/usr/bin/systemctl enable -- rsyncd'
2021-10-04T08:43:54.511733823+00:00 stderr F <13>Oct 4 08:43:54 puppet-user: Error: Could not enable rsyncd:

Let's make sure we noop the service completely. I believe this started
showing on my CS9 env after 8f6a965871

Tested and am able to deploy successfully again.

Depends-On: https://review.opendev.org/c/openstack/puppet-tripleo/+/812338

Closes-Bug: #1945962
Change-Id: Ic39c146ca23a1adb85bb0b3a2119c37176eba332
This commit is contained in:
Michele Baldessari 2021-10-04 11:20:59 +02:00
parent 5640a60086
commit 512ba5ed42
1 changed files with 2 additions and 0 deletions

View File

@ -229,6 +229,7 @@ outputs:
swift::storage::cron::recon::weekday: {get_param: SwiftReconCronWeekday}
service_config_settings: {}
# BEGIN DOCKER SETTINGS
# (bandini) - We can remove the xinetd noop lines once Centos8 is not supported anymore
puppet_config:
config_volume: swift
puppet_tags: swift_config,swift_container_config,swift_container_sync_realms_config,swift_account_config,swift_object_config,swift_object_expirer_config,rsync::server
@ -237,6 +238,7 @@ outputs:
- "\n"
- - "class xinetd() {}"
- "define xinetd::service($bind='',$port='',$server='',$server_args='') {}"
- "noop_resource('service')"
- "include tripleo::profile::base::swift::storage"
config_image: {get_param: ContainerSwiftConfigImage}
kolla_config: