tcib_actions:
- run: bash /usr/local/bin/uid_gid_manage swift
- run: dnf -y install {{ tcib_packages['common'] | join(' ') }} && dnf clean all && rm -rf /var/cache/dnf
- run: cp /usr/share/openstack-tripleo-common-containers/container-images/kolla/swift-base/swift-rootwrap /usr/bin/swift-rootwrap
- run: cp /usr/share/openstack-tripleo-common-containers/container-images/kolla/swift-base/swift-sudoers /etc/sudoers.d/swift-sudoers
- run: chmod 755 /usr/bin/swift-rootwrap && chmod 440 /etc/sudoers.d/swift-sudoers
- run: touch /etc/swift/rootwrap.conf && chmod 644 /etc/swift/rootwrap.conf && crudini --set /etc/swift/rootwrap.conf DEFAULT filters_path /etc/swift/rootwrap.d,/usr/share/swift/rootwrap && crudini --set /etc/swift/rootwrap.conf DEFAULT exec_dirs /sbin,/usr/sbin,/bin,/usr/bin && crudini --set /etc/swift/rootwrap.conf DEFAULT use_syslog False && crudini --set /etc/swift/rootwrap.conf DEFAULT syslog_log_facility syslog && crudini --set /etc/swift/rootwrap.conf DEFAULT syslog_log_level ERROR
tcib_packages:
  common:
  - nmap-ncat
  - openstack-swift

tcib_actions:
- run: bash /usr/local/bin/uid_gid_manage swift
- run: dnf -y install {{ tcib_packages['common'] | join(' ') }} && dnf clean all && rm -rf /var/cache/dnf
- run: cp /usr/share/openstack-tripleo-common-containers/container-images/kolla/swift-base/swift-rootwrap /usr/bin/swift-rootwrap
- run: cp /usr/share/openstack-tripleo-common-containers/container-images/kolla/swift-base/swift-sudoers /etc/sudoers.d/swift-sudoers
- run: chmod 755 /usr/bin/swift-rootwrap && chmod 440 /etc/sudoers.d/swift-sudoers
- run: touch /etc/swift/rootwrap.conf && chmod 644 /etc/swift/rootwrap.conf && crudini --set /etc/swift/rootwrap.conf DEFAULT filters_path /etc/swift/rootwrap.d,/usr/share/swift/rootwrap && crudini --set /etc/swift/rootwrap.conf DEFAULT exec_dirs /sbin,/usr/sbin,/bin,/usr/bin && crudini --set /etc/swift/rootwrap.conf DEFAULT use_syslog False && crudini --set /etc/swift/rootwrap.conf DEFAULT syslog_log_facility syslog && crudini --set /etc/swift/rootwrap.conf DEFAULT syslog_log_level ERROR
tcib_packages:
  common:
  - nmap-ncat
  - openstack-swift
  - rsync-daemon

Add rsync-daemon to swift container
Add rsync-daemon to swift container

https://review.opendev.org/c/openstack/tripleo-ci/+/843787
switches the container base image from cs9 to ubi9.

The standalone deployment is failing while configuring
swift in container-puppet-swift container while installing
rsync-daemon.

Adding rsync-daemon for the swift container fixes the issue.

Closes-Bug: #1979204

Signed-off-by: Chandan Kumar (raukadah) <37614c4f126be5146599b9d19fe2ba37ae0ea495@redhat.com>
Change-Id: I782dd3d0d603bc0bc6d7cdebb6ed26e776d1562b
