Bug 808498

Summary: Cisco UCS Fence Agent Fails Validatation
Product: Red Hat Enterprise Linux 5 Reporter: Chris <caronc>
Component: system-config-clusterAssignee: Ryan McCabe <rmccabe>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.8CC: cluster-maint, djansa, rsteiger
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: system-config-cluster-1.0.57-13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-08 07:23:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
patch to resolve this issue for all Cisco UCS Systems on RHEL5+
none
Updated Patch (corrected meta description) none

Description Chris 2012-03-30 14:37:35 UTC
Created attachment 574000 [details]
patch to resolve this issue for all Cisco UCS Systems on RHEL5+

Description of problem:
Latest package of system-config-cluster does not allow for the suborg directive with the fence_cisco_ucs agent.  Currently the latest version available on your site is: system-config-cluster-1.0.57-12.noarch.rpm

Version-Release number of selected component (if applicable):
<=1.0.57-12

How reproducible:
Every time :)

Steps to Reproduce:
Sample portion of cluster.conf
1.
<snip>
  <clusternodes>
    <clusternode name="node01.halc" nodeid="1" votes="1">
      <fence>
        <method name="1">
          <device name="ucs" port="RHEL_BLADE_1"/>
        </method>
      </fence>
    </clusternode>
    <clusternode name="node02.halc" nodeid="2" votes="1">
      <fence>
        <method name="1">
          <device name="ucs" port="RHEL_BLADE_2"/>
        </method>
      </fence>
    </clusternode>
  </clusternodes>
  <fencedevices>
    <fencedevice agent="fence_cisco_ucs" ssl="1" ipaddr="1.1.1.1" login="admin" name="ucs" passwd="mypass" suborg="org-RHEL_BLADE_1"/>
  </fencedevices>
</snip>

Actual results:
# xmllint --relaxng /usr/share/system-config-cluster/misc/cluster.ng /etc/cluster/cluster.conf | egrep error
Relax-NG validity error : Extra element fencedevices in interleave
/etc/cluster/cluster.conf:2: element cluster: Relax-NG validity error : Element cluster failed to validate content
/etc/cluster/cluster.conf fails to validate

This problem goes away if i remove the 'suborg' directive.

Expected results:
accept the argument in validation

Additional info:
This is a very minor issue, but we rely heavily on checking the cluster.conf after changes are made before accepting them.  Right now we can't do that.

Patch is attached.

Comment 1 Chris 2012-03-30 14:41:47 UTC
Created attachment 574002 [details]
Updated Patch (corrected meta description)

Comment 2 RHEL Program Management 2012-04-02 10:33:14 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 9 errata-xmlrpc 2013-01-08 07:23:12 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-2013-0046.html