<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>Failed to create domain from /var/lib/one//5/images/deployment.0</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Hello,<BR>
<BR>
I have deployed a vm into my node, but the vm dosen't work. It has this error:<BR>
<BR>
oned.log<BR>
------------------------------------------------------------------------------------------------<BR>
Tue Oct 13 12:45:31 2009 [TM][D]: Message received: LOG - 5 tm_clone.sh: taresian:/boot/euca-debian-5.0-x86_64/debian.5-0.x86-64.img 193.175.134.144:/var/lib/one//5/images/disk.0<BR>
<BR>
Tue Oct 13 12:45:31 2009 [TM][D]: Message received: LOG - 5 tm_clone.sh: DST: /var/lib/one//5/images/disk.0<BR>
<BR>
Tue Oct 13 12:45:31 2009 [TM][D]: Message received: LOG - 5 tm_clone.sh: Creating directory /var/lib/one//5/images<BR>
<BR>
Tue Oct 13 12:46:10 2009 [VMM][I]: --Mark--<BR>
Tue Oct 13 12:46:26 2009 [TM][D]: Message received: LOG - 5 tm_clone.sh: Executed "ssh 193.175.134.144 mkdir -p /var/lib/one//5/images".<BR>
<BR>
Tue Oct 13 12:46:26 2009 [TM][D]: Message received: LOG - 5 tm_clone.sh: Cloning taresian:/boot/euca-debian-5.0-x86_64/debian.5-0.x86-64.img<BR>
<BR>
Tue Oct 13 12:46:28 2009 [InM][D]: Host 4 successfully monitored.<BR>
Tue Oct 13 12:46:42 2009 [InM][I]: --Mark--<BR>
Tue Oct 13 12:46:42 2009 [InM][I]: Monitoring host 193.175.134.144 (4)<BR>
Tue Oct 13 12:48:51 2009 [TM][D]: Message received: LOG - 5 tm_clone.sh: Executed "scp taresian:/boot/euca-debian-5.0-x86_64/debian.5-0.x86-64.img 193.175.134.144:/var/lib/one//5/images/disk.0".<BR>
<BR>
Tue Oct 13 12:49:18 2009 [InM][D]: Host 4 successfully monitored.<BR>
Tue Oct 13 12:49:38 2009 [InM][I]: Monitoring host 193.175.134.144 (4)<BR>
Tue Oct 13 12:49:41 2009 [TM][D]: Message received: LOG - 5 tm_clone.sh: Executed "ssh 193.175.134.144 chmod a+w /var/lib/one//5/images/disk.0".<BR>
<BR>
Tue Oct 13 12:49:41 2009 [TM][D]: Message received: LOG - 5 tm_mkswap.sh: Creating 1024Mb image in /var/lib/one//5/images/disk.1<BR>
<BR>
Tue Oct 13 12:50:31 2009 [TM][D]: Message received: LOG - 5 tm_mkswap.sh: Executed "ssh 193.175.134.144 mkdir -p /var/lib/one//5/images".<BR>
<BR>
Tue Oct 13 12:51:21 2009 [TM][D]: Message received: LOG - 5 tm_mkswap.sh: Executed "ssh 193.175.134.144 dd if=/dev/zero of=/var/lib/one//5/images/disk.1 bs=1 count=1 seek=1024M".<BR>
<BR>
Tue Oct 13 12:51:21 2009 [TM][D]: Message received: LOG - 5 tm_mkswap.sh: Initializing swap space<BR>
<BR>
Tue Oct 13 12:52:15 2009 [TM][D]: Message received: LOG - 5 tm_mkswap.sh: Executed "ssh 193.175.134.144 /sbin/mkswap /var/lib/one//5/images/disk.1".<BR>
<BR>
Tue Oct 13 12:53:08 2009 [TM][D]: Message received: LOG - 5 tm_mkswap.sh: Executed "ssh 193.175.134.144 chmod a+w /var/lib/one//5/images/disk.1".<BR>
<BR>
Tue Oct 13 12:53:08 2009 [TM][D]: Message received: TRANSFER SUCCESS 5 -<BR>
<BR>
Tue Oct 13 12:53:08 2009 [VMM][D]: Message received: LOG - 5 Command: scp /var/lib/one/5/deployment.0 193.175.134.144:/var/lib/one//5/images/deployment.0<BR>
<BR>
Tue Oct 13 12:53:58 2009 [VMM][D]: Message received: LOG - 5 Copy success<BR>
<BR>
Tue Oct 13 12:54:51 2009 [VMM][D]: Message received: LOG - 5 error: Failed to create domain from /var/lib/one//5/images/deployment.0<BR>
<BR>
Tue Oct 13 12:54:51 2009 [VMM][D]: Message received: LOG - 5 error: internal error unsupported disk type 'sda1'<BR>
<BR>
Tue Oct 13 12:54:51 2009 [VMM][D]: Message received: LOG - 5 ExitCode: 1<BR>
<BR>
Tue Oct 13 12:54:51 2009 [VMM][D]: Message received: DEPLOY FAILURE 5 Failed to create domain from /var/lib/one//5/images/deployment.0<BR>
--------------------------------------------------------------------------------------------------------------------------------------------<BR>
<BR>
deployment.0<BR>
<BR>
-----------------------------------------------------------------------------------------<BR>
<BR>
<domain type='kvm'><BR>
<name>one-5</name><BR>
<vcpu>1</vcpu><BR>
<memory>131072</memory><BR>
<os><BR>
<type>hvm</type><BR>
<kernel>/boot/euca-ubuntu-9.04-x86_64/kvm-kernel/vmlinuz-2.6.28-11-generic</kernel><BR>
<initrd>/boot/euca-ubuntu-9.04-x86_64/kvm-kernel/initrd.img-2.6.28-11-generic</initrd><BR>
<cmdline>root=/dev/sda1 </cmdline><BR>
<boot dev='hd'/><BR>
</os><BR>
<devices><BR>
<emulator>/usr/bin/kvm</emulator><BR>
<disk type='file' device='disk'><BR>
<source file='/var/lib/one//5/images/disk.0'/><BR>
<target dev='sda1'/><BR>
</disk><BR>
<disk type='file' device='disk'><BR>
<source file='/var/lib/one//5/images/disk.1'/><BR>
<target dev='sdb'/><BR>
</disk><BR>
<interface type='bridge'><BR>
<source bridge='eth0'/><BR>
<mac address='00:16:0a:00:01:01'/><BR>
</interface><BR>
</devices><BR>
<features><BR>
<acpi/><BR>
</features><BR>
</domain><BR>
-------------------------------------------------------------------------------------------------<BR>
<BR>
Otherwise there is also a error, when I run "virsh" on the node:<BR>
<BR>
----------------------------------------------------------------------------<BR>
$ virsh -c qemu:///system list<BR>
error: unable to connect to '/var/run/libvirt/libvirt-sock': Permission denied<BR>
error: failed to connect to the hypervisor<BR>
-------------------------------------------------------------------------<BR>
<BR>
Is the error "Failed to create domain from /var/lib/one//5/images/deployment.0" caused by wrong "virsh"?<BR>
<BR>
Any helps?<BR>
<BR>
Regards<BR>
<BR>
Zhentao<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>