Ask Your Question
1

no vnc console for Xenserver vm

asked 2014-09-16 22:45:26 -0600

Qiang gravatar image

Controller(10.11.21.33) /etc/nova/nova.conf:

vnc_enabled = True
vncserver_host = 0.0.0.0
vncserver_listen = 10.11.21.33
vncproxy_url = http://10.11.21.33:6080
vncserver_proxyclient_address = 10.11.21.33
novncproxy_base_url=http://10.11.21.33:6080/vnc_auto.html

compute(10.11.21.37) /etc/nova/nova.conf:

#
vnc_enabled = True
vncserver_listen = 10.11.21.37
vncserver_proxyclient_address = 10.11.21.37
vncproxy_url = http://10.11.21.33:6080
novncproxy_base_url=http://10.11.21.33:6080/vnc_auto.html
#

This compute is configured to access Xenserver 6.2, and the /etc/nova/nova-compute.conf:

[DEFAULT]
libvirt_type=xen
compute_driver=xenapi.XenAPIDriver
xenapi_connection_url = http://10.11.21.35 
xenapi_connection_username = root
xenapi_connection_password = xxxxxxxx
xenapi_vif_driver = nova.virt.xenapi.vif.XenAPIOpenVswitchDriver

xenapi_ovs_integration_bridge = xenapi
xenapi_torrent_images = none
sr_matching_filter = default-sr:true

When I tried to access the console through Dashboard, I am facing "Failed to connect to server code: 1006. Any solution ?

PS: With above configuration, I can access the console of VM of Vmware vCenter through Dashboard of Openstack. Thanks.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
3

answered 2014-09-16 23:11:11 -0600

SGPJ gravatar image

updated 2014-09-16 23:12:43 -0600

Try to use Xen api to get console from controller machine:

xm console <id of="" the="" vm="">

XL - Console or XN - Console
edit flag offensive delete link more

Comments

[root@xenserver-fskqadde ~]# xl console 4

-sh: xm: not found

i

The terminal was frozen, need to close and reopen and relogin.

Qiang gravatar imageQiang ( 2014-09-17 21:05:57 -0600 )edit

root@controller:~# xm console ERROR: Can't find hypervisor information in sysfs! root@controller:~#

Qiang gravatar imageQiang ( 2014-09-18 03:34:20 -0600 )edit

root@compute-xen:/var/log/nova# xm list ERROR: Can't find version 4.1 of xen utils, bailing out!

Qiang gravatar imageQiang ( 2014-09-18 03:34:48 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-09-16 22:45:26 -0600

Seen: 913 times

Last updated: Sep 16 '14