f439979...
by
OpenDev Sysadmins <email address hidden>
OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:
Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.
This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.
This update should result in no functional change.
Currently each and every hook executed results in a sweep of all
amqp relations and their related units to ensure config consistency
both in rabbit and for remote units. This scales very poorly since
rabbtimqctl commands take a while to complete and the majority of
the time they are not needed. This patch aims to reduce the impact
of performing this set of operations and the amount of time it takes
to do them.
Change-Id: Ia060ce34052cd543a63d045944b35e4188279f05
Closes-Bug: 1698340
(cherry picked from commit da3a7063bbcf0c262957149d5c6c2fa3d0525599)
When forming the cluster the leader node (defined by
leader_node_hostname) is the one that won't join a cluster, all the
other peers will join this leader, this prevented the leader from
setting the clustered attribute in the cluster relation.
This patch makes all the units to run the cluster_with() function
and cluster_with() skips 'rabbitmqctl join_cluster' for the nodes
already present in the running section of 'rabbitmqctl cluster_status'
and sets the clustered attribute if it hasn't been set already.
Also cluster_with() is called within the upgrade-charm hook to allow
existing deployments set the attribute if needed.
Revision 708 from lp:charm-helpers needed to allow functional tests execute
'juju actions'.
Change-Id: I234046de279e1c28f7ad640c2cd7c641e864525b
Closes-Bug: 1691510
(cherry picked from commit 6a66fd16124c60d056fc710c1f47df6855c8ba1e)
By default, the management plugin collects statistics every 5 seconds.
This modifies it to 30s in order to alleviate memory pressure. This
value is only considered when the management plugin is enabled.
For rabbitmq-server version 3+ (Trusty and above) the managment
port is 15672, however the charm exposes the old port 55672. This
change fixes that behaviour. Fwiw the amulet tests are already
expecting the managment interface to be 15672 but tests run with the
OpenStack providor and would have missed that this port was not
being exposed.