pcs constraint with rule does not enable the constraint id

Solution In Progress - Updated -

Issue

The following command :

pcs constraint location add location-not-in-container-vg-2A vg-2A rule score='-INFINITY' "#kind" eq container
fails with error :
Error: invalid score 'score=-INFINITY', use integer or INFINITY or -INFINITY

whereas this command :

pcs constraint location vg-2A rule score='-INFINITY' "#kind" eq container
works successfully.

Environment

  • Red Hat Entreprise Linux (RHEL) 7
  • HA 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