For the record, this is the script used to setup a clean machine with
pcs:

sudo apt-get -q update
sudo apt-get -q -y install pcs

# we make sure corosync and pacemaker are stopped
sudo systemctl stop pacemaker
sudo systemctl stop corosync

# we remove corosync.conf, otherwise pcs will refuse to write the config
sudo rm -f /etc/corosync/corosync.conf

# pcs will configure corosync to log under /var/log/cluster
test -d /var/log/cluster || sudo mkdir /var/log/cluster

echo -e "ubuntu\nubuntu" | sudo passwd hacluster
sudo systemctl restart pcsd.service
sleep 10
sudo pcs cluster auth "pcs" -u hacluster -p ubuntu --force --debug
sudo pcs cluster setup --debug --force --name pacemaker1 "pcs"

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1640919

Title:
  pcs cluster setup hangs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcs/+bug/1640919/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to