Hide Forgot
Created attachment 546443 [details] cluster.conf that doesn't validate, but that luci is happy to update and distribute Description of problem: Luci is more than happy to push this file around the cluster nodes when an update happens... however it doesn't pass basic validation: $ sudo ccs_config_validate -vuf cluster.conf Creating temporary file: /tmp/tmp.6pRWMIa9PT Config interface set to: xmlconfig:cmanpreconfig Configuration stored in temporary file Updating relaxng schema Validating.. Relax-NG validity error : Extra element rm in interleave tempfile:31: element rm: Relax-NG validity error : Element cluster failed to validate content Configuration fails to validate Validation completed This means that I can't change the cluster.conf file manually and distribute it with "cman_tool version -r", as it doesn't pass validation. Lets get luci back to creating valid configs! Version-Release number of selected component (if applicable): cman-3.0.12.1-23.el6.x86_64 luci-0.23.0-32.el6.x86_64
[root@rhel6-1 ~]# ccs_config_validate -vuf ./cluster.conf Creating temporary file: /tmp/tmp.OFFCsugwCS Config interface set to: Configuration stored in temporary file Updating relaxng schema Validating.. Configuration validates Validation completed [root@rhel6-1 ~]# echo $? 0 [root@rhel6-1 ~]# sha256sum cluster.conf 68e43ea9ccaef9ebe5289d363b6e7bb479830225280d00793b5429d2a1435d71 cluster.conf [root@rhel6-1 ~]# head -3 cluster.conf <?xml version="1.0"?> <cluster config_version="237" name="project-HA-Cluster"> <clusternodes>
[root@rhel6-1 ~]# rpm -q cman cman-3.0.12.1-23.el6.x86_64 [root@rhel6-1 ~]# rpm -q clusterlib clusterlib-3.0.12.1-23.el6.x86_64
Not sure what was going on... I can't replicate this either now :-(