RE: Creating XEN images on Ubuntu 8.04 on Cloudmin GPL

I keep getting this error when trying to install a XEN machine on Ubuntu 8.04 with Cloudmin GPL

Copying 206.22 MB image file to host system ks300362.kimsufi.com
… already on host

Creating virtual system with Xen …
… creation started.

Waiting for creation to complete …
… creation has completed successfully.

Creating swap file of 512 MB …
… done

Expanding filesystem to 20 GB …
… done

Mounting new instance’s filesystem …
… mounted on /mnt/xen-test

Configuring kernel for Xen instance …
… setup to boot Xen system’s kernel with PyGrub

Fixing GRUB configuration file …
… done

Setting root password …
… done

Adding extra authorized SSH keys …
… done

Updating configuration files with hostname and IP address …
… done

Updating network configuration files …
… done

Modifying /etc/fstab file …
… done

Allowing SSH logins by root …
… already allowed

Removing missing disks from fstab file …
… done

Un-mounting instance’s filesystem …
… done

Adding DNS entry test.cloudmin.ks300362.kimsufi.com. for IP address 188.165.0.220 …
… done

Configuring Xen instance for VNC console access …
… added on dynamic port

Starting up new Xen instance …
… done

Regenerating SSH host keys …
… failed : Failed to generate /etc/ssh/ssh_host_rsa_key : Connection failed

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 (No SSH)

Enabling system at host boot time …
… done

Creating console access user …
… done

Anyone know what’s causing this?

can you connect directly to the Xen by IP over ssh?
then you could install wget and perl manually. (apt-get install wget perl)
Im just guessing those are missing in the image.

No, connecting by IP over SSH fails

I found the problem, if I edit the /root/.ssh/known_hosts file on the XEN Master, and empty it, then it works. Seems entries don’t get removed when a XEN machine is deleted, possible bug?