Description of problem: If a pair of APC power switches is used in a redundant configuration, the "option" attribute is needed to power both "off" and then "on" again. System-config-cluster automatically generates correct XML for this when such a configuration is entered. Re-loading this XML causes a RelaxNG error dialog as the schema does not allow the "option" attribute for the APC devices. Version-Release number of selected component (if applicable): system-config-cluster-1.0.27 How reproducible: 100% Steps to Reproduce: 1. Configure two APC fence devices 2. Add both devices to a fence level for a redundant configuration 3. Save configuration 4. Close tool 5. Re start system-config-cluster Actual results: RelaxNG error dialog: $ xmllint --noout --relaxng /usr/share/system-config-cluster/misc/cluster.ng cluster-26.conf Relax-NG validity error : Extra element fence in interleave cluster-26.conf:4: element clusternodes: Relax-NG validity error : Element clusternode failed to validate content cluster-26.conf:5: element clusternode: Relax-NG validity error : Element clusternodes has extra content: clusternode cluster-26.conf:6: element multicast: Relax-NG validity error : Element clusternode has extra content: multicast cluster-26.conf:2: element cluster: Relax-NG validity error : Invalid sequence in interleave cluster-26.conf:2: element cluster: Relax-NG validity error : Element cluster failed to validate content cluster-26.conf:9: element device: validity error : IDREF attribute name references an unknown ID "foo01p2" cluster-26.conf:9: element device: validity error : IDREF attribute name references an unknown ID "foo01p2" cluster-26.conf:9: element device: validity error : IDREF attribute name references an unknown ID "foo01p2" cluster-26.conf:9: element device: validity error : IDREF attribute name references an unknown ID "foo01p2" cluster-26.conf fails to validate Expected results: Succesful start up / no RelaxNG errors. Additional info:
Created attachment 145947 [details] Patch adding optional "option" attribute for APC devices
Created attachment 145948 [details] cluster.conf with redundant APC devices
Thanks - this was an oversight. All fences should have this attribute, so I will add to the outer group in the validation file. One additional comment: The gui sets up the options for you when configuring redundant power supply fencing. Also, when loading the conf file in the app, a workaround for this issue is simply to click thru the warning message and continue.
all set. will be in 4.5, and prolly 5.1
Yes it did. This went out already. This work was done under a different relaxng schema bug, so marking as not a bug.