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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.