charm-rabbitmq-server:stable/16.04

Last commit made on 2019-04-19
Get this branch:
git clone -b stable/16.04 https://git.launchpad.net/charm-rabbitmq-server

Branch merges

Branch information

Name:
stable/16.04
Repository:
lp:charm-rabbitmq-server

Recent commits

1ed9c10... 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:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

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.

cd122b0... by Ian Wienand

Replace openstack.org git:// URLs with https://

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.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: I471c282feabcaed8438c6f8fa3482612b92a5ca9

c200f4f... by James Page

Ensure rabbit hosts are resolvable

The update_hosts_file function requires a full map of entries to
write into /etc/hosts; the previous use of this function tried
to write individual host entries only.

Ensure that a full map of self + peers is written at appropriate
points in a units lifecycle to ensure self and peer hostname
resolvability.

(also fixed a typo in a status message)

Change-Id: If40b31a55641861a1e03985f318e012b545fcc25
Closes-Bug: 1592200
Closes-Bug: 1590085
(cherry picked from commit 0ded449e8d32428baf7992cfc6999f82e9996c1a)

6b858cb... by Jenkins <email address hidden>

Merge "Resync stable charm helpers" into stable/16.04

284bd30... by James Page

Refactor hostname resolution via DNS

Due to oddities in the way that DNS used to work on older MAAS
versions, specifically when using LXC containers, the charm
would endeavour to discover a full forward/reverse resolvable
hostname/ip address to use when clustering with peers, and to
set the internal nodename for each RMQ instance.

Changes in MAAS 2.0 mean that an IP address may resolve to more
than 1 DNS record, making identification via DNS of the FQDN
problematic.

The charm actively manages /etc/hosts with IP address/hostname for
all peer units in a RMQ cluster using the cluster relation; make
use of this feature to allow the internal nodename of each unit
to actually be the hostname of the server, as the charm is ensuring
the resolvability of hostnames within the cluster.

To avoid races where the lead unit has not had its hostname written
to /etc/hosts, only cluster with the lead unit in the hook execution
where this actually happens.

Change-Id: Ia400c3b6e2cb1a5f2ee6f5fe98b5437033e02024
Closes-Bug: 1584902
(cherry picked from commit 7ffdcd204e6550cf5dcad57ed07ea302c1eedcce)

06c8adf... by James Page

Resync stable charm helpers

Change to is_ip to correctly detects both IPv4 and IPv6 addresses,
resolving problems when Juju presents an IPv6 based private-address
back to the charm.

Change-Id: I22360c7e2338a76021d3947816ff2e8a92fe814a
Closes-Bug: 1574844

b6d4717... by James Page

Resync stable charm-helpers

Avoid use of 'service --status-all' which is currently
broken on trusty for upstart managed daemons; the change
moves to detecting how the daemon is managed, and then
using upstart status XXX or the return code of service XXX
status to determine whether a process is running.

Fixes for IPv6 network address detection under Ubuntu
16.04 which changes the output format of the ip commands
slightly.

Update the version map to include 8.1.x as a Neutron
version for Mitaka.

Change-Id: I0c98712ef53ce5e3c52f85c9a6c1fff5b248b6a4
Closes-Bug: 1581171
Closes-Bug: 1581598
Closes-Bug: 1580674

afc1adb... by James Page

Updates for stable branch creation

Set defaultbranch for git review/gerrit.

Switch amulet tests to stable.

Switch to using stable charm-helpers branch.

Change-Id: I831bbfc2bc6b41e2db21a26f0b908cbb471cb948

cfa9c46... by David Ames

Do not check for rabbit user before installed

The charm was trying to lookup the rabbit user before rabbitmq-server
was installed. Check for installation state before doing so.

Change-Id: I25eb8e26d3e01b13e13205a41e4f1f2e924d96f7
Closes-Bug: #1570970

fee1d82... by Liam Young

Fix pbr requirement

Change-Id: I508ff26eaa14b17a9ba3f9ff10b82758da01340a