<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">Le 8/3/12 3:02 PM, Shrey Mehrotra a
écrit :<br>
</div>
<blockquote
cite="mid:CAMLyr_Xfc1RPyBzdHEfm4MH2n6aLje5UotJnbY_zQ92=cGL6tw@mail.gmail.com"
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>
Seems you image is missing.<br>
"cd /srv/cloud/one/var/datastores/0/17; cp -r
../../1/9277e89c543c1f38badd860d5f4773e8
/srv/cloud/one/var/datastores/0/17/disk.0"<br>
<br>
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
cite="mid:CAMLyr_Xfc1RPyBzdHEfm4MH2n6aLje5UotJnbY_zQ92=cGL6tw@mail.gmail.com"
type="cite"><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 moz-do-not-send="true"
href="http://small_network.net">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 moz-do-not-send="true" href="http://small_network.net">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
style="font-size:10.0pt;font-family:"Segoe
UI","sans-serif";color:black"><a
moz-do-not-send="true"
href="http://appliances.c12g.com/ttylinux/ttylinux.img"
title="http://appliances.c12g.com/ttylinux/ttylinux.img">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
moz-do-not-send="true" href="mailto:root@192.168.145.82">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 class="moz-txt-link-abbreviated" href="mailto:root@192.168.145.82:/srv/cloud/one/var/datastores/0/17/disk.0">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 class="moz-txt-link-abbreviated" href="mailto:root@192.168.145.82:/srv/cloud/one/var/datastores/0/17/disk.0">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 class="moz-txt-link-abbreviated" href="mailto:root@192.168.145.82:/srv/cloud/one/var/datastores/0/17/disk.0">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 class="moz-txt-link-abbreviated" href="mailto:root@192.168.145.82:/srv/cloud/one/var/datastores/0/17/disk.0">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 class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" 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 (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438
</pre>
</body>
</html>