<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello <br>
<br>
You may need to select device as well in DISK section. (For debian
it is /dev/xvda )<br>
<br>
<br>
<br>
On 7/18/2011 6:39 PM, Rasika Karunathilaka wrote:
<blockquote
cite="mid:1310996361.75712.YahooMailNeo@web59809.mail.ac4.yahoo.com"
type="cite">
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255,
255); font-family: arial,helvetica,sans-serif; font-size: 12pt;">
<div>Hi Team,</div>
<div> I was able to create vm instance, and it was created
successfully. Please find my vm template below. However I
can't log in to the vm. when I try to get the console (xm
console <id>) it provide following messages. Further vm
is in blocked state. Please Help ! .. <br>
</div>
<div>Why does it deploy, when I just used onevm create
<VMTemplate> , shouldn't it create the image only and
not start it. I believe stating should come when we issue
onevm deploy . Highly appreciate you help on this. Kernel
and Initrd on template is pointed to the same on Xen Host
machine. <br>
</div>
<div><br>
</div>
<div>Cheers !</div>
<div>Rasika <br>
</div>
<div><br>
</div>
<div>############################ VM Template
##############################<br>
</div>
<div>Name = Fed12<br>
CPU = 1<br>
MEMORY = 512<br>
OS = [<br>
KERNEL = "/boot/vmlinuz-2.6.37.1-1.2-xen",<br>
INITRD = "/boot/initrd-2.6.37.1-1.2-xen",<br>
ROOT =
"/dev/disk/by-id/ata-Hitachi_HDS721680PLA380_PVE101Z7UGE1AM-part2
"<br>
]<br>
<br>
DISK = [<br>
IMAGE_ID = "1"<br>
]<br>
<br>
<br>
CONTEXT = [<br>
HOSTNAME = "Fed12",<br>
USERNAME = "oneadmin",<br>
IP_PRIVATE = "$NIC[IP]",<br>
IP_GEN = "192.168.104.$VMID",<br>
FILES = "/vms_configuration/id_rsa.pub
/vms_configuration/init.sh",<br>
TARGET = "hdb"<br>
]<br>
<br>
</div>
<div>############################## Console messages
#################################################<br>
</div>
<div><br>
</div>
<div> 0.171869] PNP: No PS/2 controller found. Probing ports
directly.<br>
[ 0.172713] i8042.c: No controller found.<br>
[ 0.172756] mice: PS/2 mouse device common for all mice<br>
[ 0.172882] rtc_cmos rtc_cmos: rtc core: registered
rtc_cmos as rtc0<br>
[ 0.172910] rtc_cmos: probe of rtc_cmos failed with error
-38<br>
[ 0.173054] TCP cubic registered<br>
[ 0.173075] NET: Registered protocol family 10<br>
[ 0.173274] lo: Disabled Privacy Extensions<br>
[ 0.173405] Registering the dns_resolver key type<br>
[ 0.173436] libceph: loaded (mon/osd proto 15/24, osdmap
5/5 5/5)<br>
[ 0.173506] registered taskstats version 1<br>
[ 0.173522] Magic number: 1:252:3141<br>
[ 0.173537] XENBUS: Device with no driver: device/vbd/51712<br>
[ 0.173541] XENBUS: Device with no driver: device/vbd/832<br>
[ 0.173545]
/usr/src/packages/BUILD/kernel-xen-2.6.37.1/linux-2.6.37/drivers/rtc/hctosys.c:
unable to open rtc device (rtc0)<br>
[ 0.173592] Freeing unused kernel memory: 344k freed<br>
[ 0.174686] Write protecting the kernel text: 4176k<br>
[ 0.175358] Write protecting the kernel read-only data:
2792k<br>
[ 0.217635] netfront: Initialising virtual ethernet driver.<br>
[ 0.232769] xen-vbd: registered block device major 202<br>
[ 0.232795] blkfront: xvda: barriers enabled<br>
[ 0.234407] xvda: xvda1 xvda2<br>
[ 0.234661] Setting capacity to 8388610<br>
[ 0.234667] xvda: detected capacity change from 0 to
4294968320<br>
[ 0.234827] xen-vbd: registered block device major 3<br>
[ 0.234840] blkfront: hdb: barriers enabled<br>
[ 0.236238] hdb: unknown partition table<br>
[ 0.236355] Setting capacity to 736<br>
[ 0.236360] hdb: detected capacity change from 0 to 376832<br>
[ 0.336171] udev[65]: starting version 166<br>
</div>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
</blockquote>
</body>
</html>