puppet-tripleo/manifests
Michele Baldessari 5de64973b0 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)
(cherry picked from commit cbf11f05d4)
2020-03-13 06:50:52 +00:00
..
certmonger Qdr: InternalTLS support. 2019-06-24 17:05:16 -04:00
cluster Modify cassandra dependency 2015-12-14 14:15:15 +00:00
firewall remove ssh from tripleo::firewall::pre 2019-04-29 07:45:09 +02:00
haproxy Fix tripleo::haproxy::stats to be more correct and flexible 2019-05-31 14:59:55 +00:00
host Configure switchedv while there is no vfs bounded 2019-01-10 06:41:22 +00:00
network Only run os-net-config if file has content 2018-04-24 08:55:05 -04:00
pacemaker Allow VIP resource to have customized ops 2019-10-08 10:25:19 +02:00
packages packages: run upgrade at 'setup' stage 2016-10-14 18:17:30 -04:00
profile Add octavia::nova to Octavia services 2019-12-20 11:32:22 +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-13 06:50:52 +00:00
firewall.pp Enforce proper ordering when applying firewall rules 2018-07-13 07:50:11 +02:00
haproxy.pp Allow mysql haproxy stanza do be customized 2020-01-10 17:39:33 +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:32 +00:00
masquerade_networks.pp Fix Undercloud masquerading firewall rules 2018-11-02 10:39:28 +00:00
noop.pp Add class to set noop on various puppet resources 2015-07-03 17:16:07 -04:00
packages.pp Ensure package updates don't happen unexpectedly 2016-12-22 16:42:12 +00:00
redis_notification.pp Loadbalancer: Add support for Redis 2015-04-16 21:13:40 +02:00
selinux.pp Add tripleo::selinux 2016-05-05 13:19:20 -04: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:12 +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 Enable disablereuse option in Zaqar proxy backend 2018-11-19 10:59:06 +00:00