After editing /etc/pve/cluster.conf have error "Config validation failed: unknown error (500)" in gui. What am I doing wrong? (sry 4 bad english)
Code:
root@vrt1:~# pvecm nodes
Node Sts Inc Joined Name
1 M 4 2015-03-03 11:42:25 vrt1
2 M 8 2015-03-03 11:43:47 vrt2
Code:
root@vrt2:~# pvecm nodes
Node Sts Inc Joined Name
1 M 8 2015-03-03 11:43:47 vrt1
2 M 4 2015-03-03 11:43:47 vrt2
Code:
<?xml version="1.0"?>
<cluster config_version="3.9.2" name="TERMINAL">
<cman keyfile="/var/lib/pve-cluster/corosync.authkey" two_node="1" expected_votes="1"/>
<fencedevices>
<fencedevice agent="fence_ilo" hostname="vrt1.server.net" login="login" name="node1" passwd="password"/>
<fencedevice agent="fence_ilo" hostname="wrt2.server.net" login="login" name="node2" passwd="password"/>
</fencedevices>
<clusternodes>
<clusternode name="vrt1" nodeid="1" votes="1">
<fence>
<method name="ilo">
<device action="reboot" name="node1"/>
</method>
</fence>
</clusternode>
<clusternode name="vrt2" nodeid="2" votes="1">
<fence>
<method name="ilo">
<device action="reboot" name="node2"/>
</method>
</fence>
</clusternode>
</clusternodes>
<rm>
<pvevm autostart="1" vmid="100"/>
</rm>
</cluster>
Code:
root@vrt1:~# ccs_config_validate -v -f /etc/pve/cluster.conf.new
Creating temporary file: /tmp/tmp.4r1BBPkre0
Config interface set to:
Configuration stored in temporary file
Updating relaxng schema
Validating..
Relax-NG validity error : Extra element fencedevices in interleave
tempfile:4: element fencedevices: Relax-NG validity error : Element cluster failed to validate content
tempfile:19: element device: validity error : IDREF attribute name references an unknown ID "node2"
Configuration fails to validate
Validation completed
Last edited: