"pcs status" gives a traceback
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Invalid
|
Undecided
|
Dmitry Sutyagin |
Bug Description
Reproduced in a newly deployed 9.1 env (deployed with Fuel 9.0 iso, Fuel itself not updated to 9.1):
root@node-1:~# pcs status
Cluster name:
WARNING: corosync and pacemaker node names do not match (IPs used in setup?)
Last updated: Fri Dec 23 01:15:22 2016 Last change: Fri Dec 23 00:34:28 2016 by root via crm_attribute on node-1.domain.tld
Stack: corosync
Current DC: node-1.domain.tld (version 1.1.14-70404b0) - partition with quorum
3 nodes and 46 resources configured
Online: [ node-1.domain.tld node-2.domain.tld node-4.domain.tld ]
Full list of resources:
Clone Set: clone_p_vrouter [p_vrouter]
Started: [ node-1.domain.tld node-2.domain.tld node-4.domain.tld ]
vip__management (ocf::fuel:
vip__vrouter_pub (ocf::fuel:
vip__vrouter (ocf::fuel:
vip__public (ocf::fuel:
Clone Set: clone_p_haproxy [p_haproxy]
Started: [ node-1.domain.tld node-2.domain.tld node-4.domain.tld ]
Clone Set: clone_p_mysqld [p_mysqld]
Started: [ node-1.domain.tld node-2.domain.tld node-4.domain.tld ]
sysinfo_
sysinfo_
Master/Slave Set: master_p_conntrackd [p_conntrackd]
Masters: [ node-2.domain.tld ]
Slaves: [ node-1.domain.tld node-4.domain.tld ]
Master/Slave Set: master_
Masters: [ node-1.domain.tld ]
Slaves: [ node-2.domain.tld node-4.domain.tld ]
Clone Set: clone_neutron-
Started: [ node-1.domain.tld node-2.domain.tld node-4.domain.tld ]
Clone Set: clone_neutron-
Started: [ node-1.domain.tld node-2.domain.tld node-4.domain.tld ]
Clone Set: clone_neutron-
Started: [ node-1.domain.tld node-2.domain.tld node-4.domain.tld ]
Clone Set: clone_p_heat-engine [p_heat-engine]
Started: [ node-1.domain.tld node-2.domain.tld node-4.domain.tld ]
Clone Set: clone_neutron-
Started: [ node-1.domain.tld node-2.domain.tld node-4.domain.tld ]
Clone Set: clone_p_dns [p_dns]
Started: [ node-1.domain.tld node-2.domain.tld node-4.domain.tld ]
sysinfo_
Clone Set: clone_ping_
Started: [ node-1.domain.tld node-2.domain.tld node-4.domain.tld ]
Clone Set: clone_p_ntp [p_ntp]
Started: [ node-1.domain.tld node-2.domain.tld node-4.domain.tld ]
PCSD Status:
node-1.domain.tld member (192.168.0.5): Offline
node-2.domain.tld member (192.168.0.6): Offline
node-4.domain.tld member (192.168.0.7): Offline
Daemon Status:
corosync: unknown/Failed to issue method call: No such file or directory
pacemaker: unknown/
Traceback (most recent call last):
File "/usr/sbin/pcs", line 219, in <module>
main(
File "/usr/sbin/pcs", line 159, in main
cmd_
File "/usr/lib/
full_status()
File "/usr/lib/
utils.
File "/usr/lib/
print prefix + daemons[i] + ": " + status[i] + "/" + enabled[i]
IndexError: list index out of range
root@node-1:~# dpkg -l | grep pcs
ii pcs 0.9.144-
Changed in mos: | |
milestone: | none → 9.2 |
Cannot confirm the issue, it works for me w/o any tracebacks. Please provide exact steps to reproduce and a diagnostic snapshot of the affected environment.