This changes leverages the rabbitmq management plugin to dump
exchanges, queues, bindings, users, virtual hosts, permissions and
parameters from the running system. Specifically this change adds the
following:
* The dumping rabbitMQ definitions (users/vhosts/exchanges/etc) during
the end of the deployment
* The possibility to restore definitions to the rabbitmq-server ocf
script during rabbitMQ startup.
* Enabled rabbitmq admin plugin, but restricts it to localhost traffic.
This reverts Ic01c26200f6019a8112b1c5fb04a282e64b3b3e6 but adds
firewall rules to mitigate the issue.
DocImpact: The dump_rabbit_definitions task can be used to backup the
rabbitmq definitions and if custom definitions (users/vhosts/etc) are
created it must be run or the changes may be lost during the rabbitmq
failover via pacemaker.
Reviewed: https:/ /review. openstack. org/132967 /git.openstack. org/cgit/ stackforge/ fuel-library/ commit/ ?id=8ccdfc62152 de8212ba6a0aeed 45c1e3677c70a4
Committed: https:/
Submitter: Jenkins
Branch: master
commit 8ccdfc62152de82 12ba6a0aeed45c1 e3677c70a4
Author: Stanislav Makar <email address hidden>
Date: Thu Apr 16 14:32:51 2015 +0000
Implement the dumping of rabbitMQ definitions
This changes leverages the rabbitmq management plugin to dump
exchanges, queues, bindings, users, virtual hosts, permissions and
parameters from the running system. Specifically this change adds the
following:
* The dumping rabbitMQ definitions (users/ vhosts/ exchanges/ etc) during a8112b1c5fb04a2 82e64b3b3e6 but adds
the end of the deployment
* The possibility to restore definitions to the rabbitmq-server ocf
script during rabbitMQ startup.
* Enabled rabbitmq admin plugin, but restricts it to localhost traffic.
This reverts Ic01c26200f6019
firewall rules to mitigate the issue.
DocImpact: The dump_rabbit_ definitions task can be used to backup the
rabbitmq definitions and if custom definitions (users/vhosts/etc) are
created it must be run or the changes may be lost during the rabbitmq
failover via pacemaker.
Change-Id: I715f7c2ae527f7 e105b9f6b7d82c4 43e8accf178
Closes-bug: #1383258
Related-bug: #1450443
Co-Authored-By: Alex Schultz <email address hidden>