[one-users] Clone failed

Blaz Balon blaz.balon at laly.si
Fri Oct 5 01:25:43 PDT 2012


I think there is permissions problem.
Try adding SAFE_DIRS="/var/lib/one/datastores" to your datastore.


regards
Blaz Balon

On 10/04/2012 05:37 PM, Gandalf Corvotempesta wrote:
> 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
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



More information about the Users mailing list