[Debian-ha-maintainers] PCS problem
Adam Kuśmirek
amkusmirek at gmail.com
Thu Jan 28 11:16:55 UTC 2016
Hi,
I used to work with pcs tool when managing Corosync/Pacemaker clusters.
I installed new Jessie/HA system and created cluster using crm tool as
described in Clusters from Scratch; Debian style document.
Then I realized that pcs is available in ppa.mmogp.com repository.
I installed it but when trying to run pcs status i get the error with
traceback:
root at ubi2-manager-a:~# pcs status
Cluster name:
Traceback (most recent call last):
File "/usr/sbin/pcs", line 155, in <module>
main(sys.argv[1:])
File "/usr/sbin/pcs", line 147, in main
status.status_cmd(argv)
File "/usr/lib/python2.7/dist-packages/pcs/status.py", line 13, in
status_cmd
full_status()
File "/usr/lib/python2.7/dist-packages/pcs/status.py", line 53, in
full_status
if utils.corosyncPacemakerNodeCheck():
File "/usr/lib/python2.7/dist-packages/pcs/utils.py", line 1976, in
corosyncPacemakerNodeCheck
cs_nodes = getCorosyncNodesID()
File "/usr/lib/python2.7/dist-packages/pcs/utils.py", line 1955, in
getCorosyncNodesID
cs_nodes[node_list_node_mapping[m.group(1)]] = m.group(2)
KeyError: '0'
When I run pcs stonith show everything looks ok:
root at ubi2-manager-a:~# pcs stonith show
fence_ubi2-manager-a (stonith:fence_virsh): Started ubi2-manager-b
fence_ubi2-manager-b (stonith:fence_virsh): Started ubi2-manager-a
Can you help ?
Regards
Adam Kusmirek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debian-ha-maintainers/attachments/20160128/0dd6ac6a/attachment.html>
More information about the Debian-ha-maintainers
mailing list