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

Marco Vaschetto m.vaschetto at snservice.net
Sat Feb 25 09:09:37 CET 2012


Thanks for your answer, finally Yesterday evening I found that big meste 

 

I got another problem, when I have configure the fencing I try to create a
container for test the HA, but when I try to create a container on a NFS
storage the sistem show me this:

 

tar: ./etc/appliance.info: Cannot change ownership to uid 0, gid 0:
Operation not permitted
tar: ./boot: Cannot change ownership to uid 0, gid 0: Operation not
permitted
tar: ./usr/local/games: Cannot change ownership to uid 0, gid 50: Operation
not permitted
tar: ./usr/local/src: Cannot change ownership to uid 0, gid 50: Operation
not permitted
tar: ./usr/local/include: Cannot change ownership to uid 0, gid 50:
Operation not permitted
tar: ./usr/local/share/fonts: Cannot change ownership to uid 0, gid 50:
Operation not permitted
tar: ./usr/local/share/man: Cannot change ownership to uid 0, gid 50:
Operation not permitted
tar: ./usr/local/share: Cannot change ownership to uid 0, gid 50: Operation
not permitted
tar: ./usr/local/bin: Cannot change ownership to uid 0, gid 50: Operation
not permitted
tar: ./usr/local/lib/python2.6/dist-packages: Cannot change ownership to uid
0, gid 50: Operation not permitted
tar: ./usr/local/lib/python2.6/site-packages: Cannot change ownership to uid
0, gid 50: Operation not permitted
tar: ./usr/local/lib/python2.6: Cannot change ownership to uid 0, gid 50:
Operation not permitted
tar: ./usr/local/lib: Cannot change ownership to uid 0, gid 50: Operation
not permitted
tar: ./usr/local/sbin: Cannot change ownership to uid 0, gid 50: Operation
not permitted
tar: ./usr/local/etc: Cannot change ownership to uid 0, gid 50: Operation
not permitted
tar: ./usr/local/man: Cannot change ownership to uid 0, gid 50: Operation
not permitted
tar: ./usr/local: Cannot change ownership to uid 0, gid 50: Operation not
permitted

 

I think I missing some permission on the storage, because if I try to create
the container on local storage thath work fine . 

 

Marco Vaschetto

 

Da: Dietmar Maurer [mailto:dietmar at proxmox.com] 
Inviato: sabato 25 febbraio 2012 08:37
A: Marco Vaschetto; pve-user at pve.proxmox.com
Oggetto: RE: [PVE-User] config validation failed: unknown error (500) when
try to activate

 

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/bc8bd6ba/attachment.htm>


More information about the pve-user mailing list