[one-users] Problems instantiating

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


Hi, thanks for answering that fast.

Yes, it says that there's no such file.

The output of ls -lah /var/lib/one/datastores/
ttylinux/ttylinux.img is says that the location can't be accessed, there's
no such file or directory.

The thing is that I created the img file with oneimage create image.one –d
default

The output of the commands are:

oneimage list
  ID USER       GROUP      NAME            DATASTORE     SIZE TYPE PER STAT
RVMS
   2 oneadmin   oneadmin   ttylinux        default         0M OS    No
used    1

oneimage show 2
IMAGE 2
INFORMATION
ID             : 2
NAME           : ttylinux
USER           : oneadmin
GROUP          : oneadmin
DATASTORE      : default
TYPE           : OS
REGISTER TIME  : 03/05 16:23:46
PERSISTENT     : No
SOURCE         : /var/lib/one/images/ttylinux/ttylinux.img
SIZE           : 0M
STATE          : used
RUNNING_VMS    : 1

PERMISSIONS

OWNER          : um-
GROUP          : ---
OTHER          : ---

IMAGE
TEMPLATE
DESCRIPTION="ttylinux image"
DEV_PREFIX="hd"
PUBLIC="YES"

Thanks for the help.

Regards
Aridane.

2013/3/6 Tobias Honacker <t.honacker at googlemail.com>

> Hi,
>
> You have to create an oneimage [1] which will store the image to your path.
> Your error tells you that the directory/image doesn't exist? (no spanish
> skills sorry)
>
> Do a ls -lah /var/lib/one/datastores/ttylinux/ttylinux.img
>
> And please provide us the output of these commands:
>
> Oneimage list
> Oneimage show 1 (you have to put the id here u get from oneimage list
> instead of 1)
>
>
> Best regards,
> Tobias
>
> [1] http://opennebula.org/documentation:rel3.8:img_guide
>
> Von: Aridane Jesús Sarrionandia de León <ajsarri at gmail.com>
> Datum: Mittwoch, 6. März 2013 17:57
> An: <users at lists.opennebula.org>
> Betreff: [one-users] Problems instantiating
>
> 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
>
>
>
>
> _______________________________________________ Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
*
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130306/880fd2fa/attachment-0001.htm>


More information about the Users mailing list