Ask Your Question
0

VNC console ? does it support for KVM instance ?

asked 2011-04-19 12:44:24 -0500

tonytkdk gravatar image

Bonjour~

as title...

I installed dashboard successfully

but there's no VNC button in my instance page...

http://4.bp.blogspot.com/-6hpnNtJ0KaY/TafH71sptrI/AAAAAAAACk4/2MNWqcpUmds/s1600/3.PNG (http://4.bp.blogspot.com/-6hpnNtJ0KaY...)

mine is KVM hypervisor .....

does it work for KVM ???

Thanks

Hugo Kuo

edit retag flag offensive close merge delete

15 answers

Sort by » oldest newest most voted
0

answered 2011-04-22 08:23:48 -0500

tonytkdk gravatar image

thanks for you clue , it's working now :)

edit flag offensive delete link more
0

answered 2011-04-19 16:54:34 -0500

tonytkdk gravatar image

Thanks man You're so kind .....

edit flag offensive delete link more
0

answered 2011-04-22 08:23:55 -0500

tonytkdk gravatar image

Thanks Rafael Durán Castañeda, that solved my question.

edit flag offensive delete link more
0

answered 2011-04-27 07:24:02 -0500

koolhead17 gravatar image

Does firefox/chrome browser has permission to read/execute the the files in the directory?

edit flag offensive delete link more
0

answered 2011-04-27 07:50:40 -0500

koolhead17 gravatar image

please ignore my earlier comment.

edit flag offensive delete link more
0

answered 2011-04-19 13:34:31 -0500

rafadurancastaneda gravatar image

You need https://code.launchpad.net/~sleepsonthefloor/openstack-dashboard/vnc_console (https://code.launchpad.net/~sleepsont...) branch to get VNC console support.

edit flag offensive delete link more
0

answered 2011-04-19 16:54:39 -0500

tonytkdk gravatar image

Thanks Rafael Durán Castañeda, that solved my question.

edit flag offensive delete link more
0

answered 2011-04-21 08:33:30 -0500

tonytkdk gravatar image

Rafael Durán Castañeda

Could you plz give me some clue about nova-vncproxy.....?

and what should I install for VNC console feature.

Just merge the branch which you gave me , and there's a VNC console Button in Dashboard...

but I'm sure it will not work , bcz there's no nova-vncproxy in my OPENSTACK environment.

I try to find some docs , but it's lack of information about this.

I find nova-vncproxy binary in https://code.launchpad.net/~vishvananda/nova/vnc_console (https://code.launchpad.net/~vishvanan...) .

But I have no idea how to install that :\

OPENSTACK nova installed from PPA instead of source code . So I can not merge it :<

thanks

edit flag offensive delete link more
0

answered 2011-04-21 09:16:02 -0500

rafadurancastaneda gravatar image

I'm still stuck getting VNC console, but I can give you some clues: - As you already know, you need merge vnc_console branch in dashboard - You also need to get openstack nova source code, you can try: bzr branch lp:nova/cactus - You'll get a nova dir where you can find bin dir. Now you have all bin you need. - In addition, you can use all nova componenets from packages and just run nova-vncproxy - Check nova-vncproxy code to know how to set up flagfile - nova-vncproxy needs custom noVNC, you can download from git://github.com/openstack/noVNC.git - And here is where I'm stuck, you can check for updates here: https://answers.launchpad.net/nova/+question/153266 (https://answers.launchpad.net/nova/+q...)

edit flag offensive delete link more
0

answered 2011-04-21 11:04:43 -0500

tonytkdk gravatar image

thanks Rafael~

I did something as below

  1. cp nova-vncproxy /usr/bin/ ; cp stack /usr/bin/
  2. put noVNC into /var/lib/nova/noVNC 3.set vnc flag in nova.conf --vnc_console_proxy_url=http://192.168.1.1:6080 --vnc_enabled=True --vncproxy_host=192.168.1.1

4.excute nova-vncproxy manually :\ /usr/bin/python /usr/bin/nova-vncproxy --flagfile=/etc/nova/nova.conf --logfile=/var/log/nova/nova-vncproxy.log

==Question================ 1.Need I copy any other files or moudles to somewhere? ex. /cactus/nova/vnc/ ...I saw proxy.py overthere.....

2.How colud I using "#service openstack-nova-vncproxy [options]" to control nova-vncproxy?

3.grep vncproxy_url /var/log/nova/nova-vncproxy.log 2011-04-21 18:19:02,956 DEBUG nova [-] vncproxy_url : http://127.0.0.1:6080

4.Where should I run nova-vncproxy? work with which component? bcz I have 3 machines, Host1 [api+objectstore+glance+dashboard+mysql] Host2 [network+scheduler+volume] Host3 [compute nodes]

==================

I'll keep searching~

edit flag offensive delete link more

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: 2011-04-19 12:44:24 -0500

Seen: 288 times

Last updated: Mar 09 '12