[PVE-User] config validation failed: unknown error (500) when try to activate

Dietmar Maurer dietmar at proxmox.com
Sat Feb 25 08:37:10 CET 2012


The syntax looks really wrong. There are <clusternode> definitions outside the <clusternodes> section!

From: pve-user-bounces at pve.proxmox.com [mailto:pve-user-bounces at pve.proxmox.com] On Behalf Of Marco Vaschetto
Sent: Freitag, 24. Februar 2012 20:50
To: pve-user at pve.proxmox.com
Subject: [PVE-User] config validation failed: unknown error (500) when try to activate

Hi to all,

I got this issue when i try to activate the cluster.conf.new

My cluster  is two ML150 G5 whit LO100

The cluster.conf.new:

<?xml version="1.0"?>
<cluster name="cluster" config_version="4">
  <cman keyfile="/var/lib/pve-cluster/corosync.authkey" two_node="1" expected_votes="1">
  </cman>

  <clusternodes>
        <clusternode name="LSA000AE01" votes="1" nodeid="1"/>
        <clusternode name="LSA000AE02" votes="1" nodeid="2"/></clusternodes>

<fencedevices>
        <fencedevice agent="fence_ipmilan" ipaddr="ILO01" login="admin" name="fenceNodeA" passwd="admin"/>
        <fencedevice agent="fence_ipmilan" ipaddr="ILO02" login="admin" name="fenceNodeB" passwd="admin"/>
</fencedevices>

<clusternode name="LSA000AE01.SUPERNET.LOCAL" nodeid="1" votes="1">
        <fence>
                <method name="1">
                        <device name="fenceNodeA" action="reboot"/>
                </method>
        </fence>
</clusternode>

<clusternode name="LSA000AE02.SUPERNET.LOCAL" nodeid="2" votes="1">
        <fence>
                <method name="1">
                        <device name="fenceNodeB" action="reboot"/>
                </method>
        </fence>
</clusternode>

</cluster>

When I try to run fence_ipmilan whit the sintax of cluster.conf file frome  bash:

root at LSA000AE01:/etc/pve# fence_ipmilan ipaddr="ILO02" login="admin" name="fenceNodeA" passwd="admin"
failed: no IP address specified

when I try to run the same comand but whit the shotcurt sintax

root at LSA000AE01:/etc/pve# fence_ipmilan -a ILO02 -l admin  -p admin -o status (I put -o status for not shutdown the server)
Getting status of IPMI:ILO02...Chassis power = On
Done

I try to run :

root at LSA000AE01:/etc/pve# ccs_config_validate -v -f cluster.conf.new
Creating temporary file: /tmp/tmp.jQJzJQ2LHf
Config interface set to:
Configuration stored in temporary file
Updating relaxng schema
Validating..
Relax-NG validity error : Extra element fencedevices in interleave
tempfile:10: element fencedevices: Relax-NG validity error : Element cluster failed to validate content
Configuration fails to validate
Validation completed

The version of pve:
root at LSA000AE01:/etc/pve# pveversion -v
pve-manager: 2.0-33 (pve-manager/2.0/c598d9e1)
running kernel: 2.6.32-7-pve
proxmox-ve-2.6.32: 2.0-60
pve-kernel-2.6.32-6-pve: 2.6.32-55
pve-kernel-2.6.32-7-pve: 2.6.32-60
lvm2: 2.02.88-2pve1
clvm: 2.02.88-2pve1
corosync-pve: 1.4.1-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.8-3
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.7-1
pve-cluster: 1.0-23
qemu-server: 2.0-20
pve-firmware: 1.0-15
libpve-common-perl: 1.0-14
libpve-access-control: 1.0-16
libpve-storage-perl: 2.0-12
vncterm: 1.0-2
vzctl: 3.0.30-2pve1
vzprocps: 2.0.11-2
vzquota: 3.0.12-3
pve-qemu-kvm: 1.0-4
ksm-control-daemon: 1.1-1

For got more inforation but i didn't understand whats wrong, any suggestioni is really appreciate

Best regard Marco Vaschetto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20120225/aa5feab0/attachment.htm>


More information about the pve-user mailing list