Openstack VNC资料汇总

参考1:http://hi.baidu.com/chenshake/blog/item/3083282aac011a185243c135.html

For anyone else who might be having the same issue.. These two packages, combined with these options will get novnc working on precise..

--vnc_enabled=true
--novncproxy_base_url=http://78.153.XXX.XXX:6080/vnc_auto.html
--vncserver_proxyclient_address=78.153.XXX.XXX
--vncserver_listen=0.0.0.0

I've intentionally kept the version numbers identical to the packages currently in the precise repo's. This will hopefully let apt "do the right thing" once an official update is released..
http://dl.dropbox.com/u/1400487/novnc_2012.1~e3%2Bdfsg-1_amd64.deb
http://dl.dropbox.com/u/1400487/python-novnc_2012.1~e3%2Bdfsg-1_all.deb


Hello ,all

I installed Openstack as a all-in-one solution ,I got everything runs correctly ,I can ssh to my VMs etc. But there is a problem here: I can not use the VNC tag in dashboard.
I have installed the nova-consoleauth and novnc by "apt-get" .but I can not statrt the nova-novncproxy service (by the way ,the nova-vncproxy service always runs OK),
When I use the command root@ubuntu:~# service novnc start
I got the following with nothing else:
* Starting OpenStack NoVNC proxy nova-novncproxy

It only says "starting",but does not say "started"!
actually it is not started ,by command service novnc status, it says: * nova-novncproxy is not running.
when I use command nova-novncproxy --flagfile=/etc/nova/nova.conf ,I got the following:
WARNING: no 'numpy' module, HyBi protocol support disabled
Traceback (most recent call last):
File "/usr/bin/nova-novncproxy", line 40, in <module>
flags.DEFINE_boolean('verbose', False,
AttributeError: 'module' object has no attribute 'DEFINE_boolean'
When I use command nova get-vnc-console testVM novnc

+-------+------------------------------------------------------------------------------------+
| Type | Url |
+-------+------------------------------------------------------------------------------------+
| novnc | http://192.168.0.202:6080/vnc_auto.html?token=e1095862-deb9-4cb5-9ec9-44aa0200342e |
+-------+------------------------------------------------------------------------------------+

but When pasted the url above into my chrome ,I got the following :

Oops! Google Chrome could not connect to 192.168.0.202:6080

--vnc_enabled=true
--novnc_enabled=true
--vncserver_listen=127.0.0.1
--vncserver_proxyclient_address=127.0.0.1
--novncproxy_base_url=http://192.168.0.202:6080/vnc_auto.html
--xvpvncproxy_base_url=http://192.168.0.202:6081/console
--xvpvncproxy_port=6081
--novncproxy_port=65535

目前源里这两个包已经更新到:

root@Controller:~# apt-cache policy novnc
novnc:
Installed: 2012.1~e3+dfsg+1-2
Candidate: 2012.1~e3+dfsg+1-2
Version table:
     *** 2012.1~e3+dfsg+1-2 0
     500 http://us.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
     100 /var/lib/dpkg/status

按照这个方法设置VNC以后,dashboard中进行访问,出现了一个错误图形如下:


以上用的是FF,换CHrome,出现错误"fail to connect to server",看错误提示,和在FF中部一样,看来有戏。


-------------------------------------------------------------------------------------------------------------------------------------------------

参考2:http://nova.openstack.org/runnova/vncconsole.html



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值