[one-users] VM's failing
Carlos Martín Sánchez
cmartin at opennebula.org
Fri Jul 27 01:53:18 PDT 2012
Hi,
Looks like you datastore location is not properly exported to the host. By
default, the Transfer Manager (TM) driver for the System (0) and Default
(1) Datastores is 'shared'.
This driver assumes that /var/lib/one/datastores/0 and .../1 are mounted.
More information here:
http://opennebula.org/documentation:rel3.6:sm
Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | cmartin at opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>
On Fri, Jul 27, 2012 at 1:23 AM, Brandon Foster
<brandon.foster at liferay.com>wrote:
> hi all, I am very new to cloud computing and even more new to opennebula
> so forgive me if I seem like i have no idea what im doing.
>
> so far i've got opennebula 3.6.0 running on Centos 6.2 with one host that
> is configured to KVM.
> I've downloaded multiple kvm images from the cloud nebula marketplace but
> I try to start a VM using these images in a template and they fail. the VM
> log outputs this:
>
>
> [DiM][I]: New VM state is ACTIVE.
> Thu Jul 26 15:49:26 2012 [LCM][I]: New VM state is PROLOG.
> Thu Jul 26 15:49:26 2012 [VM][I]: Virtual Machine has no context
> Thu Jul 26 15:49:26 2012 [TM][I]: Command execution fail: /var/lib/one/remotes/tm/shared/clone oneFront-1.one.liferay.com:/var/lib/one/datastores/1/bc0ddab0b6b067f6de5cf849f1e8af75 oneHost-1:/var/lib/one//datastores/0/0/disk.0 0 1
> Thu Jul 26 15:49:26 2012 [TM][I]: clone: Cloning ../../1/bc0ddab0b6b067f6de5cf849f1e8af75 in oneHost-1:/var/lib/one//datastores/0/0/disk.0Thu Jul 26 15:49:26 2012 [TM][E]: clone: Command "cd ../../0/0; cp -r ../../1/bc0ddab0b6b067f6de5cf849f1e8af75 ../../0/0/disk.0" failed: sh: line 1: cd: ../../0/0: No such file or directory
> Thu Jul 26 15:49:26 2012 [TM][I]: cp: cannot stat `../../1/bc0ddab0b6b067f6de5cf849f1e8af75': No such file or directoryThu Jul 26 15:49:26 2012 [TM][E]: Error copying oneFront-1.one.liferay.com:/var/lib/one/datastores/1/bc0ddab0b6b067f6de5cf849f1e8af75 to oneHost-1:/var/lib/one//datastores/0/0/disk.0
> Thu Jul 26 15:49:26 2012 [TM][I]: ExitCode: 1Thu Jul 26 15:49:26 2012 [TM][E]: Error executing image transfer script: Error copying oneFront-1.one.liferay.com:/var/lib/one/datastores/1/bc0ddab0b6b067f6de5cf849f1e8af75 to oneHost-1:/var/lib/one//datastores/0/0/disk.0
> Thu Jul 26 15:49:27 2012 [DiM][I]: New VM state is FAILED
>
>
> one thing i noticed that doesnt seem right is the extra / in the destination directory (/var/lib/one//datastores/0/disk.0)
>
> this is fresh install following the instructions on opennebula.org, both machines can ssh without passwords between each other.
>
>
> i've also tried commenting out the cd line in the /var/lib/one/remotes/tm/shared/clone file because i didnt know why is was there and seemed to be the problem and this allowed it to go to the next part of the VM deployment but it failed later and never copied the image over to the host.
>
>
> any help would be greatly appreciated, thanks.
>
>
> Brandon
>
>
> _______________________________________________
> 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/20120727/5115d49c/attachment-0003.htm>
More information about the Users
mailing list