RETIRED, Lightweight composition layer for Puppet TripleO
Go to file
Michele Baldessari b706f5365a Make sure we create stonith resources before stonith levels
Currently stonith levels kind of work out of pure luck. If puppet
decides to reorder resources stonith levels can fail with:

            "Error: /Stage[main]/Tripleo::Fencing/Pacemaker::Stonith::Level[stonith-1-525400e05b23]/Pcmk_stonith_level[stonith-level-1-$(/usr/sbin/crm_node -n)-stonith-fence_ipmilan-525400e05b23]/ensure: change from absent to present failed: pcs -f /var/lib/pacemaker/cib/puppet-cib-backup20200305-60559-tn9ici create failed: Error: Stonith resource(s) 'stonith-fence_ipmilan-525400e05b23' do not exist, use --force to override"

Nowhere in the code do we mandate that the single stonith resources need
to be created *before* the stonith levels which make use of them.
Let's add a constraint via collectors so we enforce this ordering.

Tested on the environment that was not working and got a correctly
deployed IHA overcloud.

Change-Id: I78cb6ae21366a429b65a8357b3b267a485484a42
Closes-Bug: #1866214
2020-03-05 19:03:00 +01:00
doc Follow the new PTI for document build 2018-02-28 14:42:12 +08:00
files Add ceph dashboard frontend endpoint and tls-e integration 2020-01-30 12:37:52 +01:00
lib Explicitly convert stonith_level fact to int 2019-11-27 16:51:02 +01:00
manifests Make sure we create stonith resources before stonith levels 2020-03-05 19:03:00 +01:00
releasenotes Revert "Add replication_probe_interval for ovsdbs" 2020-03-04 14:18:05 +00:00
spec Remove wsgi enabled parameters in nova 2020-03-02 00:14:15 +09:00
templates Remove neutron wrappers 2019-11-15 12:22:02 +00:00
zuul.d remove tripleo-ci-centos-7-scenario010-multinode-oooq-container 2019-10-02 20:27:50 -06:00
.gitignore Dissuade .gitignore references to personal tools 2018-10-08 11:47:08 +08:00
.gitreview OpenDev Migration Patch 2019-04-19 19:35:27 +00:00
.sync.yml Initial msync run for all Puppet OpenStack modules 2015-08-18 14:30:54 +02:00
bindep.txt Add Puppet package to bindep, for module build 2017-10-27 13:50:15 -07: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
metadata.json Prepare u-2 release 2020-02-13 12:25:04 -05:00
Puppetfile_extras Pin puppet-collectd 2020-02-08 19:07:34 +09:00
Rakefile Composable HA 2017-01-25 19:32:31 +00:00
README.md Add release note link in README 2018-06-27 22:47:34 +08:00
setup.cfg Force to use markdown to prevent pypi issue 2019-07-01 20:45:00 +02:00
setup.py chmod +x setup.py 2017-10-06 12:28:56 -07:00
tox.ini Update min tox version to 2.0 2018-10-16 11:40:19 +08:00

Team and repository tags

Team and repository tags

puppet-tripleo

Lightweight composition layer for Puppet TripleO.

Contributing