Description of problem: [root@green ~]# clustat -x <?xml version="1.0"?> <clustat version="4.0"> <quorum quorate="1"/> <nodes> Segmentation fault
fix in cvs
Now running clustat on a non quorate cluster causes a seg fault. [root@link-14 ~]# clustat -x Segmentation fault <From console>: CMAN: quorum regained, resuming activity [root@link-14 ~]# clustat -x <?xml version="1.0"?> <clustat version="4.1.1"> <quorum quorate="1"/> <nodes> <node name="link-13" state="1" local="0" estranged="0" rgmanager="0" nodeid="0x0000000000000001"/> <node name="link-14" state="1" local="1" estranged="0" rgmanager="0" nodeid="0x0000000000000003"/> <node name="link-15" state="1" local="0" estranged="0" rgmanager="0" nodeid="0x0000000000000002"/> <node name="link-16" state="1" local="0" estranged="0" rgmanager="0" nodeid="0x0000000000000004"/> </nodes> </clustat> [root@link-14 ~]#
Created attachment 135679 [details] fixes segfault for cases that cman has not converged on anything yet
[root@green utils]# ./clustat Member Status: Inquorate Resource Group Manager not running; no service information available. Membership information not available ... CMAN: forming a new cluster ... [root@green utils]# ./clustat Member Status: Inquorate Resource Group Manager not running; no service information available. Member Name Status ------ ---- ------ green.lab.boston.redhat.com Online, Local
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2007-0148.html