Mixed case hostnames causing pcs failures
Issue
Mixed case hostnames have caused issues with some pcs commands
$ pcs cluster auth -u hacluster DB1 DB2
Password:
db1: Authorized
db2: Authorized
The above pcs cluster auth
has completed successfully, but note that the response has the hostnames changed to lowercase.
Running the pcs cluster setup
command with the same uppercase hostnames fails:
$ pcs cluster setup --name clus DB1 DB2
Error: DB1: unable to authenticate to node
Error: DB2: unable to authenticate to node
Error: nodes availability check failed, use --force to override. WARNING: This will destroy existing cluster on the nodes.
Environment
Red Hat Enterprise Linux 7.5 packages:
- pacemaker-1.1.18-11.el7_5.2.x86_64
- pacemaker-cli-1.1.18-11.el7_5.2.x86_64
- pacemaker-cluster-libs-1.1.18-11.el7_5.2.x86_64
- pacemaker-libs-1.1.18-11.el7_5.2.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.