RETIRED, Lightweight composition layer for Puppet TripleO
Go to file
Michele Baldessari 051e05a91d Make the rabbitmq-ready exec more stringent
Currently we use the following command to determine if rabbit is
up and running *and* ready to service requests:
rabbitmqctl eval "rabbit_mnesia:is_clustered()." | grep -q true

Now we have occasionally observed that rabbitmqctl policies commands
which are executed after said exec['rabbitmq-ready'] will fail.

One potential reason is that is_clustered() can return true *before*
the rabbit app is actually running. In fact we can see it does
return true even though the app is stopped:
()[root@controller-1 /]$ rabbitmqctl stop_app
Stopping rabbit application on node rabbit@controller-1 ...
()[root@controller-1 /]$ rabbitmqctl eval 'rabbit_mnesia:is_clustered().'
true

Let's switch to a combination of commands that check for the cluster to
be up *and* the rabbitmq app to be running:
()[root@controller-1 /]$ rabbitmqctl stop_app
Stopping rabbit application on node rabbit@controller-1 ...
()[root@controller-1 /]$ rabbitmqctl eval 'rabbit_nodes:is_running(node(), rabbit).'
false

Suggested-By: Bogdan Dobrelya <bdobreli@redhat.com>
Closes-Bug: #1835615

Change-Id: I29f779145a39cd16374a91626f7fae1581a18224
2019-08-20 06:53:04 +00:00
files neutron dhcpd: Add script for certmonger postsave_cmd 2019-02-14 11:22:35 +01:00
lib Fix interface_for_ip for newer facter versions 2019-07-08 09:32:50 -06:00
manifests Make the rabbitmq-ready exec more stringent 2019-08-20 06:53:04 +00:00
releasenotes Merge "Add support for Ironic Networking Baremetal" into stable/queens 2019-08-16 18:47:04 +00:00
spec mysql/client: create tripleo.cnf everytime 2019-08-09 13:01:43 -04:00
templates Add dateext and related parameters for logrotate 2019-07-16 00:50:02 +00:00
zuul.d Remove scenario008 jobs 2019-06-13 22:58:13 +00:00
.gitignore Update gitignore not to exclude fixture hieradata 2017-05-17 14:45:35 -06:00
.gitreview OpenDev Migration Patch 2019-04-19 19:35:29 +00:00
.sync.yml Initial msync run for all Puppet OpenStack modules 2015-08-18 14:30:54 +02:00
Gemfile Load puppet-openstack_spec_helper locally during tests 2018-02-12 10:53:40 +08:00
LICENSE Add basic structure for a Puppet module 2015-02-02 11:39:21 -05:00
Puppetfile_extras Fix ntp module version to an existing tag/branch 2019-04-09 09:28:12 +02:00
README.md Update the doc link 2017-12-16 02:49:05 +00:00
Rakefile Composable HA 2017-01-25 19:32:31 +00:00
bindep.txt Add Puppet package to bindep, for module build 2017-10-27 13:50:15 -07:00
metadata.json Release 8.5.0 (queens) 2019-06-18 10:55:50 -04:00
setup.cfg Fixes license to explicitly be Apache 2.0 2017-10-09 11:06:29 -04:00
setup.py chmod +x setup.py 2017-10-06 12:28:56 -07:00
test-requirements.txt Remove pinned versions from test-requirements.txt 2018-01-16 12:29:50 +08:00
tox.ini Update UPPER_CONSTRAINTS_FILE for stable/queens 2018-03-03 11:40:56 +00:00

README.md

Team and repository tags

Team and repository tags

puppet-tripleo

Lightweight composition layer for Puppet TripleO.

Contributing