[one-users] One VM create fails in prolog state

Shrey Mehrotra shrey.jssian at gmail.com
Fri Aug 3 07:19:58 PDT 2012


Hi Olivier Sallou,

The image 9277e89c543c1f38badd860d5f4773e8 exists at specified path and

1. /srv/cloud/one/var/datastores/0/17
2. /srv/cloud/one/var/datastores/1/9277e89c543c1f38badd860d5f4773e8
3. root at 192.168.145.82:/srv/cloud/one/var/datastores/0/17<root at 192.168.145.82:/srv/cloud/one/var/datastores/0/17/disk.0>

all path exists..

password-less ssh is also there from opennebula server to xen host


On Fri, Aug 3, 2012 at 7:23 PM, Olivier Sallou <olivier.sallou at irisa.fr>wrote:

>
> Le 8/3/12 3:02 PM, Shrey Mehrotra a écrit :
>
>
> Hi all,
>
> 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.
>
> Seems you image is missing.
>
> "cd /srv/cloud/one/var/datastores/0/17; cp -r
> ../../1/9277e89c543c1f38badd860d5f4773e8
> /srv/cloud/one/var/datastores/0/17/disk.0"
>
> Have you looked at /srv/cloud/one/var/datastores1/ for your image
> 9277e89c543c1f38badd860d5f4773e8 ? Is it located elsewhere (an other
> datastore?)
>
> Olivier
>
>
> Commands i execute are:
>
>
> 1. oneimage create image.one -d default
> ID:17
>
> 2. onevnet create small_network.net
> ID:17
>
> 3.  onevm create ttylinux.one
> ID: 17
>
> 4. onevm list
>
>    ID USER     GROUP    NAME            STAT UCPU    UMEM HOST
> TIME
>
>     17 oneadmin oneadmin ubuntu18        pend    0      0K              0d
> 00h00
>     17 oneadmin oneadmin ubuntu18        prol      0      0K
> 0d 00h00
>      17 oneadmin oneadmin ubuntu18       fail    0
> 0K              0d 00h00
>
> File Details:-
>
> 1. small_network.net
>
> NAME = "Small network18"
> TYPE = FIXED
>
> #Now we'll use the cluster private network (physical)
> BRIDGE = br0
> LEASES = [ IP="192.168.145.203"]
> LEASES = [ IP="192.168.145.204"]
> LEASES = [ IP="192.168.145.205"]
>
> 2. ttylinux.one
>
> NAME   = ubuntu18
> CPU    = 0.1
> MEMORY = 64
>
> DISK = [ IMAGE_ID = 17 ]
> NIC = [ NETWORK_ID = 17 ]
>
> FEATURES=[ acpi="no" ]
>
> 3. one.image
>
> NAME = "ubuntu18"
> PATH = "/srv/cloud/images/ttylinux.img"
> TYPE = OS
>
>
> **** I used the latest ttylinux image available at
>
> http://appliances.c12g.com/ttylinux/ttylinux.img
>
> Opennebula version :- 3.6.0
> Xen Version :- 4.1
>
> Error Log(oned.log)
>
> Fri Aug  3 18:20:20 2012 [ONE][I]: Log level:3
> [0=ERROR,1=WARNING,2=INFO,3=DEBUG]
> Fri Aug  3 18:20:20 2012 [ONE][I]: Checking database version.
> Fri Aug  3 18:20:20 2012 [VMM][I]: Starting Virtual Machine Manager...
> Fri Aug  3 18:20:20 2012 [LCM][I]: Starting Life-cycle Manager...
> Fri Aug  3 18:20:20 2012 [InM][I]: Starting Information Manager...
> Fri Aug  3 18:20:20 2012 [TrM][I]: Starting Transfer Manager...
> Fri Aug  3 18:20:20 2012 [DiM][I]: Starting Dispatch Manager...
> Fri Aug  3 18:20:20 2012 [HKM][I]: Starting Hook Manager...
> Fri Aug  3 18:20:20 2012 [AuM][I]: Starting Auth Manager...
> Fri Aug  3 18:20:20 2012 [ImM][I]: Starting Image Manager...
> Fri Aug  3 18:20:20 2012 [ReM][I]: Starting Request Manager...
> Fri Aug  3 18:20:20 2012 [VMM][I]: Virtual Machine Manager started.
> Fri Aug  3 18:20:20 2012 [ImM][I]: Image Manager started.
> Fri Aug  3 18:20:20 2012 [HKM][I]: Hook Manager started.
> Fri Aug  3 18:20:20 2012 [DiM][I]: Dispatch Manager started.
> Fri Aug  3 18:20:20 2012 [TrM][I]: Transfer Manager started.
> Fri Aug  3 18:20:20 2012 [InM][I]: Information Manager started.
> Fri Aug  3 18:20:20 2012 [AuM][I]: Authorization Manager started.
> Fri Aug  3 18:20:20 2012 [LCM][I]: Life-cycle Manager started.
> Fri Aug  3 18:20:20 2012 [ReM][I]: Starting XML-RPC server, port 2633 ...
> Fri Aug  3 18:20:20 2012 [ReM][I]: Request Manager started.
> Fri Aug  3 18:20:22 2012 [VMM][I]: Loading Virtual Machine Manager drivers.
> Fri Aug  3 18:20:22 2012 [VMM][I]:     Loading driver: vmm_xen (XEN)
> Fri Aug  3 18:20:22 2012 [VMM][I]:     Driver vmm_xen loaded.
> Fri Aug  3 18:20:22 2012 [InM][I]: Loading Information Manager drivers.
> Fri Aug  3 18:20:22 2012 [InM][I]:     Loading driver: im_xen
> Fri Aug  3 18:20:22 2012 [InM][I]:     Driver im_xen loaded
> Fri Aug  3 18:20:22 2012 [TM][I]: Loading Transfer Manager driver.
> Fri Aug  3 18:20:22 2012 [TM][I]:     Transfer manager driver loaded
> Fri Aug  3 18:20:22 2012 [HKM][I]: Loading Hook Manager driver.
> Fri Aug  3 18:20:22 2012 [HKM][I]:     Hook Manager loaded
> Fri Aug  3 18:20:22 2012 [ImM][I]: Loading Image Manager driver.
> Fri Aug  3 18:20:22 2012 [ImM][I]:     Image Manager loaded
> Fri Aug  3 18:20:22 2012 [AuM][I]: Loading Auth. Manager driver.
> Fri Aug  3 18:20:22 2012 [AuM][I]:     Auth Manager loaded
> Fri Aug  3 18:20:37 2012 [ReM][D]: DatastorePoolInfo method invoked
> Fri Aug  3 18:20:50 2012 [ReM][D]: HostPoolInfo method invoked
> Fri Aug  3 18:20:50 2012 [ReM][D]: VirtualMachinePoolInfo method invoked
> Fri Aug  3 18:20:50 2012 [ReM][D]: AclInfo method invoked
> Fri Aug  3 18:21:19 2012 [ReM][D]: HostPoolInfo method invoked
> Fri Aug  3 18:21:20 2012 [ReM][D]: VirtualMachinePoolInfo method invoked
> Fri Aug  3 18:21:20 2012 [ReM][D]: AclInfo method invoked
> Fri Aug  3 18:21:49 2012 [ReM][D]: HostPoolInfo method invoked
> Fri Aug  3 18:21:50 2012 [ReM][D]: VirtualMachinePoolInfo method invoked
> Fri Aug  3 18:21:50 2012 [ReM][D]: AclInfo method invoked
> Fri Aug  3 18:22:19 2012 [ReM][D]: HostPoolInfo method invoked
> Fri Aug  3 18:22:20 2012 [ReM][D]: VirtualMachinePoolInfo method invoked
> Fri Aug  3 18:22:20 2012 [ReM][D]: AclInfo method invoked
> Fri Aug  3 18:22:22 2012 [ReM][D]: DatastorePoolInfo method invoked
> Fri Aug  3 18:22:30 2012 [ReM][D]: DatastorePoolInfo method invoked
> Fri Aug  3 18:22:30 2012 [ReM][D]: ImageAllocate method invoked
> Fri Aug  3 18:22:30 2012 [ImG][D]: Message received: LOG I 0 ExitCode: 0
>
> Fri Aug  3 18:22:30 2012 [ImM][I]: ExitCode: 0
> Fri Aug  3 18:22:30 2012 [ImG][D]: Message received: STAT SUCCESS 0 40
>
> Fri Aug  3 18:22:31 2012 [ImM][I]: Copying /srv/cloud/images/ttylinux.img
> to repository for image 17
> 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
>
> Fri Aug  3 18:22:31 2012 [ImM][I]: cp: Copying local image
> /srv/cloud/images/ttylinux.img to the image repository
> Fri Aug  3 18:22:31 2012 [ImG][D]: Message received: LOG I 17 ExitCode: 0
>
> Fri Aug  3 18:22:31 2012 [ImM][I]: ExitCode: 0
> Fri Aug  3 18:22:31 2012 [ImG][D]: Message received: CP SUCCESS 17
> /srv/cloud/one/var/datastores/1/9277e89c543c1f38badd860d5f4773e8
>
> Fri Aug  3 18:22:31 2012 [ImM][I]: Image copied and ready to use.
> Fri Aug  3 18:22:49 2012 [ReM][D]: HostPoolInfo method invoked
> Fri Aug  3 18:22:50 2012 [ReM][D]: VirtualMachinePoolInfo method invoked
> Fri Aug  3 18:22:50 2012 [ReM][D]: AclInfo method invoked
> Fri Aug  3 18:22:56 2012 [InM][I]: Monitoring host root at 192.168.145.82 (1)
> Fri Aug  3 18:23:04 2012 [InM][I]: ExitCode: 0
> Fri Aug  3 18:23:04 2012 [InM][D]: Host 1 successfully monitored.
> Fri Aug  3 18:23:09 2012 [ReM][D]: VirtualNetworkAllocate method invoked
> Fri Aug  3 18:23:19 2012 [ReM][D]: HostPoolInfo method invoked
> Fri Aug  3 18:23:20 2012 [ReM][D]: VirtualMachinePoolInfo method invoked
> Fri Aug  3 18:23:20 2012 [ReM][D]: AclInfo method invoked
> Fri Aug  3 18:23:49 2012 [ReM][D]: HostPoolInfo method invoked
> Fri Aug  3 18:23:50 2012 [ReM][D]: VirtualMachinePoolInfo method invoked
> Fri Aug  3 18:23:50 2012 [ReM][D]: AclInfo method invoked
> Fri Aug  3 18:23:58 2012 [ReM][D]: VirtualMachineAllocate method invoked
> Fri Aug  3 18:24:06 2012 [ReM][D]: VirtualMachinePoolInfo method invoked
> Fri Aug  3 18:24:19 2012 [ReM][D]: HostPoolInfo method invoked
> Fri Aug  3 18:24:20 2012 [ReM][D]: VirtualMachinePoolInfo method invoked
> Fri Aug  3 18:24:20 2012 [ReM][D]: AclInfo method invoked
> Fri Aug  3 18:24:20 2012 [ReM][D]: VirtualMachineDeploy method invoked
> Fri Aug  3 18:24:20 2012 [DiM][D]: Deploying VM 17
> 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
> root at 192.168.145.82:/srv/cloud/one/var/datastores/0/17/disk.0 17 1
>
> Fri Aug  3 18:24:27 2012 [TM][D]: Message received: LOG I 17 clone:
> Cloning ../../1/9277e89c543c1f38badd860d5f4773e8 in
> root at 192.168.145.82:/srv/cloud/one/var/datastores/0/17/disk.0
>
> 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" *failed: cp: cannot stat*`../../1/9277e89c543c1f38badd860d5f4773e8':
> * No such file or directory*
>
> 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 root at 192.168.145.82:/srv/cloud/one/var/datastores/0/17/disk.0
>
> Fri Aug  3 18:24:27 2012 [TM][D]: Message received: LOG I 17 ExitCode: 1
>
> 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 root at 192.168.145.82:/srv/cloud/one/var/datastores/0/17/disk.0
>
> Fri Aug  3 18:24:49 2012 [ReM][D]: HostPoolInfo method invoked
> Fri Aug  3 18:24:50 2012 [ReM][D]: VirtualMachinePoolInfo method invoked
> Fri Aug  3 18:24:50 2012 [ReM][D]: AclInfo method invoked
> Fri Aug  3 18:25:02 2012 [ReM][D]: VirtualMachinePoolInfo method invoked
> Fri Aug  3 18:25:19 2012 [ReM][D]: HostPoolInfo method invoked
> Fri Aug  3 18:25:20 2012 [ReM][D]: VirtualMachinePoolInfo method invoked
> Fri Aug  3 18:25:20 2012 [ReM][D]: AclInfo method invoked
> Fri Aug  3 18:25:49 2012 [ReM][D]: HostPoolInfo method invoked
> Fri Aug  3 18:25:50 2012 [ReM][D]: VirtualMachinePoolInfo method invoked
> Fri Aug  3 18:25:50 2012 [ReM][D]: AclInfo method invoked
> Fri Aug  3 18:26:19 2012 [ReM][D]: HostPoolInfo method invoked
> Fri Aug  3 18:26:20 2012 [ReM][D]: VirtualMachinePoolInfo method invoked
> Fri Aug  3 18:26:20 2012 [ReM][D]: AclInfo method invoked
>
> Thanks
> Shrey Mehrotra
> Impetus Infotech India Pvt. Ltd
> Mob. 09953241734
>
>
>
> _______________________________________________
> Users mailing listUsers at lists.opennebula.orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
> --
> 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
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120803/c3528c9f/attachment-0003.htm>


More information about the Users mailing list