rabbitmq 3.8 container shipds default ini-style conf file

Bug #1943731 reported by Michele Baldessari
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Michele Baldessari

Bug Description

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/'
total 32
-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 https://github.com/voxpupuli/puppet-rabbitmq/issues/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

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
Michele Baldessari (michele) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (master)

Reviewed: https://review.opendev.org/c/openstack/tripleo-common/+/809207
Committed: https://opendev.org/openstack/tripleo-common/commit/049f9a9659d09248f3b15d4e152de8d9323b6c6d
Submitter: "Zuul (22348)"
Branch: master

commit 049f9a9659d09248f3b15d4e152de8d9323b6c6d
Author: Michele Baldessari <email address hidden>
Date: Wed Sep 15 17:19:47 2021 +0200

    Remove /etc/rabbitmq/rabbitmq.conf

    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 https://github.com/voxpupuli/puppet-rabbitmq/issues/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

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (stable/wallaby)

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/tripleo-common/+/809498

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/tripleo-common/+/809498
Committed: https://opendev.org/openstack/tripleo-common/commit/6109c05fda1c246b1c780ede13644a90a913146b
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit 6109c05fda1c246b1c780ede13644a90a913146b
Author: Michele Baldessari <email address hidden>
Date: Wed Sep 15 17:19:47 2021 +0200

    Remove /etc/rabbitmq/rabbitmq.conf

    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 https://github.com/voxpupuli/puppet-rabbitmq/issues/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 049f9a9659d09248f3b15d4e152de8d9323b6c6d)

tags: added: in-stable-wallaby
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-common 16.2.0

This issue was fixed in the openstack/tripleo-common 16.2.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-common 15.4.0

This issue was fixed in the openstack/tripleo-common 15.4.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.