'pcs cluster auth' fails with "Unable to connect to pcsd" or "Unable to communicate" in a RHEL 6 or 7 High Availability cluster with pacemaker
Issue
- While configuring the RHEL7 pacemaker cluster,
pcs cluster authcommand is failing with the below error message
# pcs cluster auth node1 node2
Username: hacluster
Password:
Error: unable to connect to pcsd on node1
Unable to connect to node1 ([Errno -2] Name or service not known)
- A cluster node was not authorized:
# pcs cluster auth 10.X.X.1 10.X.X.2
Username: hacluster
Password:
10.X.X.1: Already authorized
Error: Unable to communicate with 10.X.X.2
Environment
- Red Hat Enterprise Linux (RHEL) 6 or 7 with the High Availability Add On
pacemakerpcs
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
