RETIRED, Lightweight composition layer for Puppet TripleO
Go to file
Michele Baldessari 1bd793630d Fix up the rabbitmq-ready check
So the current rabbitmq-ready exec has a few unexpected problems:

1) The notify mechanism is not being called, but after discussion
we're comfortable in calling this all the time, just like we do this
for galera.
2) Calling rabbitmqctl inside a container is problematic because
the mere invocation of the cluster_status command will actually
spawn an epmd process which will take the epmd port and which will
subsequently make the rabbitmq-bundle started by pacemaker fail to
form a cluster.

For this reason (working around the rabbitmqctl issue is potentially
doable once we upgrade to erlang 19.x but not with older versions)
it is vital that this container gets spawned with /bin/epmd nooped
to /bin/true.

We now only proceed after rabbit tells us that it is part of a cluster.
Just checking for rabbit being up is not enough because if the user gets
created before the node joins a cluster, it might not be replicated
(depending on the timing).

Partial-Bug: #1739026

Co-Authored-By: Damien Ciabrini <dciabrin@redhat.com>
Co-Authored-By: John Eckersberg <jeckersb@redhat.com>
Change-Id: I54c541d86782665ae0f689428a16edc155f87993
Depends-On: Ie74a13a6c8181948900ea0de8ee9717f76f3ce79
(cherry picked from commit 2f33d74173)
2017-12-20 21:25:17 -08:00
files Add manifests to install and configure stunnel 2017-08-31 14:10:30 +00:00
lib Merge "Contrail: Fix controlplane/dataplane network asignments & enable optional dpdk" 2017-07-14 23:44:24 +00:00
manifests Fix up the rabbitmq-ready check 2017-12-20 21:25:17 -08:00
releasenotes Include swift base class in the proxy class 2017-11-20 23:11:55 +00:00
spec Update cephx keys with ACLs for openstack services. 2017-12-14 15:18:04 +01:00
templates Fix logrotate containers log 2017-11-14 07:31:31 +00:00
zuul.d Migrate puppet-tripleo to zuul v3 jobs 2017-11-18 19:16:53 +00:00
.gitignore Update gitignore not to exclude fixture hieradata 2017-05-17 14:45:35 -06:00
.gitreview Update .gitreview for stable/pike 2017-08-24 21:04:51 +00:00
.sync.yml Initial msync run for all Puppet OpenStack modules 2015-08-18 14:30:54 +02:00
Gemfile Update tox configuration 2017-05-17 17:04:02 +00:00
LICENSE Add basic structure for a Puppet module 2015-02-02 11:39:21 -05:00
Puppetfile_extras Puppetfile: pin puppetlabs-haproxy to 1.5 (latest pike) 2017-11-21 17:56:52 +00:00
README.md Update link addresses in README.md 2017-08-03 14:22:29 +08:00
Rakefile Composable HA 2017-01-25 19:32:31 +00:00
bindep.txt [pike] Add Puppet package to bindep, for module build 2017-10-27 13:50:47 -07:00
metadata.json Update cephx keys with ACLs for openstack services. 2017-12-14 15:18:04 +01:00
setup.cfg Changed author 2017-06-12 21:07:57 +07:00
setup.py Add basic structure for ReNo 2016-12-03 13:16:33 +00:00
test-requirements.txt Update openstackdocstheme>=1.16.0 2017-07-31 11:04:17 +08:00
tox.ini Update UPPER_CONSTRAINTS_FILE for stable/pike 2017-08-24 21:04:52 +00:00

README.md

Team and repository tags

Team and repository tags

puppet-tripleo

Lightweight composition layer for Puppet TripleO.

Contributing