[one-users] Problems instantiating
Tobias Honacker
t.honacker at googlemail.com
Wed Mar 6 09:08:39 PST 2013
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/281c3392/attachment-0002.htm>
More information about the Users
mailing list