Hi,<div><br></div><div>oned.log should contain the error message, it will be marked as [E]. You also have the individual VM log file in /var/log/one/<id>.log or $ONE_LOCATION/var/datastores/0/<id>/vm.log</div><div>
<br></div><div>Regards<br clear="all">--<br>Carlos Martín, MSc<br>Project Engineer<br>OpenNebula - The Open-source Solution for Data Center Virtualization<div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>
<br>
<br><br><div class="gmail_quote">On Mon, Jun 11, 2012 at 10:54 AM, Massimo Canonico <span dir="ltr"><<a href="mailto:mex@di.unipmn.it" target="_blank">mex@di.unipmn.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
I was trying to make a simple ttylinux working on my opennebula installation.<br>
<br>
I have downloaded the ttylinux xen image frome here:<br>
<a href="http://www.suse.de/~garloff/linux/xen/images/ttylinux/" target="_blank">http://www.suse.de/~garloff/<u></u>linux/xen/images/ttylinux/</a><br>
<br>
then I have create two file, in order to add this image in the openenbula installation,<br>
image.one:<br>
NAME = ttylinux<br>
PATH = "/home/oneadmin/images/<u></u>ttylinux/ttylinux.img"<br>
TYPE = OS<br>
<br>
ttylinux.one:<br>
[oneadmin@minicloud03 ttylinux]$ more ttylinux.one<br>
NAME = ttylinux<br>
CPU = 0.1<br>
MEMORY = 64<br>
<br>
DISK = [ IMAGE_ID = 8 ]<br>
<br>
NIC = [ NETWORK_ID = 0 ]<br>
<br>
FEATURES=[ acpi="no" ]<br>
<br>
#CONTEXT = [<br>
# hostname = "$NAME",<br>
# ip_public = "130.10.0.10",<br>
# files = "/home/oneadmin/images/<u></u>ttylinux/init.sh /home/oneadmin/.ssh/id_rsa.<u></u>pub",<br>
# target = "hdc",<br>
# root_pubkey = "id_rsa.pub",<br>
# username = "opennebula",<br>
# user_pubkey = "id_rsa.pub"<br>
#]<br>
<br>
So, I'm sure that I'm missing something since the image becomes "fail" after few second.<br>
Here the ourput of onevm show:<br>
<br>
VIRTUAL MACHINE 6 INFORMATION<br>
ID : 6<br>
NAME : ttylinux<br>
USER : oneadmin<br>
GROUP : oneadmin<br>
STATE : FAILED<br>
LCM_STATE : LCM_INIT<br>
START TIME : 06/11 11:16:43<br>
END TIME : 06/11 11:17:12<br>
DEPLOY ID : -<br>
<br>
VIRTUAL MACHINE MONITORING<br>
NET_RX : 0<br>
USED CPU : 0<br>
USED MEMORY : 0<br>
NET_TX : 0<br>
<br>
PERMISSIONS<br>
OWNER : um-<br>
GROUP : ---<br>
OTHER : ---<br>
<br>
VIRTUAL MACHINE TEMPLATE<br>
CPU="0.1"<br>
DISK=[<br>
CLONE="YES",<br>
DATASTORE="minicloudDS",<br>
DATASTORE_ID="100",<br>
DISK_ID="0",<br>
IMAGE="ttylinux",<br>
IMAGE_ID="8",<br>
READONLY="NO",<br>
SAVE="NO",<br>
SOURCE="/home/oneadmin/one-3.<u></u>0/var/datastores/100/<u></u>3c376e0cc8bef2f3bc8b43b22fe88a<u></u>9a",<br>
TARGET="hda",<br>
TM_MAD="ssh",<br>
TYPE="DISK" ]<br>
FEATURES=[<br>
ACPI="no" ]<br>
MEMORY="64"<br>
NAME="ttylinux"<br>
NIC=[<br>
BRIDGE="virbr0",<br>
IP="130.10.0.3",<br>
MAC="02:00:82:0a:00:03",<br>
NETWORK="Public",<br>
NETWORK_ID="0",<br>
VLAN="NO" ]<br>
VMID="6"<br>
<br>
VIRTUAL MACHINE HISTORY<br>
SEQ HOSTNAME REASON START TIME PTIME<br>
0 minicloud.di.un erro 06/11 11:17:10 0d 00:00 0d 00:00<br>
<br>
oned.log did not say anything useful:<br>
------------------------------<u></u>---------<br>
Mon Jun 11 11:17:11 2012 [TM][D]: Message received: LOG I 6 clone: Cloning minicloud03.di.unipmn.it:/<u></u>home/oneadmin/one-3.0/var/<u></u>datastores/100/<u></u>3c376e0cc8bef2f3bc8b43b22fe88a<u></u>9a in /var/lib/one/datastores/0/6/<u></u>disk.0<br>
<br>
Mon Jun 11 11:17:11 2012 [TM][D]: Message received: LOG I 6 ExitCode: 0<br>
<br>
Mon Jun 11 11:17:11 2012 [TM][D]: Message received: TRANSFER SUCCESS 6 -<br>
------------------------------<u></u>--------<br>
even sched.log did not say much:<br>
------------------------------<u></u>------<br>
Virtual Machine: 6<br>
0 0<br>
<br>
<br>
Mon Jun 11 11:17:10 2012 [VM][I]: Dispatching virtual machine 6 to HID: 0<br>
Mon Jun 11 11:17:40 2012 [HOST][D]: Discovered Hosts (enabled): 0<br>
Mon Jun 11 11:17:40 2012 [VM][D]: Pending virtual machines :<br>
Mon Jun 11 11:17:40 2012 [SCHED][I]: Select hosts<br>
PRI HID<br>
<br>
---------------------<br>
<br>
What can I do in order to figure out where is the problem?<br>
<br>
Thanks,<br>
Massimo<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/<u></u>listinfo.cgi/users-opennebula.<u></u>org</a><br>
</blockquote></div><br></div>