Bug 146924 - clustat -x segfaults if rgmanager is not running
Summary: clustat -x segfaults if rgmanager is not running
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Cluster Suite
Classification: Retired
Component: rgmanager
Version: 4
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Lon Hohberger
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-02-02 19:49 UTC by Lon Hohberger
Modified: 2009-04-16 20:16 UTC (History)
1 user (show)

Fixed In Version: RHBA-2007-0148
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-05-10 21:02:44 UTC
Embargoed:


Attachments (Terms of Use)
fixes segfault for cases that cman has not converged on anything yet (1006 bytes, patch)
2006-09-06 17:31 UTC, Lon Hohberger
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2007:0148 0 normal SHIPPED_LIVE magma-plugins bug fix update 2007-05-10 21:02:42 UTC
Red Hat Product Errata RHBA-2007:0149 0 normal SHIPPED_LIVE rgmanager bug fix update 2007-05-10 21:16:41 UTC

Description Lon Hohberger 2005-02-02 19:49:22 UTC
Description of problem:

[root@green ~]# clustat -x
<?xml version="1.0"?>
<clustat version="4.0">
  <quorum quorate="1"/>
  <nodes>
Segmentation fault

Comment 1 Lon Hohberger 2005-02-08 08:19:05 UTC
fix in cvs

Comment 2 Dean Jansa 2006-06-01 21:09:50 UTC
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 ~]#

Comment 3 Lon Hohberger 2006-09-06 17:31:55 UTC
Created attachment 135679 [details]
fixes segfault for cases that cman has not converged on anything yet

Comment 4 Lon Hohberger 2006-09-06 17:33:22 UTC
[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


Comment 7 Red Hat Bugzilla 2007-05-10 21:02:44 UTC
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



Note You need to log in before you can comment on or make changes to this bug.