first issues

Hi Jamie I installed cloudmin on a clean centos system with the virtualization option and server gui. Apparently it installs Qemu and it needs to be removed before able to add the host system.

Once I managed to add/register the host system, I could create my first Xen instance and used the xen-64-centos5.4-gpl.ext3.gz. At the end I got this message

Regenerating SSH host keys ..
.. failed : ssh-keygen command not found

Installing Webmin from http://www.webmin.com/download/webmin-current.tar.gz ..

.. install failed : Perl and Wget are required to install Webmin, but cannot be automatically installed

Fetching current status ..
.. status successfully retrieved (Paused)

So now Im trying to reboot the first guest, but it seems to hang while my PC is as slow as a snail.
itś on a core i7 - 920 with 6GB of ram and system monitor shows nothing out of the ordinairy

Iĺl update this thread with things I encounter as a first time user of cloudmin

Status: 
Active

Comments

ronald's picture
Submitted by ronald on Sun, 12/06/2009 - 10:10 Pro Licensee

trying to reset the system
Failed to reset system : Failed to lock file /etc/webmin/servers/126011342863900.serv after 5 minutes

Ill try rebooting the host now

ronald's picture
Submitted by ronald on Sun, 12/06/2009 - 10:27 Pro Licensee

reboot didnt help
now creating guest 2 with an ubuntu image, same error
Regenerating SSH host keys ..
.. failed : ssh-keygen command not found

Installing Webmin from http://www.webmin.com/download/webmin-current.tar.gz ..

.. install failed : Perl and Wget are required to install Webmin, but cannot be automatically installed

Fetching current status ..
.. status successfully retrieved (Paused)

ronald's picture
Submitted by ronald on Sun, 12/06/2009 - 11:25 Pro Licensee

I could un-pause the ubuntu guest but ssh login fails.
As far as I know Ubuntu doesnt allow root login by default and I couldnt create another user...

I made a second Ubuntu guest: Last status Ping failed (Checked at 06/Dec/2009 18:23)
Detailed status error ssh: connect to host 192.168.1.102 port 22: No route to host

Ok, it looks like the real cause is that your Xen instances aren't starting up fully. This can happen if Xen cannot connect the Xen instances's network interface..

If you shut one down and then try to start it up again, what gets logged to /var/log/xend/xend.log ?

ronald's picture
Submitted by ronald on Sun, 12/06/2009 - 13:02 Pro Licensee

I got them all up at the moment. Created a ubuntu3 which is actually the centos image I used before and now I can connect to its webmin.
I got for 4 guest resp. a
1 ping failed
2 ssh login denied
3 ssh and
4 Webmin and Virtualmin - Config errors found

I've attached the log.

for 4
Checking Virtualmin configuration .. .. errors found : Current logrotate configuration is not valid : error: stat of /var/log/freshclam.log failed: No such file or directory. This must be fixed, or log file rotation will not be done.
This can be fixed since I can log into the guest.

Also Im checking the state of the guests through Virtual Machine Manager to see if they're up.
When rebooting a guest it takes ages to complete and just seem to hang in the browser while the VMM says the guest is running.

ronald's picture
Submitted by ronald on Sun, 12/06/2009 - 13:04 Pro Licensee

log attached again as txt

Is the udevd process running on your system? I've seen errors like this when it was not working ..

If it isn't, you can start it with the command /sbin/udevd -d run as root.

ronald's picture
Submitted by ronald on Sun, 12/06/2009 - 15:42 Pro Licensee

yes udevd was and is running. What I did now was delete all guests and create a new one from a different image.
the centos 5.4 with virtualmin gpl. All went fine except it needed the /var/log/freshclam.log which I created through touch cmd via the graphic console.

also with this image there was no issues like with the others.

Just wondering, for testing on my PC it creates instances on LAN IP's like 192.168.1.100 to 192.168.1.150
How is this in a datacenter where I have 1 IP? Must I set the system up to act as a router?
Also the guest is on eth0
Shouldn't it be on something like veneth0?

there is another thing. I have installed the 32bit image but with every package I want to update on the guest it moans about depsolv issues concerning x84_64

uname -a Linux klant1.cloudmin.izicompany.net 2.6.18-164.el5xen #1 SMP Thu Sep 3 04:03:03 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

I think during creation the guest is based on the host kernel instead of pv/py grub and I should select Use kernel from Xen system (with PyGrub or Pv-Grub)?

That's odd .. all those images are basically the same, so if one works I would expect them all to.

As for the IPs, each Xen instance needs a separate real IP .. so in production, your ISP would have to give you a range of IPs to use.

As for the 32-bit issue, is your Xen host system 64-bit? If so, you should use the 64-bit images available in Cloudmin.

ronald's picture
Submitted by ronald on Sun, 12/06/2009 - 16:17 Pro Licensee

the host is 64 bit
1) I created another guest with the same 32bit instance but this time with Use kernel from Xen system (with PyGrub or Pv-Grub) enabled.
It did not give any errors on updating, and runs perfectly, so this seems to work too.

2) I still need to create the /var/log/freshclam.log. Should virtualmin on the guest not create this, is this a bug?

3) I have made an account plan but at creation I cannot choose for the plan and have to enter the settings again.
Also once created there are no options to select or change the account plan as in virtualmin (in case of client upgrades)

Is the account plan only for use from within whmcs?

4) Im not sure if I can get a range of IP's at this moment. Can I use the host to act as a router then as well? Or is this a silly thought?

Lots of questions but this is pretty exiting stuff you have created :) Thank you!

1) That would work too .. the problems arise when you boot a 32-bit image using the 64-bit host kernel, which then confuses CentOS as to which architecture it is running.

2) That's a bug - I'll fix it in my next image version.

3) You can select a plan when you create a system owner, not a system .. plans only apply to owners.

4) This can maybe be done, but I'm not totally sure how. Also, this would mean that your Xen instances wouldn't be accessible from the rest of the internet, and would need to use NAT to make outgoing connections.