Update git submodules
* Update puppet-pacemaker from branch 'master' - Merge "Do not avoid same node with INFINITY score" - Do not avoid same node with INFINITY score Right now when we create a stonith resource we add the location constraint as follows: pcs constraint location stonith-fence_ipmilan-525400bb6781 avoids controller-0 This, by default, will create a location constraint with INFINITY score, meaning that this stonith manifest will never ever be allowed to run on controller-0 no matter what: Resource: stonith-fence_ipmilan-525400bb6781 Disabled on: controller-0 (score:-INFINITY) (id:location-stonith-fence_ipmilan-525400bb6781-controller-0--INFINITY) This is not ideal because we still want to be able to run this stonith resource on controller-0 if all else fails. Let's tweak this stonith resource creation to use a very high score (10000) so that, ultimately the stonith resource is allowed to run on the same controlled node itself. Tested and correctly got all location constraints set: Resource: stonith-fence_ipmilan-525400116021 Disabled on: compute-0 (score:-10000) (id:location-stonith-fence_ipmilan-525400116021-compute-0--10000) Resource: stonith-fence_ipmilan-5254002a5c13 Disabled on: controller-0 (score:-10000) (id:location-stonith-fence_ipmilan-5254002a5c13-controller-0--10000) Resource: stonith-fence_ipmilan-5254004d7139 Disabled on: compute-1 (score:-10000) (id:location-stonith-fence_ipmilan-5254004d7139-compute-1--10000) Resource: stonith-fence_ipmilan-525400b77dcc Disabled on: controller-1 (score:-10000) (id:location-stonith-fence_ipmilan-525400b77dcc-controller-1--10000) Resource: stonith-fence_ipmilan-525400bb6781 Disabled on: controller-2 (score:-10000) (id:location-stonith-fence_ipmilan-525400bb6781-controller-2--10000) Suggested-by: Ken Gaillot <kgaillot@redhat.com> Closes-Bug: #1829146 Change-Id: I95d11d85d61bddc6d8600f576801a42af79a6652
This commit is contained in:
parent
ff6aff0fd6
commit
147644c51e
|
@ -1 +1 @@
|
|||
Subproject commit c6b01cc601878d81403282fd985d2f9606f34704
|
||||
Subproject commit a8921297aea2a139511af7e7f0c3f817fed783d1
|
Loading…
Reference in New Issue