Red Hat Bugzilla – Bug 1470105
Support custom location of pacemaker authkey
Last modified: 2017-11-13 05:39:30 EST
Description of problem:
In bz1176018 we added support for pacemaker authkey. The authkey is automatically created and distributed by pcs. However pcs always reads it from and writes it to /etc/pacemaker/authkey. If a custom location for the authkey is specified in /etc/sysconfig/pacemaker, pcs ignores it. This leads to missing authkey from pacemaker point of view.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Change authkey path in /etc/sysconfig/pacemaker .
2. Setup a cluster, add remote or guest nodes.
3. Pacemaker authkey is stored at /etc/pacemaker/authkey instead of the location set in step 1, remote and guest nodes don't work.
Custom authkey location is ignored.
Custom authkey location is respected.
Backing up and restoring of cluster configuration needs to be fixed as well.