Hi Olivier Sallou,<br><br>The image 9277e89c543c1f38badd860d5f4773e8 exists at specified path and <br><br>1. /srv/cloud/one/var/datastores/0/17<br>2. /srv/cloud/one/var/datastores/1/9277e89c543c1f38badd860d5f4773e8<br><a href="mailto:root@192.168.145.82:/srv/cloud/one/var/datastores/0/17/disk.0" target="_blank">3. root@192.168.145.82:/srv/cloud/one/var/datastores/0/17</a><br>
<br>all path exists..<br><br>password-less ssh is also there from opennebula server to xen host<br>
<br><br><div class="gmail_quote">On Fri, Aug 3, 2012 at 7:23 PM, Olivier Sallou <span dir="ltr"><<a href="mailto:olivier.sallou@irisa.fr" target="_blank">olivier.sallou@irisa.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<br>
<div>Le 8/3/12 3:02 PM, Shrey Mehrotra a
écrit :<br>
</div><div class="im">
<blockquote type="cite"><br>
Hi all,<br>
<br>
I am stuck with installing VM in host using onevm command,the
error that i got in log file is as below, please help to find a
solution for it.<br>
</blockquote></div>
Seems you image is missing.<div class="im"><br>
"cd /srv/cloud/one/var/datastores/0/17; cp -r
../../1/9277e89c543c1f38badd860d5f4773e8
/srv/cloud/one/var/datastores/0/17/disk.0"<br>
<br></div>
Have you looked at /srv/cloud/one/var/datastores1/ for your image
9277e89c543c1f38badd860d5f4773e8 ? Is it located elsewhere (an other
datastore?)<br>
<br>
Olivier<br>
<blockquote type="cite"><div><div class="h5"><br clear="all">
Commands i execute are:<br>
<br>
<br>
1. oneimage create image.one -d default<br>
ID:17<br>
<br>
2. onevnet create <a href="http://small_network.net" target="_blank">small_network.net</a><br>
ID:17<br>
<br>
3. onevm create ttylinux.one<br>
ID: 17<br>
<br>
4. onevm list<br>
<br>
ID USER GROUP NAME STAT UCPU UMEM
HOST TIME<br>
<br>
17 oneadmin oneadmin ubuntu18 pend 0
0K 0d 00h00<br>
17 oneadmin oneadmin ubuntu18 prol 0
0K 0d 00h00<br>
17 oneadmin oneadmin ubuntu18 fail 0
0K 0d 00h00<br>
<br>
File Details:-<br>
<br>
1. <a href="http://small_network.net" target="_blank">small_network.net</a><br>
<br>
NAME = "Small network18"<br>
TYPE = FIXED<br>
<br>
#Now we'll use the cluster private network (physical)<br>
BRIDGE = br0<br>
LEASES = [ IP="192.168.145.203"]<br>
LEASES = [ IP="192.168.145.204"]<br>
LEASES = [ IP="192.168.145.205"]<br>
<br>
2. ttylinux.one<br>
<br>
NAME = ubuntu18<br>
CPU = 0.1<br>
MEMORY = 64<br>
<br>
DISK = [ IMAGE_ID = 17 ]<br>
NIC = [ NETWORK_ID = 17 ]<br>
<br>
FEATURES=[ acpi="no" ]<br>
<br>
3. one.image<br>
<br>
NAME = "ubuntu18"<br>
PATH = "/srv/cloud/images/ttylinux.img"<br>
TYPE = OS<br>
<br>
<br>
**** I used the latest ttylinux image available at
<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><span><a href="http://appliances.c12g.com/ttylinux/ttylinux.img" title="http://appliances.c12g.com/ttylinux/ttylinux.img" target="_blank">http://appliances.c12g.com/ttylinux/ttylinux.img</a></span></p>
<br>
Opennebula version :- 3.6.0<br>
Xen Version :- 4.1<br>
<br>
Error Log(oned.log)<br>
<br>
Fri Aug 3 18:20:20 2012 [ONE][I]: Log level:3
[0=ERROR,1=WARNING,2=INFO,3=DEBUG]<br>
Fri Aug 3 18:20:20 2012 [ONE][I]: Checking database version.<br>
Fri Aug 3 18:20:20 2012 [VMM][I]: Starting Virtual Machine
Manager...<br>
Fri Aug 3 18:20:20 2012 [LCM][I]: Starting Life-cycle Manager...<br>
Fri Aug 3 18:20:20 2012 [InM][I]: Starting Information Manager...<br>
Fri Aug 3 18:20:20 2012 [TrM][I]: Starting Transfer Manager...<br>
Fri Aug 3 18:20:20 2012 [DiM][I]: Starting Dispatch Manager...<br>
Fri Aug 3 18:20:20 2012 [HKM][I]: Starting Hook Manager...<br>
Fri Aug 3 18:20:20 2012 [AuM][I]: Starting Auth Manager...<br>
Fri Aug 3 18:20:20 2012 [ImM][I]: Starting Image Manager...<br>
Fri Aug 3 18:20:20 2012 [ReM][I]: Starting Request Manager...<br>
Fri Aug 3 18:20:20 2012 [VMM][I]: Virtual Machine Manager
started.<br>
Fri Aug 3 18:20:20 2012 [ImM][I]: Image Manager started.<br>
Fri Aug 3 18:20:20 2012 [HKM][I]: Hook Manager started.<br>
Fri Aug 3 18:20:20 2012 [DiM][I]: Dispatch Manager started.<br>
Fri Aug 3 18:20:20 2012 [TrM][I]: Transfer Manager started.<br>
Fri Aug 3 18:20:20 2012 [InM][I]: Information Manager started.<br>
Fri Aug 3 18:20:20 2012 [AuM][I]: Authorization Manager started.<br>
Fri Aug 3 18:20:20 2012 [LCM][I]: Life-cycle Manager started.<br>
Fri Aug 3 18:20:20 2012 [ReM][I]: Starting XML-RPC server, port
2633 ...<br>
Fri Aug 3 18:20:20 2012 [ReM][I]: Request Manager started.<br>
Fri Aug 3 18:20:22 2012 [VMM][I]: Loading Virtual Machine Manager
drivers.<br>
Fri Aug 3 18:20:22 2012 [VMM][I]: Loading driver: vmm_xen
(XEN)<br>
Fri Aug 3 18:20:22 2012 [VMM][I]: Driver vmm_xen loaded.<br>
Fri Aug 3 18:20:22 2012 [InM][I]: Loading Information Manager
drivers.<br>
Fri Aug 3 18:20:22 2012 [InM][I]: Loading driver: im_xen<br>
Fri Aug 3 18:20:22 2012 [InM][I]: Driver im_xen loaded<br>
Fri Aug 3 18:20:22 2012 [TM][I]: Loading Transfer Manager driver.<br>
Fri Aug 3 18:20:22 2012 [TM][I]: Transfer manager driver
loaded<br>
Fri Aug 3 18:20:22 2012 [HKM][I]: Loading Hook Manager driver.<br>
Fri Aug 3 18:20:22 2012 [HKM][I]: Hook Manager loaded<br>
Fri Aug 3 18:20:22 2012 [ImM][I]: Loading Image Manager driver.<br>
Fri Aug 3 18:20:22 2012 [ImM][I]: Image Manager loaded<br>
Fri Aug 3 18:20:22 2012 [AuM][I]: Loading Auth. Manager driver.<br>
Fri Aug 3 18:20:22 2012 [AuM][I]: Auth Manager loaded<br>
Fri Aug 3 18:20:37 2012 [ReM][D]: DatastorePoolInfo method
invoked<br>
Fri Aug 3 18:20:50 2012 [ReM][D]: HostPoolInfo method invoked<br>
Fri Aug 3 18:20:50 2012 [ReM][D]: VirtualMachinePoolInfo method
invoked<br>
Fri Aug 3 18:20:50 2012 [ReM][D]: AclInfo method invoked<br>
Fri Aug 3 18:21:19 2012 [ReM][D]: HostPoolInfo method invoked<br>
Fri Aug 3 18:21:20 2012 [ReM][D]: VirtualMachinePoolInfo method
invoked<br>
Fri Aug 3 18:21:20 2012 [ReM][D]: AclInfo method invoked<br>
Fri Aug 3 18:21:49 2012 [ReM][D]: HostPoolInfo method invoked<br>
Fri Aug 3 18:21:50 2012 [ReM][D]: VirtualMachinePoolInfo method
invoked<br>
Fri Aug 3 18:21:50 2012 [ReM][D]: AclInfo method invoked<br>
Fri Aug 3 18:22:19 2012 [ReM][D]: HostPoolInfo method invoked<br>
Fri Aug 3 18:22:20 2012 [ReM][D]: VirtualMachinePoolInfo method
invoked<br>
Fri Aug 3 18:22:20 2012 [ReM][D]: AclInfo method invoked<br>
Fri Aug 3 18:22:22 2012 [ReM][D]: DatastorePoolInfo method
invoked<br>
Fri Aug 3 18:22:30 2012 [ReM][D]: DatastorePoolInfo method
invoked<br>
Fri Aug 3 18:22:30 2012 [ReM][D]: ImageAllocate method invoked<br>
Fri Aug 3 18:22:30 2012 [ImG][D]: Message received: LOG I 0
ExitCode: 0<br>
<br>
Fri Aug 3 18:22:30 2012 [ImM][I]: ExitCode: 0<br>
Fri Aug 3 18:22:30 2012 [ImG][D]: Message received: STAT SUCCESS
0 40<br>
<br>
Fri Aug 3 18:22:31 2012 [ImM][I]: Copying
/srv/cloud/images/ttylinux.img to repository for image 17<br>
Fri Aug 3 18:22:31 2012 [ImG][D]: Message received: LOG I 17 cp:
Copying local image /srv/cloud/images/ttylinux.img to the image
repository<br>
<br>
Fri Aug 3 18:22:31 2012 [ImM][I]: cp: Copying local image
/srv/cloud/images/ttylinux.img to the image repository<br>
Fri Aug 3 18:22:31 2012 [ImG][D]: Message received: LOG I 17
ExitCode: 0<br>
<br>
Fri Aug 3 18:22:31 2012 [ImM][I]: ExitCode: 0<br>
Fri Aug 3 18:22:31 2012 [ImG][D]: Message received: CP SUCCESS 17
/srv/cloud/one/var/datastores/1/9277e89c543c1f38badd860d5f4773e8<br>
<br>
Fri Aug 3 18:22:31 2012 [ImM][I]: Image copied and ready to use.<br>
Fri Aug 3 18:22:49 2012 [ReM][D]: HostPoolInfo method invoked<br>
Fri Aug 3 18:22:50 2012 [ReM][D]: VirtualMachinePoolInfo method
invoked<br>
Fri Aug 3 18:22:50 2012 [ReM][D]: AclInfo method invoked<br>
Fri Aug 3 18:22:56 2012 [InM][I]: Monitoring host <a href="mailto:root@192.168.145.82" target="_blank">root@192.168.145.82</a>
(1)<br>
Fri Aug 3 18:23:04 2012 [InM][I]: ExitCode: 0<br>
Fri Aug 3 18:23:04 2012 [InM][D]: Host 1 successfully monitored.<br>
Fri Aug 3 18:23:09 2012 [ReM][D]: VirtualNetworkAllocate method
invoked<br>
Fri Aug 3 18:23:19 2012 [ReM][D]: HostPoolInfo method invoked<br>
Fri Aug 3 18:23:20 2012 [ReM][D]: VirtualMachinePoolInfo method
invoked<br>
Fri Aug 3 18:23:20 2012 [ReM][D]: AclInfo method invoked<br>
Fri Aug 3 18:23:49 2012 [ReM][D]: HostPoolInfo method invoked<br>
Fri Aug 3 18:23:50 2012 [ReM][D]: VirtualMachinePoolInfo method
invoked<br>
Fri Aug 3 18:23:50 2012 [ReM][D]: AclInfo method invoked<br>
Fri Aug 3 18:23:58 2012 [ReM][D]: VirtualMachineAllocate method
invoked<br>
Fri Aug 3 18:24:06 2012 [ReM][D]: VirtualMachinePoolInfo method
invoked<br>
Fri Aug 3 18:24:19 2012 [ReM][D]: HostPoolInfo method invoked<br>
Fri Aug 3 18:24:20 2012 [ReM][D]: VirtualMachinePoolInfo method
invoked<br>
Fri Aug 3 18:24:20 2012 [ReM][D]: AclInfo method invoked<br>
Fri Aug 3 18:24:20 2012 [ReM][D]: VirtualMachineDeploy method
invoked<br>
Fri Aug 3 18:24:20 2012 [DiM][D]: Deploying VM 17<br>
Fri Aug 3 18:24:27 2012 [TM][D]: Message received: LOG I 17
Command execution fail: /srv/cloud/one/var/remotes/tm/shared/clone
opennebulaserver:/srv/cloud/one/var/datastores/1/9277e89c543c1f38badd860d5f4773e8
<a href="mailto:root@192.168.145.82:/srv/cloud/one/var/datastores/0/17/disk.0" target="_blank">root@192.168.145.82:/srv/cloud/one/var/datastores/0/17/disk.0</a> 17 1<br>
<br>
Fri Aug 3 18:24:27 2012 [TM][D]: Message received: LOG I 17
clone: Cloning ../../1/9277e89c543c1f38badd860d5f4773e8 in
<a href="mailto:root@192.168.145.82:/srv/cloud/one/var/datastores/0/17/disk.0" target="_blank">root@192.168.145.82:/srv/cloud/one/var/datastores/0/17/disk.0</a><br>
<br>
Fri Aug 3 18:24:27 2012 [TM][D]: Message received: LOG E 17
clone: Command "cd /srv/cloud/one/var/datastores/0/17; cp -r
../../1/9277e89c543c1f38badd860d5f4773e8
/srv/cloud/one/var/datastores/0/17/disk.0" <b>failed: cp: cannot
stat</b> `../../1/9277e89c543c1f38badd860d5f4773e8':<b> No such
file or directory</b><br>
<br>
Fri Aug 3 18:24:27 2012 [TM][D]: Message received: LOG E 17 Error
copying
opennebulaserver:/srv/cloud/one/var/datastores/1/9277e89c543c1f38badd860d5f4773e8
to <a href="mailto:root@192.168.145.82:/srv/cloud/one/var/datastores/0/17/disk.0" target="_blank">root@192.168.145.82:/srv/cloud/one/var/datastores/0/17/disk.0</a><br>
<br>
Fri Aug 3 18:24:27 2012 [TM][D]: Message received: LOG I 17
ExitCode: 1<br>
<br>
Fri Aug 3 18:24:27 2012 [TM][D]: Message received: TRANSFER
FAILURE 17 Error copying
opennebulaserver:/srv/cloud/one/var/datastores/1/9277e89c543c1f38badd860d5f4773e8
to <a href="mailto:root@192.168.145.82:/srv/cloud/one/var/datastores/0/17/disk.0" target="_blank">root@192.168.145.82:/srv/cloud/one/var/datastores/0/17/disk.0</a><br>
<br>
Fri Aug 3 18:24:49 2012 [ReM][D]: HostPoolInfo method invoked<br>
Fri Aug 3 18:24:50 2012 [ReM][D]: VirtualMachinePoolInfo method
invoked<br>
Fri Aug 3 18:24:50 2012 [ReM][D]: AclInfo method invoked<br>
Fri Aug 3 18:25:02 2012 [ReM][D]: VirtualMachinePoolInfo method
invoked<br>
Fri Aug 3 18:25:19 2012 [ReM][D]: HostPoolInfo method invoked<br>
Fri Aug 3 18:25:20 2012 [ReM][D]: VirtualMachinePoolInfo method
invoked<br>
Fri Aug 3 18:25:20 2012 [ReM][D]: AclInfo method invoked<br>
Fri Aug 3 18:25:49 2012 [ReM][D]: HostPoolInfo method invoked<br>
Fri Aug 3 18:25:50 2012 [ReM][D]: VirtualMachinePoolInfo method
invoked<br>
Fri Aug 3 18:25:50 2012 [ReM][D]: AclInfo method invoked<br>
Fri Aug 3 18:26:19 2012 [ReM][D]: HostPoolInfo method invoked<br>
Fri Aug 3 18:26:20 2012 [ReM][D]: VirtualMachinePoolInfo method
invoked<br>
Fri Aug 3 18:26:20 2012 [ReM][D]: AclInfo method invoked<br>
<br>
Thanks<br>
Shrey Mehrotra<br>
Impetus Infotech India Pvt. Ltd<br>
Mob. 09953241734<br>
<br>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><span class="HOEnZb"><font color="#888888">
</font></span></pre><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<pre cols="72">--
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95
gpg key id: 4096R/326D8438 (<a href="http://keyring.debian.org" target="_blank">keyring.debian.org</a>)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438
</pre>
</font></span></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br>