Check the log file from the physical node. It should be located at /var/log/libvirt/qemu/one-7.log.
On Fri, Jun 1, 2012 at 4:41 PM, Piyush Harsh <piyush.ha...@inria.fr> wrote: > Hi Hector, > > I changed the dynamic ownership flag in qemu conf to 0 and now I get a > slightly different type of error > > Fri Jun 1 16:34:45 2012 [DiM][I]: New VM state is ACTIVE. > Fri Jun 1 16:34:45 2012 [LCM][I]: New VM state is PROLOG. > Fri Jun 1 16:34:45 2012 [VM][I]: Virtual Machine has no context > Fri Jun 1 16:37:21 2012 [TM][I]: clone: Cloning > ../../1/eab43c8ed6cddb5a761d96fb3198a79f in > 127.0.0.1:/srv/cloud/one3/var//datastores/0/7/disk.0 > Fri Jun 1 16:37:21 2012 [TM][I]: ExitCode: 0 > Fri Jun 1 16:37:24 2012 [LCM][I]: New VM state is BOOT > Fri Jun 1 16:37:24 2012 [VMM][I]: Generating deployment file: > /srv/cloud/one3/var/7/deployment.0 > Fri Jun 1 16:37:24 2012 [VMM][I]: ExitCode: 0 > Fri Jun 1 16:37:24 2012 [VMM][I]: Successfully execute network driver > operation: pre. > Fri Jun 1 16:37:25 2012 [VMM][I]: Command execution fail: cat << EOT | > /var/tmp/one3/vmm/kvm/deploy > /srv/cloud/one3/var//datastores/0/7/deployment.0 127.0.0.1 7 127.0.0.1 > Fri Jun 1 16:37:25 2012 [VMM][I]: error: Failed to create domain from > /srv/cloud/one3/var//datastores/0/7/deployment.0 > Fri Jun 1 16:37:25 2012 [VMM][I]: error: server closed connection: > Fri Jun 1 16:37:25 2012 [VMM][E]: Could not create domain from > /srv/cloud/one3/var//datastores/0/7/deployment.0 > Fri Jun 1 16:37:25 2012 [VMM][I]: ExitCode: 255 > Fri Jun 1 16:37:25 2012 [VMM][I]: Failed to execute virtualization driver > operation: deploy. > Fri Jun 1 16:37:25 2012 [VMM][E]: Error deploying virtual machine: Could > not create domain from /srv/cloud/one3/var//datastores/0/7/deployment.0 > Fri Jun 1 16:37:26 2012 [DiM][I]: New VM state is FAILED > > Kind regards, > Piyush > > > On Fri 01 Jun 2012 03:25:00 PM CEST, Piyush Harsh wrote: >> >> Hi Hector, >> >> Thank you for your response, now I get new errors, seems qemu dependent: >> >> Fri Jun 1 15:17:48 2012 [DiM][I]: New VM state is ACTIVE. >> Fri Jun 1 15:17:48 2012 [LCM][I]: New VM state is PROLOG. >> Fri Jun 1 15:17:48 2012 [VM][I]: Virtual Machine has no context >> Fri Jun 1 15:20:32 2012 [TM][I]: clone: Cloning >> ../../1/eab43c8ed6cddb5a761d96fb3198a79f in >> 127.0.0.1:/srv/cloud/one3/var//datastores/0/3/disk.0 >> Fri Jun 1 15:20:32 2012 [TM][I]: ExitCode: 0 >> Fri Jun 1 15:20:33 2012 [LCM][I]: New VM state is BOOT >> Fri Jun 1 15:20:33 2012 [VMM][I]: Generating deployment file: >> /srv/cloud/one3/var/3/deployment.0 >> Fri Jun 1 15:20:34 2012 [VMM][I]: ExitCode: 0 >> Fri Jun 1 15:20:34 2012 [VMM][I]: Successfully execute network driver >> operation: pre. >> Fri Jun 1 15:20:39 2012 [VMM][I]: Command execution fail: cat << EOT | >> /var/tmp/one3/vmm/kvm/deploy >> /srv/cloud/one3/var//datastores/0/3/deployment.0 127.0.0.1 3 127.0.0.1 >> Fri Jun 1 15:20:39 2012 [VMM][I]: error: Failed to create domain from >> /srv/cloud/one3/var//datastores/0/3/deployment.0 >> Fri Jun 1 15:20:39 2012 [VMM][I]: error: internal error process exited >> while connecting to monitor: qemu: could not open disk image >> /srv/cloud/one3/var//datastores/0/3/disk.0: Permission denied >> Fri Jun 1 15:20:39 2012 [VMM][I]: >> Fri Jun 1 15:20:39 2012 [VMM][E]: Could not create domain from >> /srv/cloud/one3/var//datastores/0/3/deployment.0 >> Fri Jun 1 15:20:39 2012 [VMM][I]: ExitCode: 255 >> Fri Jun 1 15:20:39 2012 [VMM][I]: Failed to execute virtualization >> driver operation: deploy. >> Fri Jun 1 15:20:39 2012 [VMM][E]: Error deploying virtual machine: >> Could not create domain from >> /srv/cloud/one3/var//datastores/0/3/deployment.0 >> Fri Jun 1 15:20:39 2012 [DiM][I]: New VM state is FAILED >> >> I checked the disk file and they have ownership:group as root:root. Is >> that normal? >> >> Piyush >> >> On Fri 01 Jun 2012 03:13:08 PM CEST, Hector Sanjuan wrote: >>> >>> restarting opennebula would probably be enough, also you can run >>> 'onehost sync' and the scripts will be copied in the next >>> monitorization round. >>> >>> Hector >>> >>> En Fri, 01 Jun 2012 15:10:43 +0200, Piyush Harsh >>> <piyush.ha...@inria.fr> escribió: >>> >>>> Hi Hector, >>>> >>>> The tmp directory /var/tmp/one is used by my opennebula 2.2.1 >>>> standalone installation, I changed the tmp path in 3.4.1 setup to >>>> /var/tmp/one3 and gave permissions to oneadmin3 user to write to it. >>>> >>>> How do I sync up this folder so that it contains all monitoring >>>> scripts and drivers? >>>> >>>> Kind regards, >>>> Piyush. >>>> >>>> >>>> >>Looks like opennebula user does not have permission to do this: >>>> >> >>>> >>scp -r /srv/cloud/one3/var/remotes//. 127.0.0.1:/var/tmp/one >>>> >> >>>> >>Check that /var/tmp/one has the correct permissions so that >>>> oneadmin >>can write to it. >>>> >> >>>> >>Hector >>> >>> >>> >> >> -- >> Dr. Piyush Harsh, R&D Engineer, INRIA >> CONTRAIL Project, INRIA Rennes - Bretagne Atlantique >> Campus universitaire de Beaulieu, 35042 Rennes cedex, France >> Phone. +33 2 99 84 71 48 - Fax. +33 2 99 84 71 71 >> http://www.irisa.fr/myriads/ >> http://www.cise.ufl.edu/~pharsh/portfolio/ >> [Backup Site] http://info-piyush.rhcloud.com/ > > > -- > Dr. Piyush Harsh, R&D Engineer, INRIA > CONTRAIL Project, INRIA Rennes - Bretagne Atlantique > Campus universitaire de Beaulieu, 35042 Rennes cedex, France > Phone. +33 2 99 84 71 48 - Fax. +33 2 99 84 71 71 > http://www.irisa.fr/myriads/ > http://www.cise.ufl.edu/~pharsh/portfolio/ > [Backup Site] http://info-piyush.rhcloud.com/ > _______________________________________________ > Users mailing list > Users@lists.opennebula.org > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Javier Fontán Muiños Project Engineer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org | jfon...@opennebula.org | @OpenNebula _______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org