[one-users] Clone failed

Gandalf Corvotempesta gandalf.corvotempesta at gmail.com
Thu Oct 4 08:37:05 PDT 2012


Hi,
i'm trying to create a new test VM based on ttylinux but i'm receiving
this error:

Thu Oct  4 17:09:34 2012 [DiM][D]: Deploying VM 1
Thu Oct  4 17:09:34 2012 [TM][D]: Message received: LOG I 1 Command
execution fail: /var/lib/one/remotes/tm/shared/clone
cc01:/var/lib/one/datastores/1/c14c453ba440db979d24838b61d468f2
xen01:/var/lib/one/datastores/0/1/disk.0 1 1
Thu Oct  4 17:09:34 2012 [TM][D]: Message received: LOG I 1 clone:
Cloning ../../1/c14c453ba440db979d24838b61d468f2 in
xen01:/var/lib/one/datastores/0/1/disk.0
Thu Oct  4 17:09:34 2012 [TM][D]: Message received: LOG E 1 clone:
Command "cd /var/lib/one/datastores/0/1; cp -r
../../1/c14c453ba440db979d24838b61d468f2
/var/lib/one/datastores/0/1/disk.0" failed: cp: cannot stat
`../../1/c14c453ba440db979d24838b61d468f2': No such file or directory
Thu Oct  4 17:09:34 2012 [TM][D]: Message received: LOG E 1 Error
copying cc01:/var/lib/one/datastores/1/c14c453ba440db979d24838b61d468f2
to xen01:/var/lib/one/datastores/0/1/disk.0
Thu Oct  4 17:09:34 2012 [TM][D]: Message received: LOG I 1 ExitCode: 1
Thu Oct  4 17:09:34 2012 [TM][D]: Message received: TRANSFER FAILURE 1
Error copying cc01:/var/lib/one/datastores/1/c14c453ba440db979d24838b61d468f2
to xen01:/var/lib/one/datastores/0/1/disk.0


This file: ../../1/c14c453ba440db979d24838b61d468f2
/var/lib/one/datastores/0/1/disk.0 doesn't exist.

I've also tried to change this line:

SRC_PATH="../../${SRC_PATH##"$DS_DIR/"}"

with
if [ -z "${DATASTORE_FOLDER}" ]; then
        SRC_PATH="/opt/opennebula/var/datastores/${SRC_PATH##"$DS_DIR/"}"
else
        SRC_PATH="$DATASTORE_FOLDER/${SRC_PATH##"$DS_DIR/"}"
fi

ad found somewhere in list with no success.

Should I have to change something ? I'm using OpenNebula 3.6 on Debian Squeeze


More information about the Users mailing list