On Wed, Dec 07, 2016 at 12:10:34AM -0200, Rafael David Tinoco wrote: > LP: #1640919 - pcs cluster auth does not generate "tokens" file > > $ sudo pcs cluster auth cluster01 cluster02 -u hacluster > Password: > cluster01: Authorized > cluster02: Authorized > $ sudo ls -l /var/lib/pcsd/tokens > ls: cannot access '/var/lib/pcsd/tokens': No such file or directory > > If corosync and pacemaker are stopped and /etc/corosync.conf is > removed, then /var/lib/pcsd/tokens gets created successfully.
I am aware of this problem and it is a consequence of the fact that corosync and pacemaker start in configured state on Debian while on RHEL they are unconfigured and disabled after installation. The plan was to add a README file to the package explaining the required steps to initialize the cluster using pcs. I don't think that touching the configuration and state of another package is a good idea here and would need to discuss this with the maintainers of corosync/pacemaker as installing pcs might influence the correct operations of a working cluster. -- Valentin