puppet-tripleo/manifests
Michele Baldessari bd1807c48b Move stonith resource creation to step2
With the merging of the pcs on host patchset for train we are seeing a
problem with FFUs on Instance HA environments.

Preamble:
Tripleo keeps the stonith-enabled cluster property set to false until the puppet step 5

With the pcs on host patchset the enablement happens still at step 5 but
it gets triggered during tripleo_ha_wrapper deployment task of
cinder-volume which tries to restart the cinder-volume service (during
the leapp of the first controller) and this hangs forever because
pacemaker is in the following transition:
- stonith-fence_compute-fence-nova is configured
- pacemaker wants to call stonith on for controller-0 (which is probably
  dumb, but it is unlikely we'll be able to change that in the right
  timeframe as it seems a potentially involved change in behaviour)
- Any other action, like cinder-volume restart in this case, is stuck
  and the FFU fails.

If we simply move the stonith resource creation (and change nothing else
in the stonith-enabled property being set at step 5) to step 2, we
fix this.

Tested and with the injection of this puppet-tripleo review into the
FFU queens->train upgrade on an IHA system, now the FFU passes.
Also applied this patch to a Train based IHA deployment and verified
that deployment, redeploy, minor update and scaleup all keep on working.

Closes-Bug: #1923723

Change-Id: Ib3e2d9c93221dfc2e15974142f30e8c84e7afd63
(cherry picked from commit 6196157b54)
2021-04-19 08:46:04 +02:00
..
certmonger Merge "Always update the local certmonger ca cert" into stable/train 2021-04-15 18:33:31 +00:00
firewall Add 'ipversion' to firewall/rule.pp 2019-09-25 18:36:44 +00:00
haproxy Ensure we set $haproxy_firewall_rules variable 2019-08-08 10:02:48 +02:00
host Use validate_legacy 2019-02-25 22:51:07 +01:00
network Fix the default values for ca_file and cert_file 2020-06-24 09:22:55 +00:00
pacemaker Allow to specify a nic for the VIPs + Fix nic selection when no nic is specified 2020-12-22 08:44:48 +00:00
packages packages: run upgrade at 'setup' stage 2016-10-14 18:17:30 -04:00
profile Move stonith resource creation to step2 2021-04-19 08:46:04 +02: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
config.pp Introduce tripleo::config 2019-06-04 18:07:21 +00:00
fencing.pp Make sure we create stonith resources before stonith levels 2020-03-11 06:26:51 +00:00
firewall.pp Revert "Replace hiera('service_names') by hiera('enabled_services')" 2019-12-11 18:42:10 +00:00
haproxy.pp Fix novavnc haproxy network 2021-03-19 11:08:36 +01: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-18 11:47:10 -06: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
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-08 20:59:13 +02: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