puppet-tripleo/manifests
Michele Baldessari cbf11f05d4 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
(cherry picked from commit b706f5365a)
(cherry picked from commit dd44d1552b)
2020-03-11 21:13:28 +00:00
..
certmonger Qdr: InternalTLS support. 2019-03-28 16:28:05 -04:00
cluster Modify cassandra dependency 2015-12-14 14:15:15 +00:00
firewall Quote the hiera dot notation 2019-06-18 11:29:23 +00:00
haproxy Ensure we set $haproxy_firewall_rules variable 2019-08-08 17:57:54 +00:00
host Configure switchedv while there is no vfs bounded 2019-01-08 07:08:09 +00:00
network Implements: liquidio-containerization 2018-09-28 12:10:47 +05:30
pacemaker Allow VIP resource to have customized ops 2018-09-03 06:22:44 +00:00
packages packages: run upgrade at 'setup' stage 2016-10-14 18:17:30 -04:00
profile Merge "Add short node name override support to manila" into stable/stein 2020-01-22 01:12:20 +00:00
releasenotes/notes New profile to configure libvirt-guests on compute host 2018-07-13 17:42:24 +02:00
stunnel Force stunnel to use TLSv1.2 2018-04-19 13:31:46 +00:00
fencing.pp Make sure we create stonith resources before stonith levels 2020-03-11 21:13:28 +00:00
firewall.pp Ensure we get a clean firewall 2019-01-23 15:40:16 +01:00
haproxy.pp Allow mysql haproxy stanza do be customized 2020-01-10 17:31:58 +00:00
init.pp Implement firewalling in tripleo::firewall 2015-07-15 11:58:46 +02:00
keepalived.pp Fix keepalived VIP monitoring script 2019-04-24 12:47:06 +00:00
masquerade_networks.pp Fix Undercloud masquerading firewall rules 2018-10-23 07:24:31 +00:00
noop.pp Add class to set noop on various puppet resources 2015-07-03 17:16:07 -04:00
packages.pp noop package installations inside containers 2019-01-26 11:19:17 +01:00
redis_notification.pp Loadbalancer: Add support for Redis 2015-04-16 21:13:40 +02:00
selinux.pp Unmanage SELinux within puppet 2019-03-25 16:34:16 +01:00
stunnel.pp Lower the default stunnel log level 2018-05-28 13:40:29 +02:00
tls_proxy.pp Support TLS deployments with KernelDisableIPv6 enabled 2019-07-09 16:06:02 +00:00
trusted_ca.pp Add manifests to inject and trust CA certificates 2016-08-23 14:36:20 +00:00
trusted_cas.pp Add manifests to inject and trust CA certificates 2016-08-23 14:36:20 +00:00
ui.pp Fix linting issues 2018-12-17 17:08:05 -07:00