Hi there,<br><br>A comment on Prakhar's email: 'onevm submit' is actually an alias to 'onevm create'.<br>The VMs are deployed automatically because the scheduler is running. If you need to control manually the deployments, you can edit the 'one' script (in /usr/bin/one or $ONE_LOCATION/bin/one) to start only the core daemon 'oned', and not the scheduler daemon 'mm_sched'.<br>
<br>And now please find my comments to your questions inline:<br><br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote"><ul><li><font size="2">I believe this whole confusion is due
to my lack of knowledge on OpenNebula VM Template.</font><font size="2"><span> <br></span></font><ul><li><font size="2">Have I pointed to the correct kernel on host machine ? if not what is the correct way</font><ul><li>
<font size="2">Do I need to copy Virtual Image's kernel in to host machine (Cluster node) and then point it to them on VM Template.<br></font></li></ul></li></ul></li></ul></blockquote><div>Yes, the KERNEL and INITRD paths are relative to the Host's FS<br>
</div><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote"><ul><li><ul><li><font size="2">Can Someone please elaborate the meaning of ROOT and TARGET on VM template. To what should they be pointed at ?</font><ul>
<li><font size="2">ROOT - to which device should we point this at ? Where can I obtain
this info , is it to the Host Machine ? or to the Virtual Machine ? and what is the device ? is it "/" partition device ?</font></li><li><font size="2">TARGET- to which device should we point this at ? Where can I obtain this info , is it to Host Machine ? or to Virtual Machine </font></li>
</ul></li></ul></li></ul></blockquote>ROOT is the VM's device to mount as '/'.<br>TARGET is the VM's device where the DISK will be mapped. But when using an Image it is optional, and you can rely on the default targets, see [1].<br>
<br><br>Regards,<br>Carlos.<br><br>[1] <a href="http://opennebula.org/documentation:rel2.2:template#disks_device_mapping">http://opennebula.org/documentation:rel2.2:template#disks_device_mapping</a><br><br clear="all"><span style="border-collapse:collapse;color:rgb(136, 136, 136);font-family:arial, sans-serif;font-size:13px">--<br>
Carlos Martín, MSc<br>Project Major Contributor<br><span style="background-color:rgb(255, 255, 204);color:rgb(34, 34, 34);background-repeat:initial initial">OpenNebula</span> - The Open Source Toolkit for Cloud Computing<br>
<a href="http://www.opennebula.org/" style="color:rgb(42, 93, 176)" target="_blank">www.<span style="background-color:rgb(255, 255, 204);color:rgb(34, 34, 34);background-repeat:initial initial">OpenNebula</span>.org</a> | <a href="mailto:cmartin@opennebula.org" style="color:rgb(42, 93, 176)" target="_blank">cmartin@<span style="background-color:rgb(255, 255, 204);color:rgb(34, 34, 34);background-repeat:initial initial">opennebula</span>.org</a></span><br>
<br><br><div class="gmail_quote">On Tue, Jul 19, 2011 at 10:10 PM, Rasika Karunathilaka <span dir="ltr"><<a href="mailto:rasika.karunathilaka@yahoo.com">rasika.karunathilaka@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div style="color:#000;background-color:#fff;font-family:arial, helvetica, sans-serif;font-size:10pt"><div><div style="color:rgb(0, 0, 0);background-color:rgb(255, 255, 255);font-family:arial,helvetica,sans-serif;font-size:12pt">
<div><font size="2"><span>Hi Puneeth/Team,</span></font><font size="2"><span><br></span></font></div><div><font size="2"><span> Please find the answers to the questions.</span></font></div><div><font size="2"><span> 1.) I am using xen id</span></font></div>
<div><font size="2"><span> 2.) I have not written the script yet, I am trying to check whether it is successful through xen console.</span></font></div><div><font size="2"><span> 3.) All three commands displays that the xen virtual machine is running.</span></font></div>
<div><font size="2"><br></font></div><div><font size="2">I still haven't got full understanding about the VM Template. Let me brief you my environment. I have two machines. <br></font></div><div><font size="2"><br></font></div>
<div><font size="2">Machine A. ) OpenNebula front end with NFS share with cluster node</font></div><div><font size="2"><span>Machine</span><span></span><span></span><span> B.) Cluster Node with OpenSuse 11.4 xen kernel.</span></font></div>
<ul><li><font size="2"><span></span><span></span><span></span><span></span><span>Both machines are running on OpenSuse 11.4.</span></font></li><li><font size="2"><span>Fedora virtual machine was created on Machine B using Xen kernel. ( This virtual machine is working fine on Machine B with xen commands.)<br>
</span></font></li><li><font size="2"><span>Same Fedora Virtual machine's image was used to create opennebula fedora image.</span></font></li><li><font size="2"><span>Then OpenNebula VM template was created as follows</span></font></li>
<li><font size="2"><span>##################################################<br></span></font></li></ul><font size="2"><span> </span><span> </span><span> </span><span> <font>Name =
Fed12<br></font></span><span> </span></font><font size="2"><span> </span><span> </span><span> </span><span> </span><span>CPU = 0.5<br></span><span></span></font><font size="2"><span> </span></font><font size="2"><span> </span><span> </span><span> </span><span> </span><span>MEMORY = 512<br>
</span><span></span></font><font size="2"><span> </span></font><font size="2"><span>
</span><span> </span><span> </span><span> </span><span>OS = [<br></span><span> </span><span> </span></font><font size="2"><span> </span></font><font size="2"><span> </span><span> </span><span> </span><span> </span><span> </span><span> KERNEL = "/boot/vmlinuz-2.6.37.6-0.5-xen",<br>
</span><span> </span><span> </span><span> </span></font><font size="2"><span> </span></font><font size="2"><span> </span><span> </span><span> </span><span> </span><span> INITRD = "/boot/initrd-2.6.37.6-0.5-xen",<br>
</span><span> </span><span> </span><span> </span><span> </span></font><font size="2"><span> </span></font><font size="2"><span> </span><span> </span><span> </span><span> ROOT = "sda2"<br>
</span><span> </span><span> </span><span> </span><span> </span><span></span></font><font size="2"><span> </span></font><font size="2"><span>]<br></span><span></span></font><font size="2"><span> </span></font><font size="2"><span> </span><span> </span><span> </span><span> </span><span></span><span>DISK = [<br>
</span><span> </span><span> </span></font><font size="2"><span> </span></font><font size="2"><span> </span><span> </span><span> </span><span> </span><span> </span><span> IMAGE_ID = "1",<br>
</span><span> </span><span> </span><span> </span></font><font size="2"><span> </span></font><font size="2"><span> </span><span> </span><span> </span><span> </span><span> TARGET = "/dev/sda2",<br>
</span><span> </span><span> </span><span> </span><span> </span></font><font size="2"><span> </span></font><font size="2"><span> </span><span> </span><span> </span><span> READONLY = "no"<br>
</span><span></span></font><font size="2"><span> </span></font><font size="2"><span> </span><span> </span><span> </span><span> </span></font><font size="2"><span>]<br></span><span> </span><span> </span><span>################################################<br>
</span></font><ul><ul><ul><li><font size="2"><span>in the OS section of VM template, I have put Linux kernel information of Machine B, which is the cluster node (the host machine) there I have specified the Suse Xen kernel which runs the main OS. Same applies to INTRD as well.<br>
</span></font></li><li><font size="2"><span>I am
bit confused about ROOT partition, I assume ROOT
partition means host machine's (Cluster Node's) "/" Partition. Even though /etc/fstab shows /dev/disk ... id , the df -kh displays as "/" maps to /dev/sda2</span></font></li><li><font size="2"><span>Now on Disk section I assumed TARGET means "/" partition on Cluster node or host machine, which is again /dev/sda2</span></font></li>
<li><font size="2"><span>Anyhow still OpenNebula xen virtual image creation is not successful. Right now it creates the Virtual Image and copies it however I can't login through the console, it displays set of messages.</span></font></li>
</ul></ul><li><font size="2">I believe this whole confusion is due
to my lack of knowledge on OpenNebula VM Template.</font><font size="2"><span> <br></span></font><ul><li><font size="2">Have I pointed to the correct kernel on host machine ? if not what is the correct way</font><ul><li>
<font size="2">Do I need to copy Virtual Image's kernel in to host machine (Cluster node) and then point it to them on VM Template.<br></font></li></ul></li><li><font size="2">Can Someone please elaborate the meaning of ROOT and TARGET on VM template. To what should they be pointed at ?</font><ul>
<li><font size="2">ROOT - to which device should we point this at ? Where can I obtain
this info , is it to the Host Machine ? or to the Virtual Machine ? and what is the device ? is it "/" partition device ?</font></li><li><font size="2">TARGET- to which device should we point this at ? Where can I obtain this info , is it to Host Machine ? or to Virtual Machine </font></li>
</ul></li></ul></li></ul><font size="2"><span></span></font><font size="2"> Highly appreciate if someone can help me to understand above. Please find following xen console output, vm.log and xend.log info.<br></font><div>
<font size="2"><span></span></font></div><div><font size="2"><span><br>Cheers !<br>Rasika karunathilaka.</span></font><font size="2"><span><br><br>################################ vm.log###################################<br>
Tue Jul 19 07:55:48 2011 [DiM][I]: New VM state is ACTIVE.<br>Tue Jul 19 07:55:48 2011 [LCM][I]: New VM state is PROLOG.<br>Tue Jul 19 07:55:48 2011 [VM][I]: Virtual Machine has no context<br>Tue Jul 19 07:58:22 2011 [TM][I]: tm_clone.sh: linux-q3r2:/srv/cloud/one/var/images/95f2274e26a954f8131912f41f84967fbd411c33 cdv-gtoopensuse:/srv/cloud/images/87/images/disk.0<br>
Tue Jul 19 07:58:22 2011 [TM][I]: tm_clone.sh: DST: /srv/cloud/images/87/images/disk.0<br>Tue Jul 19 07:58:22 2011 [TM][I]: tm_clone.sh: Creating directory /srv/cloud/images/87/images<br>Tue Jul 19 07:58:22 2011 [TM][I]: tm_clone.sh: Executed "mkdir -p /srv/cloud/images/87/images".<br>
Tue Jul 19 07:58:22 2011 [TM][I]: tm_clone.sh: Executed "chmod a+w /srv/cloud/images/87/images".<br>Tue Jul 19 07:58:22 2011 [TM][I]: tm_clone.sh: Cloning /srv/cloud/one/var/images/95f2274e26a954f8131912f41f84967fbd411c33<br>
Tue Jul 19 07:58:22 2011 [TM][I]: tm_clone.sh: Executed "cp -r
/srv/cloud/one/var/images/95f2274e26a954f8131912f41f84967fbd411c33 /srv/cloud/images/87/images/disk.0".<br>Tue Jul 19 07:58:22 2011 [TM][I]: tm_clone.sh: Executed "chmod a+rw /srv/cloud/images/87/images/disk.0".<br>
Tue Jul 19 07:58:22 2011 [LCM][I]: New VM state is BOOT<br>Tue Jul 19 07:58:22 2011 [VMM][I]: Generating deployment file: /srv/cloud/one/var/87/deployment.0<br>Tue Jul 19 07:58:24 2011 [LCM][I]: New VM state is RUNNING<br>
#########################################################################<br>
</span></font><div><font size="2"><span><br>################################ Xend.log #################################<br>
2011-07-19 23:04:50 2141] DEBUG (XendDomainInfo:1841) Storing domain details: {'console/ring-ref': '306145', 'image/entry': '3221233664', 'console/port': '2', 'store/ring-ref': '306146', 'image/loader': 'generic', 'vm': '/vm/9e0e9651-b379-dfd1-f9ef-8782e445499c', 'control/platform-feature-multiprocessor-suspend': '1', 'image/hv-start-low': '4118806528', 'image/guest-os': 'linux', 'image/features/writable-descriptor-tables': '1', 'image/virt-base': '3221225472', 'memory/target': '524288', 'image/guest-version': '2.6', 'image/features/supervisor-mode-kernel': '1', 'image/pae-mode': 'yes', 'description': '', 'console/limit': '1048576', 'image/paddr-offset': '0', 'image/hypercall-page': '3221237760', 'image/suspend-cancel': '1', 'cpu/0/availability': 'online', 'image/features/pae-pgdir-above-4gb': '1', 'image/features/writable-page-tables': '1', 'console/type': 'xenconsoled', 'image/features/auto-translated-physmap': '1', 'name': 'one-87', 'domid': '11',
'image/xen-version': 'xen-3.0', 'store/port': '1'}<br>[2011-07-19 23:04:50 2141] DEBUG (DevController:95) DevController: writing {'protocol': 'x86_32-abi', 'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/console/11/0'} to /local/domain/11/device/console/0.<br>
[2011-07-19 23:04:50 2141] DEBUG (DevController:97) DevController: writing {'domain': 'one-87', 'frontend': '/local/domain/11/device/console/0', 'uuid': '0d4176fe-0129-6b05-6ece-46955ecb81bd', 'frontend-id': '11', 'state': '1', 'location': '2', 'online': '1', 'protocol': 'vt100'} to /local/domain/0/backend/console/11/0.<br>
[2011-07-19 23:04:50 2141] DEBUG (XendDomainInfo:1928) XendDomainInfo.handleShutdownWatch<br>[2011-07-19 23:04:50 2141] DEBUG (DevController:139) Waiting for devices tap2.<br>[2011-07-19 23:04:50 2141] DEBUG (DevController:139) Waiting for devices vif.<br>
[2011-07-19 23:04:50 2141] DEBUG (DevController:139) Waiting for devices vkbd.<br>[2011-07-19 23:04:50
2141] DEBUG (DevController:139) Waiting for devices ioports.<br>[2011-07-19 23:04:50 2141] DEBUG (DevController:139) Waiting for devices tap.<br>[2011-07-19 23:04:50 2141] DEBUG (DevController:139) Waiting for devices vif2.<br>
[2011-07-19 23:04:50 2141] DEBUG (DevController:139) Waiting for devices console.<br>[2011-07-19 23:04:50 2141] DEBUG (DevController:144) Waiting for 0.<br>[2011-07-19 23:04:50 2141] DEBUG (DevController:139) Waiting for devices vscsi.<br>
[2011-07-19 23:04:50 2141] DEBUG (DevController:139) Waiting for devices vbd.<br>[2011-07-19 23:04:50 2141] DEBUG (DevController:144) Waiting for 2050.<br>[2011-07-19 23:04:50 2141] DEBUG (DevController:671) hotplugStatusCallback /local/domain/0/backend/vbd/11/2050/hotplug-status.<br>
[2011-07-19 23:04:50 2141] DEBUG (DevController:671) hotplugStatusCallback /local/domain/0/backend/vbd/11/2050/hotplug-status.<br>[2011-07-19 23:04:50 2141] DEBUG (DevController:685) hotplugStatusCallback
1.<br>[2011-07-19 23:04:50 2141] DEBUG (DevController:139) Waiting for devices irq.<br>[2011-07-19 23:04:50 2141] DEBUG (DevController:139) Waiting for devices vfb.<br>[2011-07-19 23:04:50 2141] DEBUG (DevController:139) Waiting for devices pci.<br>
[2011-07-19 23:04:50 2141] DEBUG (DevController:139) Waiting for devices vusb.<br>[2011-07-19 23:04:50 2141] DEBUG (DevController:139) Waiting for devices vtpm.<br>[2011-07-19 23:04:50 2141] INFO (XendDomain:1224) Domain one-87 (11) unpaused.<br>
#########################################################################<br>
</span></font><div><font size="2"><br></font><font size="2"><span>################################ Xen Console############################</span></font> <font size="2"><br></font>
<pre><font size="2">[ 0.000000] Reserving virtual address space above 0xf5800000<br>[ 0.000000] Initializing cgroup subsys cpuset<br>[ 0.000000] Initializing cgroup subsys cpu<br>[ 0.000000] Linux version 2.6.37.6-0.5-xen (geeko@buildhost) (gcc version 4.5.1 20101208 [gcc-4_5-branch revision 167585] (SUSE Linux) ) #1 SMP 2011-04-25 21:48:33 +0200<br>
[ 0.000000] Xen-provided physical RAM map:<br>[ 0.000000] Xen: 0000000000000000 - 0000000020800000 (usable)<br>[ 0.000000] NX (Execute Disable) protection: active<br>[ 0.000000] last_pfn = 0x20800 max_arch_pfn = 0x10000000<br>
[ 0.000000] init_memory_mapping: 0000000000000000-0000000020800000<br>[ 0.000000] RAMDISK: 00832000 - 01b50000<br>[ 0.000000] ACPI in unprivileged domain disabled<br>[ 0.000000] 0MB HIGHMEM available.<br>[ 0.000000] 520MB LOWMEM available.<br>
[ 0.000000] mapped low ram: 0 - 20800000<br>[ 0.000000] low ram: 0 - 20800000<br>[ 0.000000]
Zone PFN ranges:<br>[ 0.000000] DMA 0x00000000 -> 0x00001000<br>[ 0.000000] Normal 0x00001000 -> 0x00020800<br>[ 0.000000] HighMem empty<br>[ 0.000000] Movable zone start PFN for each node<br>
[ 0.000000] early_node_map[2] active PFN ranges<br>[ 0.000000] 0: 0x00000000 -> 0x00020000<br>[ 0.000000] 0: 0x00020800 -> 0x00020800<br>[ 0.000000] setup_percpu: NR_CPUS:32 nr_cpumask_bits:32 nr_cpu_ids:1 nr_node_ids:1<br>
[ 0.000000] PERCPU: Embedded 9 pages/cpu @dfb5e000 s16320 r0 d20544 u36864<br>[ 0.000000] Swapping MFNs for PFN 75d and 1fb5f (MFN 4b456 and 2ac6a)<br>[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130032<br>
[ 0.000000] Kernel command line: root=/dev/sda2 <br>[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)<br>[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)<br>[ 0.000000] Inode-cache hash
table entries: 32768 (order: 5, 131072 bytes)<br>[ 0.000000] Initializing CPU#0<br>[ 0.000000] allocated 2662400 bytes of page_cgroup<br>[ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups<br>
[ 0.000000] Software IO TLB disabled<br>[ 0.000000] Initializing HighMem for node 0 (00000000:00000000)<br>[ 0.000000] Memory: 487660k/532480k available (4173k kernel code, 36628k reserved, 3025k data, 344k init, 0k highmem)<br>
[ 0.000000] virtual kernel memory layout:<br>[ 0.000000] fixmap : 0xf5476000 - 0xf57ff000 (3620 kB)<br>[ 0.000000] pkmap : 0xf5000000 - 0xf5200000 (2048 kB)<br>[ 0.000000] vmalloc : 0xe1000000 - 0xf4ffe000 ( 319 MB)<br>
[ 0.000000] lowmem : 0xc0000000 - 0xe0800000 ( 520 MB)<br>[ 0.000000] .init : 0xc070a000 - 0xc0760000 ( 344 kB)<br>[ 0.000000] .data : 0xc04157d7 - 0xc0709e28 (3025 kB)<br>[ 0.000000] .text :
0xc0002000 - 0xc04157d7 (4173 kB)<br>[ 0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.<br>[ 0.000000] Hierarchical RCU implementation.<br>[ 0.000000] RCU dyntick-idle grace-period acceleration is enabled.<br>
[ 0.000000] RCU-based detection of stalled CPUs is disabled.<br>[ 0.000000] NR_IRQS:2624 nr_irqs:584 16<br>[ 0.000000] Xen reported: 2926.044 MHz processor.<br>[ 0.000000] Console: colour dummy device 80x25<br>
[ 0.000000] console [tty0] enabled<br>[ 0.000000] console [xvc-1] enabled<br>[ 0.080003] Calibrating delay using timer specific routine.. 5859.38 BogoMIPS (lpj=11718775)<br>[ 0.080012] pid_max: default: 32768 minimum: 301<br>
[ 0.080037] Security Framework initialized<br>[ 0.080049] AppArmor: AppArmor initialized<br>[ 0.080062] Mount-cache hash table entries: 512<br>[ 0.080137] Initializing cgroup subsys ns<br>[ 0.080143] ns_cgroup deprecated: consider
using the 'clone_children' flag without the ns_cgroup.<br>[ 0.080149] Initializing cgroup subsys cpuacct<br>[ 0.080153] Initializing cgroup subsys memory<br>[ 0.080160] Initializing cgroup subsys devices<br>
[ 0.080164] Initializing cgroup subsys freezer<br>[ 0.080168] Initializing cgroup subsys net_cls<br>[ 0.080172] Initializing cgroup subsys blkio<br>[ 0.080603] SMP alternatives: switching to UP code<br>[ 0.098308] Freeing SMP alternatives: 24k freed<br>
[ 0.098812] Brought up 1 CPUs<br>[ 0.098873] devtmpfs: initialized<br>[ 0.099027] regulator: core version 0.5<br>[ 0.099059] regulator: dummy: <br>[ 0.118929] Time: 165:165:165 Date: 165/165/65<br>[ 0.118989] NET: Registered protocol family 16<br>
[ 0.119108] Brought up 1 CPUs<br>[ 0.119108] PCI: Fatal: No config space access function found<br>[ 0.119108] PCI: setting up Xen PCI frontend stub<br>[ 0.120308] bio: create slab <bio-0> at 0<br>[
0.120355] ACPI: Interpreter disabled.<br>[ 0.120403] suspend: event channel 6<br>[ 0.120403] xen_mem: Initialising balloon driver.<br>[ 0.120403] SCSI subsystem initialized<br>[ 0.120403] vgaarb: loaded<br>
[ 0.120403] PCI: System does not support PCI<br>[ 0.120403] PCI: System does not support PCI<br>[ 0.120403] NetLabel: Initializing<br>[ 0.120403] NetLabel: domain hash size = 128<br>[ 0.120403] NetLabel: protocols = UNLABELED CIPSOv4<br>
[ 0.120403] NetLabel: unlabeled traffic allowed by default<br>[ 0.120403] Switching to clocksource xen<br>[ 0.121040] AppArmor: AppArmor Filesystem Enabled<br>[ 0.121046] pnp: PnP ACPI: disabled<br>[ 0.122338] NET: Registered protocol family 2<br>
[ 0.122379] IP route cache hash table entries: 16384 (order: 4, 65536 bytes)<br>[ 0.122379] TCP established hash table entries: 65536 (order: 7, 524288 bytes)<br>[ 0.122379] TCP bind hash table entries: 65536 (order: 7,
524288 bytes)<br>[ 0.122514] TCP: Hash tables configured (established 65536 bind 65536)<br>[ 0.122519] TCP reno registered<br>[ 0.122522] UDP hash table entries: 256 (order: 1, 8192 bytes)<br>[ 0.122528] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)<br>
[ 0.122569] NET: Registered protocol family 1<br>[ 0.122603] Unpacking initramfs...<br>[ 0.138321] Freeing initrd memory: 19576k freed<br>[ 0.145576] platform rtc_cmos: registered platform RTC device (no PNP device found)<br>
[ 0.145697] audit: initializing netlink socket (disabled)<br>[ 0.145713] type=2000 audit(1311096890.831:1): initialized<br>[ 0.170606] VFS: Disk quotas dquot_6.5.2<br>[ 0.170629] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)<br>
[ 0.170703] msgmni has been set to 265<br>[ 0.170847] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)<br>[ 0.170868] io scheduler noop registered<br>[ 0.170872] io
scheduler deadline registered<br>[ 0.170881] io scheduler cfq registered (default)<br>[ 0.171081] Non-volatile memory driver v1.3<br>[ 0.171086] Linux agpgart interface v0.103<br>[ 0.171186] Xen virtual console successfully installed as xvc0<br>
[ 0.171258] Fixed MDIO Bus: probed<br>[ 0.171282] PNP: No PS/2 controller found. Probing ports directly.<br>[ 0.172123] i8042.c: No controller found.<br>[ 0.172170] mice: PS/2 mouse device common for all mice<br>
[ 0.172295] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0<br>[ 0.172323] rtc_cmos: probe of rtc_cmos failed with error -38<br>[ 0.172466] TCP cubic registered<br>[ 0.172486] NET: Registered protocol family 10<br>
[ 0.172685] lo: Disabled Privacy Extensions<br>[ 0.172815] Registering the dns_resolver key type<br>[ 0.172846] libceph: loaded (mon/osd proto 15/24, osdmap 5/5 5/5)<br>[ 0.172922] registered taskstats version 1<br>
[ 0.172937] Magic
number: 1:252:3141<br>[ 0.172952] XENBUS: Device with no driver: device/vbd/2050<br>[ 0.172957] /usr/src/packages/BUILD/kernel-xen-2.6.37.6/linux-2.6.37/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)<br>[ 0.173004] Freeing unused kernel memory: 344k freed<br>
[ 0.174096] Write protecting the kernel text: 4176k<br>[ 0.174769] Write protecting the kernel read-only data: 2796k<br>[ 0.215187] netfront: Initialising virtual ethernet driver.<br>[ 0.226035] register_blkdev: cannot get major 8 for sd<br>
[ 0.226044] ------------[ cut here ]------------<br>[ 0.226052] WARNING: at /usr/src/packages/BUILD/kernel-xen-2.6.37.6/linux-2.6.37/lib/vsprintf.c:1293 vsnprintf+0x3dd/0x3f0()<br>[ 0.226058] Modules linked in: xenblk(+) cdrom xennet processor thermal_sys hwmon ata_generic<br>
[ 0.226075] Pid: 11, comm: xenwatch Not tainted 2.6.37.6-0.5-xen #1<br>[ 0.226079] Call Trace:<br>[ 0.226091] [<c00098f3>]
try_stack_unwind+0x173/0x190<br>[ 0.226098] [<c0007b3f>] dump_trace+0x3f/0xe0<br>[ 0.226103] [<c000995b>] show_trace_log_lvl+0x4b/0x60<br>[ 0.226110] [<c0009988>] show_trace+0x18/0x20<br>[ 0.226118] [<c040b13c>] dump_stack+0x6d/0x72<br>
[ 0.226127] [<c003adf8>] warn_slowpath_common+0x78/0xb0<br>[ 0.226133] [<c003ae4b>] warn_slowpath_null+0x1b/0x20<br>[ 0.226139] [<c01ed59d>] vsnprintf+0x3dd/0x3f0<br>[ 0.226146] [<c01ecd07>] pointer+0x1d7/0x260<br>
[ 0.226171] [<c01ed338>] vsnprintf+0x178/0x3f0<br>[ 0.226177] [<c01f0327>] kvasprintf+0x27/0x60<br>[ 0.226182] [<c01f0371>] kasprintf+0x11/0x20<br>[ 0.226189] [<c02a43d6>] _dev_error+0x36/0xd0<br>
[ 0.226196] [<c02a4666>] xenbus_dev_fatal+0x26/0x40<br>[ 0.226205] [<e10dd76d>] connect+0x26d/0x2e0 [xenblk]<br>[ 0.226215] [<c02a6cef>] otherend_changed+0x9f/0x120<br>[
0.226222] [<c02a4dba>] xenwatch_handle_callback+0x1a/0x60<br>[ 0.226229] [<c02a501f>] xenwatch_thread+0x17f/0x190<br>[ 0.226236] [<c0058e54>] kthread+0x74/0x80<br>[ 0.226243] [<c0006502>] kernel_thread_helper+0x6/0x10<br>
[ 0.226249] ---[ end trace e4544fbf68dc1b63 ]---<br>[ 0.226254] vbd vbd-2050: 19 <br>[ 0.320035] XENBUS: Device not ready: device/vbd/2050<br>[ 0.328662] udev[66]: starting version 166<br>########################################################################</font><br>
</pre><font size="2"><span>
<br>
</span></font><div><font size="2"><span><br></span></font></div><br></div></div></div><div style="font-family:arial,helvetica,sans-serif;font-size:12pt"><div style="font-family:times new roman,new york,times,serif;font-size:12pt">
<font face="Arial" size="2"><hr size="1"><b><span style="font-weight:bold">From:</span></b> puneeth <<a href="mailto:puneeth.poduri@gmail.com" target="_blank">puneeth.poduri@gmail.com</a>><br><b><span style="font-weight:bold">To:</span></b> Rasika Karunathilaka <<a href="mailto:rasika.karunathilaka@yahoo.com" target="_blank">rasika.karunathilaka@yahoo.com</a>><br>
<b><span style="font-weight:bold">Sent:</span></b> Monday, 18 July
2011 7:27 PM<br><b><span style="font-weight:bold">Subject:</span></b> Re: [one-users] onevm shows vm is running but it is not in xen<br></font><font size="2"><br>Hi,<br> ok firstly is the vm visible when you try xentop or xm list.<br>
secondly no the vm is started automatically once we say submit.<br>the
reason its in a blocked state is because its booted and waiting for<br>an input (ie a login) please note the bolcked state in xen is not same<br>as that of opennebula. now i have a set of questions for you ?<br> 1. how are you trying to accesses the console of the deployed vm ?(i<br>
know your trying through the command xm console <ID> but what is the ID<br>you are using is it the opennebula vm ID or the xen vm ID note they are<br>different.) -> are you trying a onevm id instead of xen id ??<br>
<br> 2. Have you written the script files required to take care of the<br>context variables ? (IE init.sh , rc.local(in your case)).please note<br>that rc.local should be present in the VM image inside the desiered<br>
folder. and the init.sh should be present in the dom0 or your host<br>system. -> if this is not done you cant establish a network.<br><br> 3. do you have a virt-manager ? if you do can
you find the deployed vm<br>there ? ok please tell me the output of the following commands.<br> i. xm list <br> ii. onevm list<br> iii. xentop<br><font color="#888888">--<br>regards<br>puneeth</font><div>
<div></div><div class="h5"><br>On Mon, 2011-07-18 at 06:39 -0700, Rasika Karunathilaka wrote:<br>> Hi Team,<br>> I was able to create vm instance, and it was created successfully.<br>> Please find my vm template below. However I can't log in to the vm.<br>
> when I try to get the console (xm console <id>) it provide following<br>> messages. Further vm is in blocked state. Please Help ! .. <br>> <br>> Why does it deploy, when I just used onevm create <VMTemplate> ,<br>
> shouldn't it create the image only and not start it. I believe stating<br>> should come when we issue onevm deploy .
Highly appreciate you<br>> help on this. Kernel and Initrd on template is pointed to the same on<br>> Xen Host machine. <br>> <br>> <br>> <br>> Cheers !<br>> Rasika <br>> <br>> <br>> <br>> ############################ VM Template<br>
> ##############################<br>> <br>> 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 =<br>> "/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 =<br>> "/vms_configuration/id_rsa.pub /vms_configuration/init.sh",<br>> TARGET = "hdb"<br>> ]<br>> <br>> <br>> ############################## Console messages<br>
> #################################################<br>> <br>> <br>> <br>> 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<br>> 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>
> [<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>> <br></div></div><div class="im">> _______________________________________________<br>> Users mailing list<br>
> <a rel="nofollow" href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>> <a rel="nofollow" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br><br><br><br></div></font></div></div></div></div></div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br>