sthonith constraint location should not have INFINITY as score
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet-pacemaker |
Fix Released
|
Undecided
|
Michele Baldessari |
Bug Description
Right now when we create a stonith resource we add the location
constraint as follows:
pcs constraint location stonith-
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-
Disabled on: controller-0 (score:-INFINITY) (id:location-
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.
Changed in puppet-pacemaker: | |
assignee: | nobody → Michele Baldessari (michele) |
Fix proposed to branch: master /review. opendev. org/659252
Review: https:/