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-21 14:58:45 -0500

rafadurancastaneda gravatar image

I'm sorry I can't help you longer, but I think I shared all I know with you. Your questions now would fit better in openstack nova answers, you can use the link I give you before or try to open another answer. And my final clue is if you are going to check stack before going back once more to dashboard, you need to run nova-direct-api too.

Bye

edit flag offensive delete link more
0

answered 2011-07-22 22:41:28 -0500

cubranic gravatar image

Since Cactus release, Openstack Dashboard supports VNC without having to merge in the ~sleepsonthefloor/openstack-dashboard/vnc_console branch.

So the steps for those running the Cactus release are:

  • get the dashboard ( http://docs.openstack.org/cactus/openstack-compute/admin/content/installing-openstack-dashboard.html (http://docs.openstack.org/cactus/open...) )
  • install the custom noVNC ( http://github.com/sleepsonthefloor/noVNC )
  • configure "-vncproxy_host" in nova.conf
  • and install and run nova-vncproxy as described here
edit flag offensive delete link more
0

answered 2012-03-08 03:09:48 -0500

zhonghuabaima0913 gravatar image

I am very sorry to trouble you.I have the same question that vncproxy process cann't work.You said that we need to install custom noVNC.I have git https://github.com/managedit/openstack-novnc-ubuntu (https://github.com/managedit/openstac...) , but there is no anything can install.Can you help me ? nova.conf: --vnc_console_proxy_url=http://192.168.77.105:6080 --vncproxy_wwwroot=/var/lib/nova/noVNC --vnc_enabled=true --vncproxy_host=192.168.77.105

Thanks

edit flag offensive delete link more
0

answered 2012-03-08 07:53:39 -0500

rafadurancastaneda gravatar image

You are using packaging repository not the code, you are better with https://github.com/cloudbuilders/noVNC and you can run it using something like that: $ cd /path/to/noVNC/utils $ ./launch.sh --vnc localhost:6080

edit flag offensive delete link more
0

answered 2012-03-09 02:14:11 -0500

zhonghuabaima0913 gravatar image

Sorry,it didn't work properly either.I have tried to git https://github.com/cloudbuilders/noVNC,and (https://github.com/cloudbuilders/noVN...) done something like that:

$git clone https://github.com/cloudbuilders/noVNC.git (https://github.com/cloudbuilders/noVN...) $cd noVNC $git checkout diablo 1.配置 noVNC 服务 向/etc/nova/nova.conf 添加如下内容: #nova-vncproxy --vnc_enabled=True --vncproxy_url=http://192.168.77.105:6080 --vncproxy_wwwroot=/home/testcloud/noVNC --vncproxy_manager=nova.vnc.auth.VNCProxyAuthManager

  1. 建立 noVNC 服务启动程序软链接 ln -sv /opt/noVNC/utils/nova-wsproxy.py /usr/bin/nova-wsproxy

    1. 建立 noVNC 服务启动脚本配置文件 在/etc/init/下建立名为 nova-vncproxy.conf 文件,内容如下: description "Nova VNC proxy" author "Vishvananda Ishaya vishvananda@gmail.com"

start on (filesystem and net-device-up IFACE!=lo) stop on runlevel [016]

exec su -c "nova-wsproxy 6080 --web /opt/noVNC --flagfile=/etc/nova/nova.conf" nova 4. 建立 noVNC 启动脚本 ln -sv /lib/init/upstart-job /etc/init.d/nova-vncproxy

  1. 重启相关服务 /etc/init.d/nova-api restart /etc/init.d/nova-vncproxy start

But /etc/init.d/nova-vncproxy will automaticly stop.By the way, all the processes(keysthone,dashboard,nova-compute,nova-scheduler,glance,nova-network and so on) are usring package repository.

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: 291 times

Last updated: Mar 09 '12