Browse Source

Make sure resource_op_defaults are set before bundles

See LP#1948032. We set a higher default resource op time out because
podman often times out within the default 20s. We need to guarantee
that this timeout is set *before* we create any bundles otherwise
it might be too late and we'd fail a deployment like described in the
LP.

Change-Id: Ic6ac8d21d12389e70cd382018290324d3ae948ce
Closes-Bug: #1948032
(cherry picked from commit e4e9be76dc)
(cherry picked from commit fbdc1403bf)
changes/37/815437/1
Michele Baldessari 7 months ago
parent
commit
b604400917
  1. 5
      manifests/profile/base/pacemaker.pp

5
manifests/profile/base/pacemaker.pp

@ -325,5 +325,10 @@ class tripleo::profile::base::pacemaker (
tries => $pcs_tries,
}
}
# See LP#1948032. We want to ensure that we set the default resource time out
# before we create any bundles. Because the default timeout affects how long
# we wait for podman, and on a starved system the default of 20s might bite us
# too early on
Pcmk_resource_default<||> -> Pcmk_bundle<||>
}
}

Loading…
Cancel
Save