[one-users] VM Creation Problem

ankit anand ankit.s.anand at gmail.com
Tue Jun 5 07:56:59 PDT 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120605/e2b64ed0/attachment-0002.htm>


More information about the Users mailing list