Probably the problem is the support for virtualization. To be sure you can check in the node /var/log/libvirt/qemu/one-<vmid>.log.
On Tue, Apr 12, 2011 at 3:31 PM, Mike Putter <[email protected]> wrote: > Hi, > > I followed the example of creating a ttylinux VM. > > The VM starts, boots and eventually fails. > > The error log reads: > > Tue Apr 12 15:02:23 2011 [DiM][I]: New VM state is ACTIVE. > Tue Apr 12 15:02:23 2011 [LCM][I]: New VM state is PROLOG. > Tue Apr 12 15:02:23 2011 [VM][I]: Virtual Machine has no context > Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: > voyager:/srv/cloud/one/one-templates/ttylinux.img > wws-vmhost01:/srv/cloud/one/var//1/ima > ges/disk.0 > Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: DST: > /srv/cloud/one/var//1/images/disk.0 > Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: Creating directory > /srv/cloud/one/var//1/images > Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: Executed "mkdir -p > /srv/cloud/one/var//1/images". > Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: Executed "chmod a+w > /srv/cloud/one/var//1/images". > Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: Cloning > /srv/cloud/one/one-templates/ttylinux.img > Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: Executed "cp -r > /srv/cloud/one/one-templates/ttylinux.img /srv/cloud/one/var//1/images/d > isk.0". > Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: Executed "chmod a+rw > /srv/cloud/one/var//1/images/disk.0". > Tue Apr 12 15:02:26 2011 [LCM][I]: New VM state is BOOT > Tue Apr 12 15:02:26 2011 [VMM][I]: Generating deployment file: > /srv/cloud/one/var/1/deployment.0 > Tue Apr 12 15:02:58 2011 [VMM][I]: Command execution fail: 'if [ -x > "/var/tmp/one/vmm/kvm/deploy" ]; then /var/tmp/one/vmm/kvm/deploy / > srv/cloud/one/var//1/images/deployment.0; else > exit 42; fi' > Tue Apr 12 15:02:58 2011 [VMM][I]: STDERR follows. > Tue Apr 12 15:02:58 2011 [VMM][I]: error: Failed to create domain from > /srv/cloud/one/var//1/images/deployment.0 > Tue Apr 12 15:02:58 2011 [VMM][I]: error: monitor socket did not show up.: > Connection refused > Tue Apr 12 15:02:58 2011 [VMM][I]: ExitCode: 255 > Tue Apr 12 15:02:58 2011 [VMM][E]: Error deploying virtual machine: error: > Failed to create domain from /srv/cloud/one/var//1/images/de > ployment.0 > Tue Apr 12 15:02:58 2011 [DiM][I]: New VM state is FAILED > Tue Apr 12 15:02:58 2011 [TM][W]: Ignored: LOG - 1 tm_delete.sh: Deleting > /srv/cloud/one/var//1/images > > Tue Apr 12 15:02:58 2011 [TM][W]: Ignored: LOG - 1 tm_delete.sh: Executed > "rm -rf /srv/cloud/one/var//1/images". > > Tue Apr 12 15:02:58 2011 [TM][W]: Ignored: TRANSFER SUCCESS 1 - > > Tue Apr 12 15:16:36 2011 [DiM][I]: New VM state is DONE. > > > > I restarted the host machine before deployment of the VM, so VM services > should be initiated. > > BTW: I found out that the host CPU has no support for the virtualization > instruction set required by KVM. Can it be the cause of the above failure ? > Or should KVM revert automatically to another state to continue deployment ? > > I'm glad to provide more output from logs if necessary. > > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > -- Javier Fontan, Grid & Virtualization Technology Engineer/Researcher DSA Research Group: http://dsa-research.org Globus GridWay Metascheduler: http://www.GridWay.org OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org _______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
