From 699d5002ccf43f8f20594116b9e5e0ea3b2d6d18 Mon Sep 17 00:00:00 2001 From: Michele Baldessari Date: Thu, 6 Sep 2018 14:16:52 +0200 Subject: [PATCH] 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 --- container-images/tripleo_kolla_template_overrides.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/container-images/tripleo_kolla_template_overrides.j2 b/container-images/tripleo_kolla_template_overrides.j2 index a868fa21c..06f4fb723 100644 --- a/container-images/tripleo_kolla_template_overrides.j2 +++ b/container-images/tripleo_kolla_template_overrides.j2 @@ -513,6 +513,10 @@ RUN mkdir -p /openstack && \ chmod a+rx /openstack/healthcheck {% endblock %} +{% block rabbitmq_install_plugins %} +# External rabbitmq plugins installation is disabled +{% endblock %} + {% set rabbitmq_packages_append = [ 'pacemaker', 'pacemaker-remote', 'pcs', 'libqb', 'resource-agents'] %} {% block rabbitmq_footer %}