[one-users] Error on creating vm - missing directory in system datastore
Tobias von der Krone
tobias at vdkrone.de
Mon Sep 17 01:52:22 PDT 2012
Hi Valentin,
thanks for your response. It was my fault - NFS was mounted in the wrong directory
(wasntme)
Bye Tobias
On 09/14/2012 08:39 PM, Valentin Bud wrote:
> Hi,
>
> Inline response follows,
>
> On Fri, Sep 14, 2012 at 5:29 PM, Tobias von der Krone <tobias at vdkrone.de <mailto:tobias at vdkrone.de>> wrote:
>
> Hi,
>
> I set up a test OpenNebula 3.6 running the front-end on Ubuntu 12.04 (x86_64).
>
> On creating a new vm I get the following log:
>
> $ cat /var/log/one/6.log
> Fri Sep 14 15:19:10 2012 [DiM][I]: New VM state is ACTIVE.
> Fri Sep 14 15:19:10 2012 [LCM][I]: New VM state is PROLOG.
> Fri Sep 14 15:19:10 2012 [VM][I]: Virtual Machine has no context
> Fri Sep 14 15:19:12 2012 [TM][I]: Command execution fail: /var/lib/one/remotes/tm/shared/clone
> z-opennebula:/var/lib/one/datastores/1/8bd6aa6454fa82016bd5a2713a70b860
> z-devcloud02.zalando:/var/lib/one/datastores/0/6/disk.0 6 1
> Fri Sep 14 15:19:12 2012 [TM][I]: clone: Cloning /var/lib/one/datastores/1/8bd6aa6454fa82016bd5a2713a70b860 in
> z-devcloud02.zalando:/var/lib/one/datastores/0/6/disk.0
> Fri Sep 14 15:19:12 2012 [TM][E]: clone: Command "cd /var/lib/one/datastores/0/6; cp -r
> /var/lib/one/datastores/1/8bd6aa6454fa82016bd5a2713a70b860 /var/lib/one/datastores/0/6/disk.0" failed: cp: cannot stat
> `/var/lib/one/datastores/1/8bd6aa6454fa82016bd5a2713a70b860': No such file or directory
> Fri Sep 14 15:19:12 2012 [TM][E]: Error copying
> z-opennebula:/var/lib/one/datastores/1/8bd6aa6454fa82016bd5a2713a70b860
> to z-devcloud02.zalando:/var/lib/one/datastores/0/6/disk.0
> Fri Sep 14 15:19:12 2012 [TM][I]: ExitCode: 1
> Fri Sep 14 15:19:12 2012 [TM][E]: Error executing image transfer script: Error copying
> z-opennebula:/var/lib/one/datastores/1/8bd6aa6454fa82016bd5a2713a70b860 to
> z-devcloud02.zalando:/var/lib/one/datastores/0/6/disk.0
> Fri Sep 14 15:19:12 2012 [DiM][I]: New VM state is FAILED
>
> $ ls -ld /var/lib/one/datastores/0/6
> ls: cannot access /var/lib/one/datastores/0/6: No such file or directory
>
> I saw some other posts about this problem but did not find any hint to solve. Which script should create the
> diretory in
> the system datastore? I'm using the shared tm.
>
>
> The tm driver scripts are located in /var/lib/one/remotes/tm/shared. I think the clone one is responsible for making
> the directories, the following function to be more specific:
>
> ssh_make_path $DST_HOST $DST_DIR.
>
> I would check the permissions of /var/lin/one/datastore/0 and the SSH connections between the frontend and the
> z-devcloud02.zalando node.
>
> Check if the scripts are located in the correct folders, clone scripts for example sources in other files, and check
> to see if they have proper permissions.
>
>
> Thanks for any hints.
>
> Bye Tobia
>
> --
> Mail: tobias at vdkrone.de <mailto:tobias at vdkrone.de>
> Info: http://tobias.vdkrone.de
>
>
>
> Good Will,
> v
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org <mailto:Users at lists.opennebula.org>
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
--
Mail: tobias at vdkrone.de
Info: http://tobias.vdkrone.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120917/569e685e/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 551 bytes
Desc: OpenPGP digital signature
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120917/569e685e/attachment-0002.pgp>
More information about the Users
mailing list