Unable to move a resource to a specific node when a lifetime location constraint exists
Issue
- I cannot run
pcs resource move <rsc> node1
after runningpcs resource move <rsc> node2 lifetime=<lifetime>
.
node-a# pcs resource move dummy1 node-b lifetime=PT10S
node-a# pcs constraint
Location Constraints:
Resource: dummy1
Constraint: cli-prefer-dummy1
Rule: boolean-op=and score=INFINITY
Expression: #uname eq string node-b
Expression: date lt 2018-11-11 04:05:30Z
...
node-a# pcs resource move dummy1 node-a
Error: error moving/banning/clearing resource
Error performing operation: Update does not conform to the configured schema
Environment
- Red Hat Enterprise Linux 7 (with the High Availability Add-on)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.