Comment 6 for bug 1791077

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

Reviewed: https://review.openstack.org/601074
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=5ca991aba3b80d4d037c7d292ddc9d7762a67f0a
Submitter: Zuul
Branch: stable/rocky

commit 5ca991aba3b80d4d037c7d292ddc9d7762a67f0a
Author: Michele Baldessari <email address hidden>
Date: Thu Sep 6 14:16:52 2018 +0200

    Disable external plugins in rabbitmq container

    We are doing this in the rabbit kolla container in tripleo:
    {% block rabbitmq_install_plugins %}

    RUN rm -rf /var/lib/rabbitmq/* \
        && ln -s /usr/lib/rabbitmq/lib/rabbitmq_server-3.6.* /usr/lib/rabbitmq/lib/rabbitmq_server-3.6 \
        && curl -o /usr/lib/rabbitmq/lib/rabbitmq_server-3.6/plugins/rabbitmq_clusterer-3.6.x-667f92b0.ez http://www.rabbitmq.com/community-plugins/v3.6.x/rabbitmq_clusterer-3.6.x-667f92b0.ez \
        && /usr/lib/rabbitmq/bin/rabbitmq-plugins enable --offline \
           rabbitmq_management \
           rabbitmq_clusterer

    {% endblock %}

    We should disable this as:
    a) this is unwanted
    b) we want to use only plugins shipped with rpm
    c) we do not use those two plugins anyway

    We do this by simply overriding the "rabbitmq_install_plugins" to a
    comment.

    Change-Id: I14f0f778d21b0d2a27d6e02468dac2cc1c8f25f7
    Closes-Bug: #1791077
    (cherry picked from commit 699d5002ccf43f8f20594116b9e5e0ea3b2d6d18)