cf703a6...
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.
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.
When configuration for 'access-network' is supplied, only the
lead unit in a cluster will present the correct network address
for access to the RMQ cluster; followers always present 'private-address'
as they echo out data from the peer relation or leader storage
on amqp relations, overriding the hostname and private-address
values with the return value of get_host_ip.
Pass 'amqp_relation=True' to get_host_ip to ensure that any supplied
configuration option is correctly used, or that for Juju 2.0, any
network space binding for the amqp relation is used.
This is resolved in master branch by a larger refactoring of the
resolution of addressing for the amqp and cluster relations.
There are two distinct DNS resolution problems. One, the nodename
reverse DNS resolution. And two, resolution of peers. This attempts
to fix both problems.
Nodename is only required when rabbitmq runs multiple instances on
the same host. Having this set complicates the DNS requirements.
Removing this setting may simplify the DNS problems this charm has
faced.
For peer resolution force the use of hostname rather than dynamically
attempting to resolve one from an IP. Set /etc/hosts with the local
hostname and with each peer.
Standardize the way an IPv4 or IPv6 address is selected throughout
the charm. Standardize the way a hostname is selected throughout the
charm.
Partial-Bug: 1584902
Change-Id: I105eb2684e61a553a52c5a944e8c562945e2a6eb
(cherry picked from commit 0c2f3e6b1b598df9a4dd5068b34b20bd38ef37fd)