Skip to content

Instantly share code, notes, and snippets.

@fghaas
Created September 14, 2016 13:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fghaas/ba90f3a699184effae3f701ee456cf81 to your computer and use it in GitHub Desktop.
Save fghaas/ba90f3a699184effae3f701ee456cf81 to your computer and use it in GitHub Desktop.
Looks like pcs on Ubuntu is off to a great start... :/
$ sudo pcs status
Cluster name: debian
WARNING: no stonith devices and stonith-enabled is not false
Traceback (most recent call last):
File "/usr/sbin/pcs", line 231, in <module>
main(sys.argv[1:])
File "/usr/sbin/pcs", line 171, in main
cmd_map[command](argv)
File "/usr/lib/python2.7/dist-packages/pcs/status.py", line 18, in status_cmd
full_status()
File "/usr/lib/python2.7/dist-packages/pcs/status.py", line 66, in full_status
if not utils.is_rhel6() and utils.corosyncPacemakerNodeCheck():
File "/usr/lib/python2.7/dist-packages/pcs/utils.py", line 1789, in corosyncPacemakerNodeCheck
cs_nodes = getCorosyncNodesID()
File "/usr/lib/python2.7/dist-packages/pcs/utils.py", line 1755, in getCorosyncNodesID
cs_nodes[node_list_node_mapping[m.group(1)]] = m.group(2)
KeyError: u'0'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment