[one-users] VM display in Blank screen

Preetham Nagaraju preetham.nagaraju at gmail.com
Mon May 27 23:20:57 PDT 2013


*Hi Sir,*

I have two machines one as Frontend and the other as Node machine..... In
the frontend machine i have installed Opnenebula 3.8.3 on top of Ubuntu OS
and in Node machine i have XEN hypervisor on top of Ubuntu OS.....

I have successfully created the VM in Node machine which is also in *
"RUNNING"* state..... But when the VM comes to "RUNNING" state, if i click
on *"vnc access"* the new window gets open but it is displaying *"BLACK
SCREEN"* with no os in that.... ------------------------- *please find the
screenshot*

I  have created image in two types:-

*1*. Created image in Node machine manually then send that image to
frontend machine and then created the image template, vm template and
finally vm...... But then also vm is not loading.....
*
*
*2.* Another way i have tried is that directly uploading the ubuntu-desktop
12.04.iso image in image template of frontend machine, created the vm
template and finally the vm.........for this method also vm is not
loading....it just displays "BLACK SCREEN".....

Please find my VM template's of two types of images loaded in the
attachment.....

In my node machine i can also see that vm has been created using "xm list"
command.....

*root at node1:/home/node1#* xm list
Name                                        ID   Mem VCPUs      State
Time(s)
Domain-0
               0  1023     2     r-----     98.8
one-5                                        2   512     1     -b----
0.1
*root at node1:/home/node1#*

I cannot ping nor ssh the vm also...... please find below:-
*
root at frontend:/home/frontend#* ping 192.168.140.201
PING 192.168.140.201 (192.168.140.201) 56(84) bytes of data.
>From 192.168.140.120 icmp_seq=1 Destination Host Unreachable
>From 192.168.140.120 icmp_seq=2 Destination Host Unreachable
>From 192.168.140.120 icmp_seq=3 Destination Host Unreachable
>From 192.168.140.120 icmp_seq=4 Destination Host Unreachable
>From 192.168.140.120 icmp_seq=5 Destination Host Unreachable
>From 192.168.140.120 icmp_seq=6 Destination Host Unreachable
^Z
[1]+  Stopped                 ping 192.168.140.201
*root at frontend:/home/frontend#* ssh 192.168.140.201
ssh: connect to host 192.168.140.201 port 22: No route to host
*root at frontend:/home/frontend#*
*
And the VM log is as below:-*

Tue May 28 11:22:07 2013 [DiM][I]: New VM state is ACTIVE.
Tue May 28 11:22:07 2013 [LCM][I]: New VM state is PROLOG.
Tue May 28 11:22:07 2013 [VM][I]: Virtual Machine has no context
Tue May 28 11:22:08 2013 [TM][I]: ln: Linking
/var/lib/one/var/datastores/102/8c171a935b33bc10346ff25d0bdc1180 in
node1:/var/lib/one/var//datastores/0/9/disk.0
Tue May 28 11:22:08 2013 [TM][I]: ExitCode: 0
Tue May 28 11:23:51 2013 [TM][I]: clone: Cloning
/var/lib/one/var/datastores/102/28ae105a0cb7dc469e9393163e015e1a in
node1:/var/lib/one/var//datastores/0/9/disk.1
Tue May 28 11:23:51 2013 [TM][I]: ExitCode: 0
Tue May 28 11:23:51 2013 [LCM][I]: New VM state is BOOT
Tue May 28 11:23:51 2013 [VMM][I]: Generating deployment file:
/var/lib/one/var/vms/9/deployment.0
Tue May 28 11:23:53 2013 [VMM][I]: ExitCode: 0
Tue May 28 11:23:53 2013 [VMM][I]: Successfully execute network driver
operation: pre.
Tue May 28 11:23:58 2013 [VMM][D]: deploy: Credits set to 128
Tue May 28 11:23:58 2013 [VMM][I]: ExitCode: 0
Tue May 28 11:23:58 2013 [VMM][I]: Successfully execute virtualization
driver operation: deploy.
Tue May 28 11:23:58 2013 [VMM][I]: ExitCode: 0
Tue May 28 11:23:58 2013 [VMM][I]: Successfully execute network driver
operation: post.
Tue May 28 11:23:58 2013 [LCM][I]: New VM state is RUNNING
Tue May 28 11:34:13 2013 [VMM][I]: Found interface tap-1-51712 but
domain 1 does not exist.
Tue May 28 11:34:13 2013 [VMM][I]: Found interface tap-1-51712 but
domain 1 does not exist.
Tue May 28 11:34:13 2013 [VMM][I]: ExitCode: 0
Tue May 28 11:34:13 2013 [VMM][W]: Adding custom monitoring attribute:
NAME one-9
Tue May 28 11:34:14 2013 [VMM][D]: Monitor Information:
	CPU   : 0
	Memory: 524288
	Net_TX: 5120
	Net_RX: 0

Sir, i request you to please guide me how to come out of this.....

-- 

*** Regards,***

*Preetham. N*

*9945072638*
*



*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130528/87144857/attachment-0001.htm>
-------------- next part --------------
# VM definition example
#---------------------------------------

NAME = "Node1-img"
CPU    = 0.5
MEMORY = 512

#REQUIREMENTS = "HOSTNAME=\"node\""

RANK         = FREECPU

# --- kernel & boot device ---

OS = [
kernel = "/boot/vmlinuz-3.2.0-23-generic-pae",
initrd = "/boot/initrd.img-3.2.0-23-generic-pae",
    root = "xvda2",
    boot = "xvda",
    KERNEL_CMD = "ro"
    ]
#OS     = [ bootloader=/usr/lib/xen-4.1/bin/pygrub ]

DISK = [
#    image = "Node1-image",
    IMAGE_ID = 1,
    #SIZE = 10gb,
    target = "xvda",
    readonly = "no"
    ]

#DISK = [ type   = swap,        size   = 512]

NIC = [ NETWORK_ID = 1 ]
#NIC    = [ NETWORK = "localnet" ]

#FEATURES=[ acpi="no" ]

GRAPHICS = [
type    = "vnc",
listen  = "0.0.0.0",
port    = "5902"
]

#CONTEXT = [
#    hostname = "$NAME",
#    ip_public = "$NIC[IP, NETWORK=\"localhost\"]",
#    files  = "/var/lib/one/templates/init.sh",
#    target = "sdc"
#    ]

RAW    = [type  = "xen", data  = "vcpus=1"]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: VM Black Screen.png
Type: image/png
Size: 115363 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130528/87144857/attachment-0001.png>
-------------- next part --------------
# VM definition example
#---------------------------------------

NAME = "Ubuntu-iso"
CPU    = 0.5
MEMORY = 512

#REQUIREMENTS = "HOSTNAME=\"node\""

RANK         = FREECPU

# --- kernel & boot device ---

OS = [
kernel = "/boot/vmlinuz-3.2.0-23-generic-pae",
initrd = "/boot/initrd.img-3.2.0-23-generic-pae",
    root = "xvda2",
    boot = "xvda",
    KERNEL_CMD = "ro"
    ]
#OS     = [ bootloader=/usr/lib/xen-4.1/bin/pygrub ]

DISK = [
#    image = "ubuntu-iso",
    IMAGE_ID = 2,
    #SIZE = 10gb,
    target = "xvda",
    readonly = "no"
    ]

#DISK = [ type   = swap,        size   = 512]

NIC = [ NETWORK_ID = 1 ]
#NIC    = [ NETWORK = "localnet" ]

#FEATURES=[ acpi="no" ]

GRAPHICS = [
type    = "vnc",
listen  = "0.0.0.0",
port    = "5902"
]

#CONTEXT = [
#    hostname = "$NAME",
#    ip_public = "$NIC[IP, NETWORK=\"localhost\"]",
#    files  = "/var/lib/one/templates/init.sh",
#    target = "sdc"
#    ]

RAW    = [type  = "xen", data  = "vcpus=1"]


More information about the Users mailing list