Red Hat Bugzilla – Bug 172177
clustat -x output is missing current/last owner
Last modified: 2009-04-16 16:18:26 EDT
Description of problem:
clustat -x output always shows "(null)" or "none" for "owner" and "last_owner"
attributes. The non-XML output of clustat reports the correct information.
However, I need the XML output to integrate cluster status into my own
administration interface. Because of the bug I have no way of knowing on which
cluster members the services are running.
Version-Release number of selected component (if applicable):
Problem did not happen in the previous release, 1.9.38-0.
Steps to Reproduce:
1. Run "clustat"
2. Run "clustat -x"
3. Compare the results.
owner and last_owner attributes of <group> element is always "(null)" or "none"
while the non-XML clustat output shows the right data.
It looks like non-XML clustat output was improved to show which member is local
member and whether rgmanager is running. This data should be returned in the
XML output as well.
The correct owner should be returned for "starting" status as well as "started",
so that a custom <script> resource can tell in which service's context it is
Created attachment 120603 [details]
The patch works. Thanks for the quick response.
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.