[one-users] onevm shows vm is running but it is not in xen

Prakhar Srivastava prakhar.apj at gmail.com
Mon Jul 18 12:14:17 PDT 2011


Hi,
*onevm create* will create the virtual machine instance and deploy it too.
If you want to just submit the VM, use *onevm submit* instead.
Can you please post back the vm.log for the vm?

Prakhar

On Mon, Jul 18, 2011 at 7:09 PM, Rasika Karunathilaka <
rasika.karunathilaka at yahoo.com> wrote:

> Hi Team,
>  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 ! ..
> 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.
>
> Cheers !
> Rasika
>
> ############################ VM Template ##############################
> Name = Fed12
> CPU =   1
> MEMORY  =       512
> OS = [
>         KERNEL  = "/boot/vmlinuz-2.6.37.1-1.2-xen",
>         INITRD  = "/boot/initrd-2.6.37.1-1.2-xen",
>         ROOT    =
> "/dev/disk/by-id/ata-Hitachi_HDS721680PLA380_PVE101Z7UGE1AM-part2 "
> ]
>
> DISK    = [
>         IMAGE_ID        = "1"
> ]
>
>
> CONTEXT = [
>         HOSTNAME        =       "Fed12",
>         USERNAME        =       "oneadmin",
>         IP_PRIVATE      =       "$NIC[IP]",
>         IP_GEN          =       "192.168.104.$VMID",
>         FILES           =       "/vms_configuration/id_rsa.pub
> /vms_configuration/init.sh",
>         TARGET          =       "hdb"
> ]
>
> ############################## Console messages
> #################################################
>
>     0.171869] PNP: No PS/2 controller found. Probing ports directly.
> [    0.172713] i8042.c: No controller found.
> [    0.172756] mice: PS/2 mouse device common for all mice
> [    0.172882] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
> [    0.172910] rtc_cmos: probe of rtc_cmos failed with error -38
> [    0.173054] TCP cubic registered
> [    0.173075] NET: Registered protocol family 10
> [    0.173274] lo: Disabled Privacy Extensions
> [    0.173405] Registering the dns_resolver key type
> [    0.173436] libceph: loaded (mon/osd proto 15/24, osdmap 5/5 5/5)
> [    0.173506] registered taskstats version 1
> [    0.173522]   Magic number: 1:252:3141
> [    0.173537] XENBUS: Device with no driver: device/vbd/51712
> [    0.173541] XENBUS: Device with no driver: device/vbd/832
> [    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)
> [    0.173592] Freeing unused kernel memory: 344k freed
> [    0.174686] Write protecting the kernel text: 4176k
> [    0.175358] Write protecting the kernel read-only data: 2792k
> [    0.217635] netfront: Initialising virtual ethernet driver.
> [    0.232769] xen-vbd: registered block device major 202
> [    0.232795] blkfront: xvda: barriers enabled
> [    0.234407]  xvda: xvda1 xvda2
> [    0.234661] Setting capacity to 8388610
> [    0.234667] xvda: detected capacity change from 0 to 4294968320
> [    0.234827] xen-vbd: registered block device major 3
> [    0.234840] blkfront: hdb: barriers enabled
> [    0.236238]  hdb: unknown partition table
> [    0.236355] Setting capacity to 736
> [    0.236360] hdb: detected capacity change from 0 to 376832
> [    0.336171] udev[65]: starting version 166
>
> _______________________________________________
> 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/20110719/cfe3cfe2/attachment-0003.htm>


More information about the Users mailing list