User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.4) Gecko/2008111217 Fedora/3.0.4-1.fc9 Firefox/3.0.4 Configured VM service in cluster through luci which propagated the following : <vm autostart="1" domain="bias-satxen1" exclusive="0" migrate="live" name="razorback" path="/guest_roots" recovery="restart"/> then the system-config-cluster throws below error : /etc/cluster/cluster.conf:33: element vm: Relax-NG validity error : Invalid attribute migrate for element vm 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 When he edit the cluster.conf and take out the migrate="live" parameter, the XML error window does not appear. -------------------------------------------------------------------------------- The problem is with the xml in /usr/share/system-config-cluster/misc/cluster.ng I have added a patch that does the following: 1) changes migration to migrate 2) made domain optional instead of required in vm section Reproducible: Always Steps to Reproduce: 1. Create a vm service and with live migration 2. open the file with system-config-cluster Actual Results: xml errors are given Expected Results: No xml errors
Created attachment 325379 [details] patch to fix the issues
~~ 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 xmllint now validates with migrate="live" inside the <vm /> tag
Fix verified with comment: https://bugzilla.redhat.com/show_bug.cgi?id=474155#c6
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