Unable to move a resource to a specific node when a lifetime location constraint exists

Solution Verified - Updated -

Issue

  • I cannot run pcs resource move <rsc> node1 after running pcs 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content