Implements: blueprint rabbitmq-dns-discovery
Some useful things to note:
1. This uses a StatefulSet instead of a Deployment. The reason for this
is that when RabbitMQ uses DNS for peer discovery, the first thing it
does when trying to join a node is attempt a reverse-dns lookup.
This reverse lookup works when using a StatefulSet, but not a
Deployment.
2. The RabbitMQ configuration was updated to use the new sysctl-style
format. It seems that the new format is required to configure the
new autoclustering features. Additionally, I found that this
generate much clearer error messages than the straight erlang format.
3. I removed the `is-node-properly-clustered` test in the liveness and
readiness probes. This probe isn't directly supported in 3.7.0,
and it wasn't clear that a clustering check was appropriate for each
node.
Change-Id: Ieefbb2205bd77fbac04abcd051fb06fce62e8d97
* As of helm 2.0.0, it no longer seems necessary to
copy a "globals.tpl" into each child chart, defines in
child charts now seem to be reliably rendered in the
parent. This was not working correctly in 2.0.0rc2
and so after a lot of testing, the globals define
insertion has been removed from the Makefiles. Also,
includes piped to b64encode are working now, meaning
we no longer have to do Makefile magic to base64
encode successfully. That has been removed. Once
.Files.Get works properly in a child chart context
we can remove all Make help.
* The openstack-base chart has been renamed to common
to better reflect that it is common to everything in
aic-helm, even non-openstack projects like ceph. All
charts now include it as a requirement.
* A first pass at a "cleaner" template directory approach
has been applied to rabbitmq as a test chart. This allows
files such as _start_rabbit to live in their raw form
and organizes files by config vs script in 'etc' or 'bin'
directories. If accepted, will apply to all other charts
for consistency.