internal server error (timeout) while creating an OpenVZ container on a slave

pille

Member
Oct 21, 2009
79
0
6
when i try to create a new OpenVZ container from a template and chose it go on a slave cluster node, the ajax request done at this point fails with an Internal Server Error 500:
Code:
[4414]ERR: 24: Error in Perl code: 500 read timeout
however - i can always create it on the master cluster node and migrate it afterwards to the slave node.
 
yes, they are up and runnig on all nodes. i guess it's one of those unreproduceable problems.
in the meantime after trying it again and again suddenly it worked.
perhaps there's network congestion due to cluster sync?!
what's the timeout value the error message talks about?
 
yes, they are up and runnig on all nodes. i guess it's one of those unreproduceable problems.
in the meantime after trying it again and again suddenly it worked.
perhaps there's network congestion due to cluster sync?!
what's the timeout value the error message talks about?

AFAIK its 10 seconds.
 
cannot find it in the code after some quick searches, but 10secs seems reasonable when i'm counting.

where's it in the code? i want to increase it a bit to check if that helps for all cases.
 
where's it in the code? i want to increase it a bit to check if that helps for all cases.

/usr/share/perl5/PVE/ConfigServer.pm

Code:
    # set longet timeout for local connection
    my $timeout = $cid ? 10 : 120;
 

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!