Hide Forgot
Description of problem: The cman and ccs packages in RHEL6.1 Cluster use different cluster schemas. Version-Release number of selected component (if applicable): cman-3.0.12-41.el6.x86_64 ccs-0.16.2-35.el6.x86_64 How reproducible: Always Steps to Reproduce: 1. Identify cluster.rng files: rpm -ql cman | grep cluster.rng /usr/share/cluster/cluster.rng rpm -ql ccs | grep cluster.rng /usr/share/ccs/cluster.rng 2. Compare them. md5sum /usr/share/cluster/cluster.rng /usr/share/ccs/cluster.rng 4b95c0a674eea33fc49009e7d87037c9 /usr/share/cluster/cluster.rng 786fc0ec6a3d605507b65922739501f5 /usr/share/ccs/cluster.rng Actual results: The files are different Expected results: The files should be the same Additional info:
Fixed here: https://github.com/feist/ccs/commit/f8884fa4ef9bf30f09d27098d6a8d3925fb6afe3 Before Fix: ccs -h ask-03 --getschema ... prints usage ... After Fix: ... prints schema ...
With ricci-0.16.2-48.el6 [root@ask-04 ~]# ccs -h localhost --getschema | tail <optional> <empty/> </optional> </group> <!-- end specific fence devices --> </choice> </optional> </define> <!-- end fence attribute group definitions --> </grammar>
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: a different cluster schema is on a node vs. what's provided in ccs Consequence: A cluster.conf file that is valid on the node may be interpreted as invalid by ccs Fix: a --getschema command was added and ccs will now use the node cluster schema to do verification Result: When cluster schemas are different between what is included with ccs and what is on a node, the cluster schema on the node is used.
Before Fix: [root@localhost ~]# rpm -q fence-agents resource-agents ccs fence-agents-3.1.5-17.el6.x86_64 resource-agents-3.9.2-12.el6.x86_64 ccs-0.16.2-54.el6.x86_64 [root@localhost ~]# diff -q /usr/share/ccs/cluster.rng /var/lib/cluster/cluster.rng Files /usr/share/ccs/cluster.rng and /var/lib/cluster/cluster.rng differ After Fix: [root@localhost ~]# rpm -Uvh ccs-0.16.2-55.el6.x86_64.rpm Preparing... ########################################### [100%] 1:ccs ########################################### [100%] [root@localhost ~]# diff -q /usr/share/ccs/cluster.rng /var/lib/cluster/cluster.rng [root@localhost ~]#
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