perl error 500 read timeout

conrad

Member
Nov 20, 2008
110
0
16
After upgrading our live servers to 1.4 we get the following perl error
after adding a 3rd node to the cluster.
The server is responding well and i can connect with ssh and web fast.

But when i want to add a vm on this 3rd node after selecting the 3rd node during creation of the vm this error occurs:

[5411]ERR: 24: Error in Perl code: 500 read timeout

nothing in syslog and other node responds within a fraction of a second.

any idea?
 
Last edited:
master:
CID----IPADDRESS----ROLE-STATE--------UPTIME---LOAD----MEM---DISK
1 : xx.xxx.xxx.220 M A 08:35 0.03 42% 6%
2 : xx.xxx.xxx.223 N A 18:42 0.02 8% 1%
3 : xx.xxx.xxx.224 N A 21:18 0.00 3% 1%

failing node 3 node:

1 : xx.xxx.xxx.220 M A 08:38 0.41 42% 6%
2 : xx.xxx.xxx.223 N A 18:45 0.00 8% 1%
3 : xx.xxx.xxx.224 N A 21:21 0.00 3% 1%

This is from the syslog of the failing node:
Nov 23 09:57:50 pve03 pvemirror[18773]: cluster syncronization finished (10.28 seconds (files 0.00, config 0.11))
Nov 23 09:58:39 pve03 pvemirror[18773]: starting cluster syncronization
Nov 23 09:58:39 pve03 pvemirror[18773]: syncing master configuration from 'xxx.xxx.xxx.220'
Nov 23 09:58:49 pve03 pvemirror[18773]: syncing vzlist from 'xxx.xxx.xxx.xxx' failed: 500 read timeout
Nov 23 09:58:49 pve03 pvemirror[18773]: syncing templates
Nov 23 09:58:49 pve03 pvemirror[18773]: cluster syncronization finished (10.28 seconds (files 0.00, config 0.11))
Nov 23 09:59:39 pve03 pvemirror[18773]: starting cluster syncronization
Nov 23 09:59:39 pve03 pvemirror[18773]: syncing master configuration from 'xxx.xxx.xxx.220'
Nov 23 09:59:39 pve03 pvemirror[18773]: syncing templates
Nov 23 09:59:39 pve03 pvemirror[18773]: cluster syncronization finished (0.29 seconds (files 0.00, config 0.11))
 
Last edited:
Code:
Nov 23 09:59:39 pve03 pvemirror[18773]: starting cluster syncronization
Nov 23 09:59:39 pve03 pvemirror[18773]: syncing master configuration from 'xxx.xxx.xxx.220'
Nov 23 09:59:39 pve03 pvemirror[18773]: syncing templates
Nov 23 09:59:39 pve03 pvemirror[18773]: cluster syncronization finished (0.29 seconds (files 0.00, config 0.11))

Obviously the sync is succussful now? You still get the error?
 
yes, only when i want to create a vm or container on this node.

it looks like it cannot get the vzlist of this node or something.
 
Does it makes sense if i disconnect the node from de master and then
later add the node to the cluster again.

Its becoming a bit urgent now, what else can i do to find out whats wrong?
 
bad luck:

[Mon Nov 23 13:58:31 2009] [error] [5411]ERR: 24: Error in Perl code: 500 read timeout
[Mon Nov 23 14:00:52 2009] [error] [5411]ERR: 24: Error in Perl code: 500 read timeout
[Mon Nov 23 14:03:03 2009] [error] [5411]ERR: 24: Error in Perl code: 500 read timeout

cluster sync is fine, template sync works well, just selecting node 3 during
creation of a container give this error.

must the the 0.conf exists in /etc/vz/conf on all three nodes?
 
Last edited:
Dietmar, you're the best.

after checking pvesm list -a i noticed that i forgot to add the 3rd node in the firewall of nfs (backup) server.
Apparently when choosing a destionation for creating a new container it times out because of the failure to connect ot the nfs server.

Running smooth now!

did i mention you're the best?

no? ok you're the best Dietmar, thanks.
 
I have the same error and found:

iscsiadm: No active sessions.
Logging in to [iface: default, target: storage.domain.com:disk1, portal: 194.0.yy.xx,3260]
iscsiadm: Could not login to [iface: default, target: storage.domain.com:disk1, portal: 194.0.xx.xx,3260]:
iscsiadm: initiator reported error (5 - encountered iSCSI login failure)
command '/usr/bin/iscsiadm --mode node --portal 194.0.xx.xx:3260 --targetname storage.domain.com:disk1 --login' failed with exit code 255


How to remove storage from cluster without webpanel?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!