Bug 530171
| Summary: | system-config-cluster does not validate "startup_wait" mysql resource option | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Shane Bradley <sbradley> | ||||
| Component: | system-config-cluster | Assignee: | Ryan McCabe <rmccabe> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 5.5 | CC: | bbrock, cluster-maint, cward, tao | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2010-03-30 08:54:46 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
~~ 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. verified in system-config-cluster-1.0.57-3 cluster.conf validates with the startup_wait option Fix verified in comment: https://bugzilla.redhat.com/show_bug.cgi?id=530171#c4 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. http://rhn.redhat.com/errata/RHBA-2010-0288.html |
Created attachment 365578 [details] Patch that adds startup_wait to cluster.ng Description of problem: On RHEL 5.4+ the option "startup_wait" was added. The cluster.ng file does not have this option in xml syntax. Since it is not included then validation error occurs. $ grep startup_wait /etc/cluster/cluster.conf <mysql config_file="/etc/my.cnf" listen_address="192.168.1.183" mysql_options="--log-error=/var/log/mysqld.log" name="mysql-server" shutdown_wait="200" startup_wait="200" /> $ xmllint --relaxng /usr/share/system-config-cluster/misc/cluster.ng \ /etc/cluster/cluster.conf <?xml version="1.0"?> <cluster alias="rh51mysql" config_version="13" name="rh51mysql"> .... </cluster> Relax-NG validity error : Extra element rm 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 Version-Release number of selected component (if applicable): system-config-cluster-1.0.57-1.5 How reproducible: Everytime Steps to Reproduce: 1. Edit cluster.conf and add resource for mysql then add "startup_wait" option 2. Run system-config-cluster Actual results: Errors are generated when xml is validated Expected results: There should not be any validation errors on "startup_wait." Additional info: Patch is attached.