PCS cluster setup hangs, apparently due to a "find" command attempting to search through a fuse mountpoint directory (/var/lib/lxcfs/*).
----------------->%-----------------
lsb_release -rd
Description: Ubuntu 16.04.1 LTS
Release: 16.04
PCS cluster setup hangs when cleaning up old cluster configurations, apparently due to a "find" command attempting to search through a fuse mountpoint directory (/var/lib/lxcfs/*).
The setup seems to hang because of this line in /usr/lib/python2.7/dist-packages/pcs/cluste r.py (which attempts to delete stale cluster configuration xml files:
Changing this line to:
os.system("find /var/lib/pacemaker -name '"+name+"' -exec rm -f \{\} \;") to avoid searching under /var/lib/lxcfs (the fuse mountpoint) provided a workaround for me.
PCS cluster setup hangs, apparently due to a "find" command attempting to search through a fuse mountpoint directory (/var/lib/lxcfs/*). ------- --->%-- ------- ------- -
-------
lsb_release -rd
Description: Ubuntu 16.04.1 LTS
Release: 16.04
------- ------- ---%<-- ------- ------- -
apt-cache policy pcs ------- --->%-- ------- ------- -
pcs:
Installed: 0.9.149-1
Candidate: 0.9.149-1
Version table:
*** 0.9.149-1 500
-------
PCS cluster setup hangs when cleaning up old cluster configurations, apparently due to a "find" command attempting to search through a fuse mountpoint directory (/var/lib/lxcfs/*).
sudo pcs cluster setup --name jmclus1 uby2 uby3
Destroying cluster on nodes: uby2, uby3...
uby2: Stopping Cluster (pacemaker)...
uby3: Stopping Cluster (pacemaker)...
---setup hangs here----
The setup seems to hang because of this line in /usr/lib/ python2. 7/dist- packages/ pcs/cluste r.py (which attempts to delete stale cluster configuration xml files:
os.system("find /var/lib -name '"+name+"' -exec rm -f \{\} \;")
sudo find /var/lib -name 'cib-*' 2>&1 | grep 'Permission denied' | wc -l
426
Changing this line to:
os.system("find /var/lib/pacemaker -name '"+name+"' -exec rm -f \{\} \;") to avoid searching under /var/lib/lxcfs (the fuse mountpoint) provided a workaround for me.