Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Remove /etc/rabbitmq/rabbitmq.conf
Browse files Browse the repository at this point in the history
Currently the rabbitmq container image ships the default rabbitmq
ini-based conf file:
$ podman run -it --net=host --rm -uroot undercloud-0.ctlplane.bgp.ftw:8787/tripleomaster/openstack-rabbitmq:current-tripleo sh -c 'ls -l /etc/rabbitmq/'
  -rw-r--r--. 1 rabbitmq rabbitmq 32393 Mar 9 2020 rabbitmq.conf

$ podman run -it --net=host --rm -uroot undercloud-0.ctlplane.bgp.ftw:8787/tripleomaster/openstack-rabbitmq:current-tripleo sh -c 'head -n5 /etc/rabbitmq/rabbitmq.conf'
  # ======================================
  # RabbitMQ broker section
  # ======================================

  ## Related doc guide: https://rabbitmq.com/configure.html. See

In puppet we instead create /etc/rabbitmq/rabbitmq.config and it still
uses the erlang syntax.  See voxpupuli/puppet-rabbitmq#829 for info.
Even though /etc/rabbitmq/rabbitmq.config and its erlang syntax take
precedence over /etc/rabbitmq/rabbitmq.conf, we should prolly remove the
non used config format from the container

Closes-Bug: #1943731

Change-Id: I2b17c3bc930f5964e19c261db65f79593173fb95
(cherry picked from commit 049f9a9)
  • Loading branch information
mbaldessari committed Sep 17, 2021
1 parent f124c39 commit 6109c05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion container-images/tcib/base/rabbitmq/rabbitmq.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
tcib_actions:
- run: bash /usr/local/bin/uid_gid_manage {{ tcib_user }}
- run: dnf -y install {{ tcib_packages['common'] | join(' ') }} && dnf clean all && rm -rf /var/cache/dnf
- run: dnf -y install {{ tcib_packages['common'] | join(' ') }} && dnf clean all && rm -rf /var/cache/dnf && rm -f /etc/rabbitmq/rabbitmq.conf
- run: cp /usr/share/openstack-tripleo-common-containers/container-images/kolla/rabbitmq/extend_start.sh /usr/local/bin/kolla_extend_start
- run: chmod 755 /usr/local/bin/kolla_extend_start
- run: ln -s /usr/share/openstack-tripleo-common/healthcheck/rabbitmq /openstack/healthcheck && chmod a+rx /openstack/healthcheck
Expand Down

0 comments on commit 6109c05

Please sign in to comment.