<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Carlos<div><br></div><div>I am having similar problem with ttylinux when testing my new opennebula 3.6 deployment. VM is in pending state and no log file produced. Thanks in advance.</div><div><div><br></div><div>NAME = ttylinux</div><div>PATH = "/data/images/ttylinux.img"</div><div>TYPE = OS</div></div><div><br></div><div><br></div><div><div>NAME = ttylinux</div><div>CPU = 0.1</div><div>MEMORY = 64</div><div>DISK = [ IMAGE_ID = 2 ]</div><div>NIC = [ NETWORK_ID = 0 ]</div><div>FEATURES=[ acpi="no" ]</div><div>#CONTEXT = [</div><div># hostname = "$NAME",</div><div># ip_public = "PUBLIC_IP",</div><div># files = "/path/to/init.sh /path/to/id_dsa.pub",</div><div># target = "hdc",</div><div># root_pubkey = "id_dsa.pub",</div><div># username = "opennebula",</div><div># user_pubkey = "id_dsa.pub"</div><div>#]</div></div><div><div><br></div><div><br></div><div>NAME = "Small network"</div><div>TYPE = FIXED</div><div><br></div><div>#Now we'll use the cluster private network (physical)</div><div>BRIDGE = br2</div><div>LEASES = [ IP="10.4.10.01"]</div><div>LEASES = [ IP="10.4.10.02"]</div><div>LEASES = [ IP="10.4.10.03"]</div></div><div><br></div><div><br></div><div><div>onevm list</div><div> ID USER GROUP NAME STAT UCPU UMEM HOST TIME</div><div> 0 oneadmin oneadmin ttylinux pend 0 0K 0d 00h20</div></div><div><br></div><div><br></div><div><div> onevm show 0</div><div>VIRTUAL MACHINE 0 INFORMATION </div><div>ID : 0 </div><div>NAME : ttylinux </div><div>USER : oneadmin </div><div>GROUP : oneadmin </div><div>STATE : PENDING </div><div>LCM_STATE : LCM_INIT </div><div>RESCHED : No </div><div>START TIME : 08/08 16:29:45 </div><div>END TIME : - </div><div>DEPLOY ID : - </div><div><br></div><div>VIRTUAL MACHINE MONITORING </div><div>NET_TX : 0K </div><div>NET_RX : 0K </div><div>USED MEMORY : 0K </div><div>USED CPU : 0 </div><div><br></div><div>PERMISSIONS </div><div>OWNER : um- </div><div>GROUP : --- </div><div>OTHER : --- </div><div><br></div><div>VIRTUAL MACHINE TEMPLATE </div><div>CPU="0.1"</div><div>DISK=[</div><div> CLONE="YES",</div><div> DATASTORE="default",</div><div> DATASTORE_ID="1",</div><div> DEV_PREFIX="hd",</div><div> DISK_ID="0",</div><div> IMAGE="ttylinux",</div><div> IMAGE_ID="2",</div><div> READONLY="NO",</div><div> SAVE="NO",</div><div> SOURCE="/var/lib/one/datastores/1/4aae0eb7a037be69f2fceb14209eb986",</div><div> TARGET="hda",</div><div> TM_MAD="shared",</div><div> TYPE="FILE" ]</div><div>FEATURES=[</div><div> ACPI="no" ]</div><div>MEMORY="64"</div><div>NAME="ttylinux"</div><div>NIC=[</div><div> BRIDGE="br2",</div><div> IP="10.4.10.1",</div><div> MAC="02:00:0a:04:0a:01",</div><div> NETWORK="Small network",</div><div> NETWORK_ID="0",</div><div> VLAN="NO" ]</div><div>VMID="0"</div><div><br></div><div><br></div><div><br></div><div><div>On Jun 11, 2012, at 9:16 AM, Carlos Martín Sánchez wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">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>
_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>http://lists.opennebula.org/listinfo.cgi/users-opennebula.org<br></blockquote></div><br></div></body></html>