Red Hat Bugzilla – Bug 1264886
'pcs cluster auth' fails for remote cluster if local cluster exists and is not authenticated
Last modified: 2018-06-27 11:11:46 EDT
> Description of problem:
If a local cluster exists on a pcsd GUI machine (i.e. the machine itself is part of any cluster) and this machine's pcsd is not authenticated to itself (i.e. to the local cluster), any authentication performed against any other remote cluster will fail.
This is because pcsd finds the local cluster configuration and fails on it's auth before the remote cluster is ever checked.
If no local cluster exists or is authenticated properly, this problem doesn't happen. Performing local auth first can be used as a workaround.
> Version-Release number of selected component (if applicable):
> How reproducible:
> Steps to Reproduce:
1. Create local cluster and add it to GUI
2. Create remote cluster and add it to GUI
3. Remove all tokens on the GUI node (rm /var/lib/pcsd/tokens)
4. Try to authenticate the remote cluster from GUI
> Actual results:
> Expected results: