Hi 大侠们
vnc连接虚拟机失败,显示disconnected。请帮忙分析一下,
[root@controller nova]# ls -ltr(nova-novncproxy.log是空的)
total 332
-rw-r--r-- 1 nova nova 0 Feb 14 13:13 nova-manage.log
-rw-r--r-- 1 nova nova 0 Feb 14 13:14 nova-novncproxy.log
-rw-r--r-- 1 nova nova 2869 Feb 16 08:58 nova-cert.log
-rw-r--r-- 1 nova nova 3666 Feb 16 08:58 nova-scheduler.log
-rw-r--r-- 1 nova nova 4062 Feb 16 08:58 nova-consoleauth.log
-rw-r--r-- 1 nova nova 268925 Feb 16 08:59 nova-conductor.log
-rw-r--r-- 1 nova nova 50573 Feb 16 09:10 nova-api.log
[root@controller nova]# cat /etc/nova/nova.conf|grep vnc
vncserver_listen = 192.168.0.2
vncserver_proxyclient_address = 192.168.0.2
vnc_enabled = True
novncproxy_host=0.0.0.0
novncproxy_port=6080
novncproxy_base_url=http://219.219.219.219:6080/vnc_auto.html(这里的IP我改成了其它的IP,真实的情况,这个IP是我们公司的公网IP)
[root@controller nova]# systemctl status openstack-nova-novncproxy.service(服务运行也是正常的)
● openstack-nova-novncproxy.service - OpenStack Nova NoVNC Proxy Server
Loaded: loaded (/usr/lib/systemd/system/openstack-nova-novncproxy.service; enabled; vendor preset: disabled)
Active: active (running) since Tue 2016-02-16 08:58:14 EST; 28min ago
Main PID: 21373 (nova-novncproxy)
CGroup: /system.slice/openstack-nova-novncproxy.service
└─21373 /usr/bin/python /usr/bin/nova-novncproxy --web /usr/share/novnc/
Feb 16 08:58:14 controller systemd[1]: Started OpenStack Nova NoVNC Proxy Server.
Feb 16 08:58:14 controller systemd[1]: Starting OpenStack Nova NoVNC Proxy Server...