Bug 797267 - ricci doesn't properly return the cluster schema
Summary: ricci doesn't properly return the cluster schema
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ricci
Version: 6.3
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Ryan McCabe
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On: 794907
Blocks: 726772
TreeView+ depends on / blocked
 
Reported: 2012-02-24 17:47 UTC by Ryan McCabe
Modified: 2012-06-20 14:14 UTC (History)
3 users (show)

Fixed In Version: ricci-0.16.2-47.el6
Doc Type: Bug Fix
Doc Text:
No documentation necessary
Clone Of: 794907
Environment:
Last Closed: 2012-06-20 14:14:16 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0898 0 normal SHIPPED_LIVE ricci bug fix and enhancement update 2012-06-19 19:50:47 UTC

Description Ryan McCabe 2012-02-24 17:47:37 UTC
+++ This bug was initially created as a clone of Bug #794907 +++

When asking clustermon for the cluster schema it mangles the schema so we can't use it for xmllint.

For example:
The original cluster.rng file has some of this info:


<start>
<element name="cluster" rha:description="Defines cluster properties, and
    contains all other configuration. cluster.conf(5)">

when pulling that from clustermon I see this output from the same section:

<start>
<element description="Defines cluster properties, and     contains all other configuration. cluster.conf(5)" name="cluster">

clustermon should return the exact (or possibly re-formatted with tabs/spaces) cluster.rng that is on the server.

--- Additional comment from rmccabe on 2012-02-21 13:11:33 EST ---

This would have to be fixed in both ricci and clustermon. The code that mangles the XML like this is XMLObject that both ricci and clustermon share. ricci will re-mangle proper output from clustermon when it reads it from the batch files.

--- Additional comment from rmccabe on 2012-02-21 13:13:24 EST ---

^^ or from stdout

Comment 6 Chris Feist 2012-03-15 19:56:06 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
No documentation necessary

Comment 9 errata-xmlrpc 2012-06-20 14:14:16 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0898.html


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