First, what is the 3.6 equivalent for this command (from the Open Nebula Book):<br><pre><span><b>onehost create host09 im_kvm vmm_kvm <span>tm_ssh</span> dummy</b></span></pre>
Trying to follow the man page as closely as possible I'm using this:<br>onehost create host09 -i im_kvm -v vmm_kvm -n dummy<br><br>But trying to run that basic vm image from chapter 5 is apparently getting transfer errors.<br>
<br>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.<br><br>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.<br>
<br><br>my commands<br><br> ID NAME CLUSTER RVM TCPU FCPU ACPU TMEM FMEM AMEM STAT <br>
1 host09 - 0 200 200 200 3.8G 3.5G 3.8G on <br>oneadmin@cloudadmin-OptiPlex-380:/tmp/ttylinux$ onevnet create small_network.netID: 2<br>oneadmin@cloudadmin-OptiPlex-380:/tmp/ttylinux$ oneimage create image.one<br>
Datastore to save the image is mandatory: <br> -d datastore_id<br>oneadmin@cloudadmin-OptiPlex-380:/tmp/ttylinux$ oneimage create image.one -d default<br>ID: 3<br>oneadmin@cloudadmin-OptiPlex-380:/tmp/ttylinux$ onevm create ttylinux.one<br>
ID: 5<br>oneadmin@cloudadmin-OptiPlex-380:/tmp/ttylinux$ onevm list<br> ID USER GROUP NAME STAT UCPU UMEM HOST TIME<br> 5 oneadmin oneadmin ttylinux pend 0 0K 0d 00h00<br>
oneadmin@cloudadmin-OptiPlex-380:/tmp/ttylinux$ <br><br><br>from oned.log<br><br>Thu Jul 26 01:49:53 2012 [DiM][D]: Deploying VM 5<br>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<br>
<br>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<br><br>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<br>
<br>Thu Jul 26 01:49:54 2012 [TM][D]: Message received: LOG I 5 cp: cannot stat `../../1/d6b8087d48a73ac946e1780aefc4d964': No such file or directory<br><br>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<br>
<br>Thu Jul 26 01:49:54 2012 [TM][D]: Message received: LOG I 5 ExitCode: 1<br><br>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<br>
<br>Thu Jul 26 01:49:54 2012 [ReM][D]: VirtualMachineAction method invoked<br>Thu Jul 26 01:49:55 2012 [HKM][D]: Message received: LOG I 5 ExitCode: 0<br><br>Thu Jul 26 01:49:55 2012 [HKM][D]: Message received: EXECUTE SUCCESS 5 on_failure_resubmit: <br>
<br>Thu Jul 26 01:49:55 2012 [TM][D]: Message received: LOG I 5 ExitCode: 0<br><br>Thu Jul 26 01:49:55 2012 [TM][D]: Message received: LOG I 5 delete: Deleting /srv/cloud/one01/var/datastores/0/5<br><br>Thu Jul 26 01:49:55 2012 [TM][D]: Message received: LOG I 5 ExitCode: 0<br>
<br>Thu Jul 26 01:49:55 2012 [TM][D]: Message received: TRANSFER SUCCESS 5 -<br><br>Thu Jul 26 01:50:08 2012 [ReM][D]: VirtualMachinePoolInfo method invoked<br>Thu Jul 26 01:50:22 2012 [ReM][D]: HostPoolInfo method invoked<br>
Thu Jul 26 01:50:22 2012 [ReM][D]: VirtualMachinePoolInfo method invoked<br>Thu Jul 26 01:50:22 2012 [ReM][D]: AclInfo method invoked<br>Thu Jul 26 01:50:22 2012 [ReM][D]: VirtualMachineDeploy method invoked<br>Thu Jul 26 01:50:23 2012 [DiM][D]: Deploying VM 5<br>
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<br>
<br><br>from the vm.log<br><br>Thu Jul 26 01:49:53 2012 [VM][I]: Virtual Machine has no context<br>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<br>
Thu Jul 26 01:49:54 2012 [TM][I]: clone: Cloning ../../1/d6b8087d48a73ac946e1780aefc4d964 in host09:/srv/cloud/one01/var//datastores/0/5/disk.0<br>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<br>
Thu Jul 26 01:49:54 2012 [TM][I]: cp: cannot stat `../../1/d6b8087d48a73ac946e1780aefc4d964': No such file or directory<br>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<br>
Thu Jul 26 01:49:54 2012 [TM][I]: ExitCode: 1<br>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<br>
Thu Jul 26 01:49:54 2012 [DiM][I]: New VM state is FAILED<br><br><br>