Red Hat Bugzilla – Bug 488957
/usr/share/system-config-cluster/misc/cluster.ng missing entries for validation.
Last modified: 2016-04-26 09:48:52 EDT
Created attachment 334298 [details]
patch file for the cluster.ng file only.
Description of problem:
The current cluster.ng file does not support quorum_dev_poll command which is required from this documen:
xmllint --relaxng /usr/share/system-config-cluster/misc/cluster.ng /etc/cluster/cluster.conf
/etc/cluster/cluster.conf:5: element cman: Relax-NG validity error : Invalid attribute quorum_dev_poll for element cman
/etc/cluster/cluster.conf:5: element cman: Relax-NG validity error : Expecting element clusternodes, got cman
/etc/cluster/cluster.conf:2: element cluster: Relax-NG validity error : Invalid sequence in interleave
/etc/cluster/cluster.conf:2: element cluster: Relax-NG validity error : Element cluster failed to validate content
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Execute: xmllint --relaxng /usr/share/system-config-cluster/misc/cluster.ng /etc/cluster/cluster.conf
2. Ensure that your cluster.conf is already valid to begin with; This bug isn't applicable to cluster.conf that are failing for other reasons.
Edit cluster.conf file and modify the <cman /> tag to include quorum_dev_poll
3. Execute: xmllint --relaxng /usr/share/system-config-cluster/misc/cluster.ng /etc/cluster/cluster.conf
Our company does not use system-config-cluster at all; However; we like to use the cluster.ng file that comes packed with it to validate any changes we make. After following the document : http://kbase.redhat.com/faq/docs/DOC-2882
our cluster configuration file no longer validates. This is problematic for us since we've designed all our cluster configuration tools around ensuring that it is valid at all times.
Patch file is attached.
Created attachment 334315 [details]
Disregard the last patch attached as here is the proper one. I included in the system-config-cluster spec file (v1.0.55-1.0 at the time) and validation works fine now.
Created attachment 349927 [details]
expected_votes and quorum_dev_poll are independent now
~~ Attention Customers and Partners - RHEL 5.5 Beta is now available on RHN ~~
RHEL 5.5 Beta has been released! There should be a fix present in this
release that addresses your request. Please test and report back results
here, by March 3rd 2010 (2010-03-03) or sooner.
Upon successful verification of this request, post your results and update
the Verified field in Bugzilla with the appropriate value.
If you encounter any issues while testing, please describe them and set
this bug into NEED_INFO. If you encounter new defects or have additional
patch(es) to request for inclusion, please clone this bug per each request
and escalate through your support representative.
fix verified in system-config-cluster-1.0.57-3
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 therefore 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.