VM Creation Problem – New VM State is Active

Asked By 10 points N/A Posted on -
qa-featured

Hello TechyV buddies!

I am having some problem in VM creation. Every time I use VM creation I get the following error: 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"

Can anyone help me solve this problem? I am using Opensuse 11.4 and opennebula 3.4.1. The error logs above are problems occurred during the process of VM creation.  Please help me solve this issue. Thank you!

SHARE
Answered By 0 points N/A #151534

VM Creation Problem – New VM State is Active

qa-featured

Hello Dexter,

You may have done everything correctly but it could also be possible that you are hitting on a known issue in the platform that could lead to the problem that you are getting right now. You can find the detailed description of the problem at the following site: Machine cannot restart due to RoleStateUnknown

What I will suggest that you do is to try the resolution that has been given in the link above, and after that you can go ahead and  post your troubleshooting details to the following: Windows Azure Virtual Machines for Windows

By doing that, you will  get someone to assist you further.

Regards,

Carl

 

Login/Register to Answer

Related Questions