Submitted by helpmin on Tue, 06/21/2011 - 08:37
Browser keeps loading even though OpenVZ container started already (but "the ..done
message is not showing up")
Verified with vzctl enter 10000
Creating virtual system with OpenVZ ..
.. creation started.
Waiting for creation to complete ...................
.. creation has completed successfully.
Adding OpenVZ container IP address ..
.. done
Setting nameservers to match host system ..
.. done
Updating configuration files with hostname and IP address ..
.. done
Updating network configuration files ..
.. done
Starting up new OpenVZ container ..
Status:
Active
Comments
Submitted by JamieCameron on Tue, 06/21/2011 - 11:36 Comment #1
If you login to the host system, is there a command like "vzctl start XXX --wait" running? And if so, try killing it ..
Actually, Cloudmin should only wait 120 seconds for a new container to start up at most..
Submitted by helpmin on Tue, 06/21/2011 - 17:20 Comment #2
I didn't see any
vzctl start
. And Cloudmin waited longer than 120 seconds I think.Now I tried again and saw three vzstart processes with
ps aux | egrep -i vzctl
:This time I got the following error message
But the container started actually successfully and
vzctl enter 10001
worked. Although I got the following error message withyum update
reboot
inside the container stopped the contained, but didn't start it.vzctl start 10001 displayed the following message
yum update
still doesn't work. I am not sure whether the yum problem is related to the OpenVZ config.Submitted by JamieCameron on Tue, 06/21/2011 - 18:40 Comment #3
Wow, something really odd is clearly going wrong here..
Any chance I could login to your system myself to debug the underlying issue?
Alternately, which Linux distribution and version, and which OpenVZ packages are you running?
Submitted by helpmin on Tue, 06/21/2011 - 18:48 Comment #4
where do I send the password?
Submitted by andreychek on Tue, 06/21/2011 - 18:56 Comment #5
Howdy -- you can either mark this ticket as private, and post the login details here -- or you can email those to jamie@virtualmin.com.
If you email it, make sure you include the root password, your server's IP address, and include a link to this request in the message body. Thanks!
Submitted by helpmin on Tue, 06/21/2011 - 20:01 Comment #6
sent
Submitted by JamieCameron on Tue, 06/21/2011 - 23:04 Comment #7
I didn't see your email .. what was the subject line?
Submitted by helpmin on Tue, 06/21/2011 - 23:48 Comment #8
https://www.virtualmin.com/node/18594
Submitted by JamieCameron on Wed, 06/22/2011 - 00:11 Comment #9
Got it .. taking a look now.
Submitted by JamieCameron on Wed, 06/22/2011 - 00:45 Comment #10
I looked into this, and found that the issue was your OpenVZ container was taking more than 120 seconds to start up .. although it does start eventually.
The cause of that was the
newaliases
command taking a long time to run at boot. That in turn happens because it doesn't like the hostnametest
, as it contains no domain name!So the solution is to make sure your VM gets created with a proper hostname, like test.yourdomain.com . Normally this would be automatic .. but the DNS issue from your other bug is preventing it. The work-around is to enter a full hostname in the "Internet hostname" field when creating a new OpenVZ container.
Submitted by helpmin on Wed, 06/22/2011 - 01:02 Comment #11
Initially I tried the full domain name in
Internet hostname
for a KVM instance, and got an error message that that it is not allowed (which is the reason why I created the other ticket). But now I tried an fqdn for OpenVZinternet hostname
and it went through. Is there a reason for these different rules?I guess in my case (only one host and two or three containers) it is easier to use the command line (vzctl, vzdump etc) to create containers (while Virtualmin and Webmin are much easier than command line :-).
I am curious, how do you determine that a server is "started"?
Submitted by JamieCameron on Wed, 06/22/2011 - 13:21 Comment #12
Cloudmin uses the command
vzlist -a
to find the state of all containers ..