[one-users] unable to connect vm-images through vnc - onemc
bathina nageswararao
nag_bathina at yahoo.com
Thu Jun 17 21:47:51 PDT 2010
Hi ,
For opennebula installation we have taken two machines. Frontend and node. Using ttylinux we created images and we are able to connect vm-image successfully through putty.
Please find the following network and image templates for the ttylinux vm-image creation.
oneadmin at onefrontend:~/template$ cat small_network.net
NAME = "Small network"
TYPE = RANGED
#Now we'll use the cluster private network (physical)
BRIDGE = br0
NETWORK_SIZE = C
NETWORK_ADDRESS = 192.168.138.0
oneadmin at onefrontend:~/template$ cat ttylinux.one
NAME = ttylinux392e91
CPU = 1
MEMORY = 512
DISK = [
source = "/srv/cloud/one/template/ttylinux.img",
target = "hda",
readonly = "no" ]
NIC = [ NETWORK = "Small network" ]
FEATURES=[ acpi="no" ]
#CONTEXT = [
# hostname = "$NAME",
# ip_public = "PUBLIC_IP",
# files = "/path/to/init.sh /path/to/id_dsa.pub",
# target = "hdc",
# root_pubkey = "id_dsa.pub",
# username = "opennebula",
# user_pubkey = "id_dsa.pub"
#]
# --- VNC server ---
graphics = [ type='vnc',listen = "127.0.0.1", port = 58, passwd="123456", keymap="es"]
we are facing problem when we are connecting through console from (opennebula management console). Please find the attached screenshot for the same.
“Network error: server name unknown: onenode1”
Then supplied the IP address instead of hostname in console.php(onemc) then it is throwing error as “ Network error: cloud not connect to server: 192.168.138.211 “
As $vnc_server=”192.168.138.211”
Can you Please provide the resolution to connect vm-images through onemc management console.
Please find the following apache access log
[Thu Jun 17 19:01:05 2010] [error] [client 192.168.138.200] PHP Notice: Undefined variable: images in /var/www/onemc/include/onemc_funcs.php on line 129, referer: http://192.168.138.210/onemc/manager.php
[Thu Jun 17 19:01:05 2010] [error] [client 192.168.138.200] PHP Warning: Invalid argument supplied for foreach() in /var/www/onemc/include/onemc_funcs.php on line 364, referer: http://192.168.138.210/onemc/manager.php
root at onefrontend:/var/log/apache2#
Thanks in advance.
Regards,
Nagesh.
More information about the Users
mailing list