Description of problem: Since version 1.0.27-1.0, system-config-cluster runs xmllint to validate the cluster.conf against a Relax-NG scheme. This always fails, for both existing configurations and for newly created configurations with this version. Version-Release number of selected component (if applicable): 1.0.27-1.0 How reproducible: Create a configuration, save it, and restart system-config-cluster. Solution: Fix the Relax-NG scheme or put back the "return" as first statement in the check_xml() function in CommandHandler.py, as it existed in previous versions.
Keeping the relax ng file current with additions to the cluster schema is a challenging job. In addition, the xmllint relaxng checker has its own challenging issues :) Could you please attach a copy of the cluster.conf that is failing? Please XXX out your passwords, but leave the structure intact and I will be able to improve the relaxng file from your example. BTW, the return statement you refer to above was a debug statement that was inadvertently left in one release cycle when the conf schema went through alot of changes.
Created attachment 138430 [details] cluster.conf file causing Relax-NG validation errors With this cluster.conf file, created from scratch and mostly with dummy values, I get the following errors: /etc/cluster/cluster.conf:20: element cman: Relax-NG validity error : Expecting element gulm, got cman Relax-NG validity error : Extra element fencedevices 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 The error showed up after adding the fence devices (I did a save/restart after configuring every major element). I get exactly the same errors with my more complex cluster.conf file, containing a more useful configuration :-).
Fixed in s-c-cluster rhel4 head. Missed an ipmilan attr.
I verified this fixed in system-config-cluster-1.0.54-2.0; I have not checked prior releases.