Regarding this statement: > It seems like "pcs cluster auth" should exit with an error message if it can't generate a tokens file.
I do agree with this statement. Tested latest version upstream and it doesn´t generate any error message also. We can open a bug upstream and monitor. This is probably due to the client <-> server nature of pcs <-> pcsd communication (since logs are generated from pcsd itself). Not sure there is a mechanism to provide specific error message feedback. > Furthermore, should corosync and pacemaker be started by default when installed as dependencies of "pcs?" pcs cluster start will start these services. Right now the only way to set up a cluster after running "apt- get install pcs" is to manually stop corosync and pacemaker, delete corosync.conf, run "pcs cluster auth", "pcs cluster setup", and then "pcs cluster start." I´m changing pcs package itself (debian/ structure). ~$ sudo dpkg -i ./pcs_0.9.153-2_all.deb Selecting previously unselected package pcs. (Reading database ... 152254 files and directories currently installed.) Preparing to unpack ./pcs_0.9.153-2_all.deb ... Unpacking pcs (0.9.153-2) ... Setting up pcs (0.9.153-2) ... Processing triggers for systemd (229-4ubuntu13) ... Processing triggers for ureadahead (0.100.0-19) ... Processing triggers for man-db (2.7.5-1) ... inaddy@(cluster01):~$ ps -ef | grep coros root 3247 1 0 17:20 ? 00:00:00 /usr/sbin/corosync -f inaddy 3701 1097 0 17:22 ttyS0 00:00:00 grep --color=auto coros PCS doesn´t even work without the corosync binary. Im changing from Recommends to Depends. I have also added debconf questions allowing the package to move corosync.conf file AND to stop corosync daemon: inaddy@(cluster01):~$ sudo dpkg-reconfigure --priority=medium pcs http://pastebin.ubuntu.com/23549910/ Answering yes: inaddy@(cluster01):~$ ps -ef | grep corosync inaddy@(cluster01):~$ ls /etc/corosync/corosync.conf* /etc/corosync/corosync.conf.pcs Only problem is that this SRU will take awhile since I have to propose this fix to Debian first. Im going to propose several fixes (for the pcs bugs) at once. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1640923 Title: pcs cluster auth does not generate "tokens" file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcs/+bug/1640923/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
