Hide Forgot
Description of problem: The fence_cisco_ucs agent in RHEL 6.1 Cluster supports the "suborg" option but it is not allowed by the cluster configuration schema defined in the /usr/share/cluster/cluster.rng file. The problem is similar to BZ #725722 but in this case it is caused by the schema files included into the cman package. Version-Release number of selected component (if applicable): cman-3.0.12-41.el6.x86_64 How reproducible: Always Steps to Reproduce: 1. Create a cluster configuration file as described in BZ #725722 2. Try to verify it with ccs_config_verify cs_config_validate -f cluster.conf Relax-NG validity error : Extra element fence in interleave tempfile:5: element fence: Relax-NG validity error : Element clusternode failed to validate content tempfile:4: element clusternode: Relax-NG validity error : Element clusternodes has extra content: clusternode Configuration fails to validate Actual results: Configuration fails to validate Expected results: The configuration file should validate without errors. Additional info: The file validates after adding the same "suborg" definition to /usr/share/cluster/cluster.rng as described in BZ #725722
Development needs to provide unit test results. https://wiki.test.redhat.com/ClusterStorage/WhyNeedDevTestResults
Unit test results for 6.2: [root@rhel6-node2 ~]# grep -C 1 suborg /usr/share/cluster/cluster.rng <optional> <attribute name="suborg" rha:description="Additional path needed to access suborganization" /> </optional> [root@rhel6-node2 ~]# the generated schema (see bz#680930) contains the suborg information as expected. For 6.1 an ad-hoc patch to the schema needs to be done and another set of test needs to be performed.
<fencedevices> <fencedevice name="xvm" agent="fence_xvm"/> <fencedevice name="ucs" agent="fence_ucs" suborg="/org-MyOrg/org-MySubOrg/"/> </fencedevices> [root@rhel6-node2 ~]# ccs_config_validate Configuration validates
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: Cause: the relaxng schema used to validate cluster.conf was missing a section to describe the suborg option for fence_cisco_ucs agent Consequence: cluster.conf would fail to validate even if perfectly valid Fix: added suborg section to the relaxng schema Result: cluster.conf validates correctly
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-2011-1516.html