[one-users] VM Creation Problem
Javier Fontan
jfontan at opennebula.org
Tue Jun 5 08:44:20 PDT 2012
You can see the error in this line:
Tue Jun 5 12:41:42 2012 [TM][E]: context: Command "cp -R
/vm_context/init.sh /srv/cloud/one/var/datastores/.isofiles/42"
failed: cp: cannot stat `/vm_context/init.sh': No such file or
directory
It seems that the file /vm_context/init.sh that you are trying to add
to the context CD does not exist or it is misplaced.
On Tue, Jun 5, 2012 at 4:56 PM, ankit anand <ankit.s.anand at gmail.com> wrote:
> Hello All
>
> I am using Opensuse-11.4 along with opennebula 3.4.1
>
> I am having Problem in VM Creation with kvm as hypervisor
>
> Error Logs Show :
>
> Tue Jun 5 12:40:01 2012 [DiM][I]: New VM state is ACTIVE.
> Tue Jun 5 12:40:01 2012 [LCM][I]: New VM state is PROLOG.
> Tue Jun 5 12:41:42 2012 [TM][I]: clone: Cloning ../../1/
> 11a9b1e6031e2206511466892f0e960e in
> cloud:/srv/cloud/one/var//datastores/0/42/disk.0
> Tue Jun 5 12:41:42 2012 [TM][I]: ExitCode: 0
> Tue Jun 5 12:41:42 2012 [TM][I]: Command execution fail:
> /srv/cloud/one/var/remotes/tm/shared/context
> /srv/cloud/one/var/42/context.sh /vm_context/init.sh /vm_context/id_rsa.pub
> cloud:/srv/cloud/one/var//datastores/0/42/disk.1
> Tue Jun 5 12:41:42 2012 [TM][I]: context: Generating context block device
> at cloud:/srv/cloud/one/var//datastores/0/42/disk.1
> Tue Jun 5 12:41:42 2012 [TM][E]: context: Command "cp -R
> /vm_context/init.sh /srv/cloud/one/var/datastores/.isofiles/42" failed: cp:
> cannot stat `/vm_context/init.sh': No such file or directory
> Tue Jun 5 12:41:42 2012 [TM][E]: Error copying /vm_context/init.sh to
> /srv/cloud/one/var/datastores/.isofiles/42
> Tue Jun 5 12:41:42 2012 [TM][I]: ExitCode: 1
> Tue Jun 5 12:41:42 2012 [TM][E]: Error executing image transfer script:
> Error copying /vm_context/init.sh to
> /srv/cloud/one/var/datastores/.isofiles/42
> Tue Jun 5 12:41:42 2012 [DiM][I]: New VM state is FAILED
> Tue Jun 5 12:43:35 2012 [DiM][I]: New VM state is DONE.
> Tue Jun 5 12:43:35 2012 [TM][W]: Ignored: LOG I 42 ExitCode: 0
>
>
> where my template is :
>
> CONTEXT=[
> FILES="/vm_context/init.sh /vm_context/id_rsa.pub",
> IP_PUBLIC="10.112.10.35",
> TARGET="hdb" ]
> CPU="1"
> DISK=[
> BUS="ide",
> IMAGE="OpenSuse2",
> IMAGE_UNAME="oneadmin" ]
> GRAPHICS=[
> LISTEN="10.112.10.35",
> PASSWD="cadlab",
> PORT="5903",
> TYPE="vnc" ]
> MEMORY="1024"
> NAME="vm3"
> NIC=[
> NETWORK="Public",
> NETWORK_UNAME="oneadmin" ]
> OS=[
> ARCH="x86_64",
> BOOT="hd" ]
> RAW=[
> TYPE="kvm" ]
> TEMPLATE_ID="0"
> VCPU="1"
>
> Please Help. having no clue . is there a problem in image or how should i
> check that .
>
> Regards
> Ankit Anand
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
--
Javier Fontán Muiños
Project Engineer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | jfontan at opennebula.org | @OpenNebula
More information about the Users
mailing list