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

Marco Vaschetto m.vaschetto at snservice.net
Sat Feb 25 00:46:02 CET 2012


I finally discovered where it was my mistake

 

<?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">

        <fence>

                <method name="1">

                        <device name="fenceNodeA" action="reboot"/>

                </method>

        </fence>

</clusternode>

 

<clusternode name="LSA000AE02" votes="1" nodeid="2">

        <fence>

                <method name="1">

                        <device name="fenceNodeB" action="reboot"/>

                </method>

        </fence>

</clusternode>

</clusternodes>

 

<fencedevices>

        <fencedevice name="fenceNodeA" agent="fence_ipmilan" ipaddr="ILO01"
auth="password" login="admin" passwd="admin"/>

        <fencedevice name="fenceNodeB" agent="fence_ipmilan" ipaddr="ILO02"
auth="password" login="admin" passwd="admin"/>

</fencedevices>

 

</cluster>

 

I hope will helpful to some bady for use HP LO100 as fencedevice.

 

Marco Vaschetto

 

Da: pve-user-bounces at pve.proxmox.com
[mailto:pve-user-bounces at pve.proxmox.com] Per conto di Marco Vaschetto
Inviato: venerdì 24 febbraio 2012 22:21
A: 'Rob wylde'; pve-user at pve.proxmox.com
Oggetto: [PVE-User] R: config validation failed: unknown error (500) when
try to activate

 

Yes, but any way  got no change;

whit the options work fine whit the stdin parameters not.

 

root at LSA000AE01:/etc/pve# fence_ipmilan hostname="ILO02" login="admin"
passwd="admin"

failed: no IP address specified

 

root at LSA000AE01:/etc/pve# fence_ipmilan ipaddr="50.7.230.61" login="admin"
passwd="admin"

failed: no IP address specified

 

root at LSA000AE01:/etc/pve# fence_ipmilan -a ILO02 -l admin  -p admin -o
status

Getting status of IPMI:ILO02...Chassis power = On

Done

root at LSA000AE01:/etc/pve# fence_ipmilan -a 50.7.230.61 -l admin  -p admin -o
status

Getting status of IPMI:50.7.230.61...Chassis power = On

Done

 

Da: Rob wylde [mailto:wylde780 at gmail.com] 
Inviato: venerdì 24 febbraio 2012 22:00
A: Marco Vaschetto; pve-user at pve.proxmox.com
Oggetto: Re: [PVE-User] config validation failed: unknown error (500) when
try to activate

 

But have you considered  fence_ipmilan ipaddr="ILO02"   .. that it may
EXPECT and IP ADDRESS instead of a short hostname ? 

 

Just throwing that out there 

On Fri, Feb 24, 2012 at 1:59 PM, Rob wylde <wylde780 at gmail.com> wrote:

 

On Fri, Feb 24, 2012 at 12:50 PM, Marco Vaschetto
<m.vaschetto at snservice.net> wrote:

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

 

_______________________________________________
pve-user mailing list
pve-user at pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user

 

 

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


More information about the pve-user mailing list