[one-users] Error on creating vm - missing directory in system datastore

Tobias von der Krone tobias at vdkrone.de
Fri Sep 14 07:29:49 PDT 2012


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.

Thanks for any hints.

Bye Tobia

-- 
Mail: tobias at vdkrone.de
Info: http://tobias.vdkrone.de


-------------- 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/20120914/c5e109f8/attachment.pgp>


More information about the Users mailing list