[one-users] Problems instantiating

Aridane Jesús Sarrionandia de León ajsarri at gmail.com
Wed Mar 6 09:05:17 PST 2013


Sorry, I forgot to put the VM template, here it goes:

CPU="1"
DISK=[
  CLONE="YES",
  DATASTORE="default",
  DATASTORE_ID="1",
  DEV_PREFIX="hd",
  DISK_ID="0",
  IMAGE="ttylinux",
  IMAGE_ID="2",
  READONLY="NO",
  SAVE="NO",
  SOURCE="/var/lib/one/images/ttylinux/ttylinux.img",
  TARGET="hda",
  TM_MAD="shared",
  TYPE="FILE" ]
ERROR=[
  MESSAGE="Error executing image transfer script: Error copying
aridane-PLOCAN:/var/lib/one/images/ttylinux/ttylinux.img to
host1:/var/lib/one//datastores/0/6/disk.0",
  TIMESTAMP="Wed Mar  6 16:30:39 2013" ]
GRAPHICS=[
  LISTEN="0.0.0.0",
  PORT="5906",
  TYPE="vnc" ]
MEMORY="512"
NAME="one-6"
NIC=[
  BRIDGE="virbr0",
  IP="192.168.122.7",
  MAC="02:00:c0:a8:7a:07",
  NETWORK="testNetwork",
  NETWORK_ID="0",
  VLAN="NO" ]
TEMPLATE_ID="1"
VMID="6"

Thanks again.

2013/3/6 Aridane Jesús Sarrionandia de León <ajsarri at gmail.com>

> Hi all,
>
> I'm having trouble creating a vm from a template, for some reason I don't
> know I get the following error when execute "onetemplate instantiate 1" y
> get this in the log:
>
>
> Wed Mar  6 16:38:50 2013 [TM][D]: Message received: LOG I 7 Command
> execution fail: /var/lib/one/remot
> es/tm/shared/clone
> aridane-PLOCAN:/var/lib/one/images/ttylinux/ttylinux.img
> host1:/var/lib/one/datasto
> res/0/7/disk.0 7 1
>
> Wed Mar  6 16:38:50 2013 [TM][D]: Message received: LOG I 7 clone: Cloning
> /var/lib/one/datastores/tty
> linux/ttylinux.img in host1:/var/lib/one/datastores/0/7/disk.0
>
> Wed Mar  6 16:38:50 2013 [TM][D]: Message received: LOG E 7 clone: Command
> "cd /var/lib/one/datastores
> /0/7; cp -r /var/lib/one/datastores/ttylinux/ttylinux.img
> /var/lib/one/datastores/0/7/disk.0" failed:
> cp: no se puede efectuar `stat' sobre
> «/var/lib/one/datastores/ttylinux/ttylinux.img»: No existe el ar
> chivo o el directorio
>
> Wed Mar  6 16:38:50 2013 [TM][D]: Message received: LOG E 7 Error copying
> aridane-PLOCAN:/var/lib/one/
> images/ttylinux/ttylinux.img to host1:/var/lib/one/datastores/0/7/disk.0
>
> Wed Mar  6 16:38:50 2013 [TM][D]: Message received: LOG I 7 ExitCode: 1
>
> Wed Mar  6 16:38:50 2013 [TM][D]: Message received: TRANSFER FAILURE 7
> Error copying aridane-PLOCAN:/v
> ar/lib/one/images/ttylinux/ttylinux.img to
> host1:/var/lib/one/datastores/0/7/disk.0
>
> The template i'm using is:
> ID             : 1
> NAME           : ttylinux
> USER           : oneadmin
> GROUP          : oneadmin
> REGISTER TIME  : 03/05 16:51:25
>
> PERMISSIONS
>
> OWNER          : um-
> GROUP          : ---
> OTHER          : ---
>
> TEMPLATE
> CONTENTS
> CPU="1"
> DISK=[
>   IMAGE="ttylinux" ]
> GRAPHICS=[
>   LISTEN="0.0.0.0",
>   TYPE="vnc" ]
> MEMORY="512"
> NAME="ttylinux"
> NIC=[
>   NETWORK="testNetwork" ]
> TEMPLATE_ID="1"
>
> I'm using the shared driver, and I checked that the folders are correctly
> mounted, as seen in the result of "mount" in the host:
> 192.168.122.1:/var/lib/one on /var/lib/one type nfs
> (rw,addr=192.168.122.1).
>
> So I hope someone can help me, it would be great.
> Thanks.
>
> Aridane
>
>
>
>
> **
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130306/fa3bb380/attachment-0002.htm>


More information about the Users mailing list