[one-users] Getting errors trying to execute demo VM.

Jason Fairfield pegasusjf at siu.edu
Thu Jul 26 17:02:04 PDT 2012


 First, what is the 3.6 equivalent for this command (from the Open Nebula
Book):

*onehost create host09 im_kvm vmm_kvm tm_ssh dummy*

Trying to follow the man page as closely as possible I'm using this:
onehost create host09 -i im_kvm -v vmm_kvm -n dummy

But trying to run that basic vm image from chapter 5 is apparently getting
transfer errors.

ssh is passwordless, oneadmin is set for no password sudo.  There seems to
be transfer issues, but I'm at a loss what could be causing them.

It's possible that the ttylinux demo vm given by the book is obsolete.
Also, I tried to change the setup from shared to ssh (though I forget
exactly how) but that did not help.


my commands

 ID NAME            CLUSTER   RVM TCPU FCPU ACPU    TMEM    FMEM    AMEM
STAT
   1 host09          -           0  200  200  200    3.8G    3.5G    3.8G
on
oneadmin at cloudadmin-OptiPlex-380:/tmp/ttylinux$ onevnet create
small_network.netID: 2
oneadmin at cloudadmin-OptiPlex-380:/tmp/ttylinux$ oneimage create image.one
Datastore to save the image is mandatory:
     -d datastore_id
oneadmin at cloudadmin-OptiPlex-380:/tmp/ttylinux$ oneimage create image.one
-d default
ID: 3
oneadmin at cloudadmin-OptiPlex-380:/tmp/ttylinux$ onevm create ttylinux.one
ID: 5
oneadmin at cloudadmin-OptiPlex-380:/tmp/ttylinux$ onevm list
    ID USER     GROUP    NAME            STAT UCPU    UMEM HOST
TIME
     5 oneadmin oneadmin ttylinux        pend    0      0K              0d
00h00
oneadmin at cloudadmin-OptiPlex-380:/tmp/ttylinux$


from oned.log

Thu Jul 26 01:49:53 2012 [DiM][D]: Deploying VM 5
Thu Jul 26 01:49:54 2012 [TM][D]: Message received: LOG I 5 Command
execution fail: /srv/cloud/one01/var/remotes/tm/shared/clone
cloudadmin-OptiPlex-380:/srv/cloud/one01/var/datastores/1/d6b8087d48a73ac946e1780aefc4d964
host09:/srv/cloud/one01/var//datastores/0/5/disk.0 5 1

Thu Jul 26 01:49:54 2012 [TM][D]: Message received: LOG I 5 clone: Cloning
../../1/d6b8087d48a73ac946e1780aefc4d964 in
host09:/srv/cloud/one01/var//datastores/0/5/disk.0

Thu Jul 26 01:49:54 2012 [TM][D]: Message received: LOG E 5 clone: Command
"cd /srv/cloud/one01/var/datastores/0/5; cp -r
../../1/d6b8087d48a73ac946e1780aefc4d964
/srv/cloud/one01/var/datastores/0/5/disk.0" failed: cd: 1: can't cd to
/srv/cloud/one01/var/datastores/0/5

Thu Jul 26 01:49:54 2012 [TM][D]: Message received: LOG I 5 cp: cannot stat
`../../1/d6b8087d48a73ac946e1780aefc4d964': No such file or directory

Thu Jul 26 01:49:54 2012 [TM][D]: Message received: LOG E 5 Error copying
cloudadmin-OptiPlex-380:/srv/cloud/one01/var/datastores/1/d6b8087d48a73ac946e1780aefc4d964
to host09:/srv/cloud/one01/var//datastores/0/5/disk.0

Thu Jul 26 01:49:54 2012 [TM][D]: Message received: LOG I 5 ExitCode: 1

Thu Jul 26 01:49:54 2012 [TM][D]: Message received: TRANSFER FAILURE 5
Error copying
cloudadmin-OptiPlex-380:/srv/cloud/one01/var/datastores/1/d6b8087d48a73ac946e1780aefc4d964
to host09:/srv/cloud/one01/var//datastores/0/5/disk.0

Thu Jul 26 01:49:54 2012 [ReM][D]: VirtualMachineAction method invoked
Thu Jul 26 01:49:55 2012 [HKM][D]: Message received: LOG I 5 ExitCode: 0

Thu Jul 26 01:49:55 2012 [HKM][D]: Message received: EXECUTE SUCCESS 5
on_failure_resubmit:

Thu Jul 26 01:49:55 2012 [TM][D]: Message received: LOG I 5 ExitCode: 0

Thu Jul 26 01:49:55 2012 [TM][D]: Message received: LOG I 5 delete:
Deleting /srv/cloud/one01/var/datastores/0/5

Thu Jul 26 01:49:55 2012 [TM][D]: Message received: LOG I 5 ExitCode: 0

Thu Jul 26 01:49:55 2012 [TM][D]: Message received: TRANSFER SUCCESS 5 -

Thu Jul 26 01:50:08 2012 [ReM][D]: VirtualMachinePoolInfo method invoked
Thu Jul 26 01:50:22 2012 [ReM][D]: HostPoolInfo method invoked
Thu Jul 26 01:50:22 2012 [ReM][D]: VirtualMachinePoolInfo method invoked
Thu Jul 26 01:50:22 2012 [ReM][D]: AclInfo method invoked
Thu Jul 26 01:50:22 2012 [ReM][D]: VirtualMachineDeploy method invoked
Thu Jul 26 01:50:23 2012 [DiM][D]: Deploying VM 5
Thu Jul 26 01:50:23 2012 [TM][D]: Message received: LOG I 5 Command
execution fail: /srv/cloud/one01/var/remotes/tm/shared/clone
cloudadmin-OptiPlex-380:/srv/cloud/one01/var/datastores/1/d6b8087d48a73ac946e1780aefc4d964
host09:/srv/cloud/one01/var//datastores/0/5/disk.0 5 1


from the vm.log

Thu Jul 26 01:49:53 2012 [VM][I]: Virtual Machine has no context
Thu Jul 26 01:49:54 2012 [TM][I]: Command execution fail:
/srv/cloud/one01/var/remotes/tm/shared/clone
cloudadmin-OptiPlex-380:/srv/cloud/one01/var/datastores/1/d6b8087d48a73ac946e1780aefc4d964
host09:/srv/cloud/one01/var//datastores/0/5/disk.0 5 1
Thu Jul 26 01:49:54 2012 [TM][I]: clone: Cloning
../../1/d6b8087d48a73ac946e1780aefc4d964 in
host09:/srv/cloud/one01/var//datastores/0/5/disk.0
Thu Jul 26 01:49:54 2012 [TM][E]: clone: Command "cd
/srv/cloud/one01/var/datastores/0/5; cp -r
../../1/d6b8087d48a73ac946e1780aefc4d964
/srv/cloud/one01/var/datastores/0/5/disk.0" failed: cd: 1: can't cd to
/srv/cloud/one01/var/datastores/0/5
Thu Jul 26 01:49:54 2012 [TM][I]: cp: cannot stat
`../../1/d6b8087d48a73ac946e1780aefc4d964': No such file or directory
Thu Jul 26 01:49:54 2012 [TM][E]: Error copying
cloudadmin-OptiPlex-380:/srv/cloud/one01/var/datastores/1/d6b8087d48a73ac946e1780aefc4d964
to host09:/srv/cloud/one01/var//datastores/0/5/disk.0
Thu Jul 26 01:49:54 2012 [TM][I]: ExitCode: 1
Thu Jul 26 01:49:54 2012 [TM][E]: Error executing image transfer script:
Error copying
cloudadmin-OptiPlex-380:/srv/cloud/one01/var/datastores/1/d6b8087d48a73ac946e1780aefc4d964
to host09:/srv/cloud/one01/var//datastores/0/5/disk.0
Thu Jul 26 01:49:54 2012 [DiM][I]: New VM state is FAILED
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120726/b2cbccce/attachment-0002.htm>


More information about the Users mailing list