pcs cluster setup hangs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pcs (Debian) |
Fix Released
|
Unknown
|
|||
pcs (Ubuntu) |
Fix Released
|
Medium
|
Rafael David Tinoco | ||
Xenial |
Fix Released
|
Medium
|
Rafael David Tinoco | ||
Yakkety |
Fix Released
|
Medium
|
Rafael David Tinoco | ||
Zesty |
Fix Released
|
Medium
|
Rafael David Tinoco |
Bug Description
[Impact]
* PCS might take too much time when destroying a cluster.
* There is a look for leftovers over /var/lib/ using "find".
* If lxcfs is too big that might take awhile.
[Test Case]
* Install PCS
* Configure a pacemaker cluster using PCS
* Make sure /var/lib/ is huge
* Try to destroy the cluster using PCS
[Regression Potential]
* Purging leftovers could be affected.
* Almost none.
[Other Info]
Fixing together (same SRU):
https:/
https:/
And this one (yakkety & zesty)
[Original Description]
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/
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.
sosreport-
sosreport-
Changed in pcs (Ubuntu): | |
assignee: | nobody → Rafael David Tinoco (inaddy) |
importance: | Undecided → Medium |
description: | updated |
description: | updated |
Changed in pcs (Debian): | |
status: | Unknown → New |
description: | updated |
Changed in pcs (Debian): | |
status: | New → Fix Released |
tags: | added: sts |
Status changed to 'Confirmed' because the bug affects multiple users.