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 commite4e9be76dc
) (cherry picked from commitfbdc1403bf
)
This commit is contained in:
parent
9b0a1942b4
commit
b604400917
|
@ -325,5 +325,10 @@ class tripleo::profile::base::pacemaker (
|
||||||
tries => $pcs_tries,
|
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…
Reference in New Issue