在compute節點上起的vm無法dashboard里面console打不開,在controller上面建的vm是可以打開的
controller上的nove.conf:
[vnc]
vncserver_listen = $my_ip
vncserver_proxyclient_address = $my_ip
novncproxy_base_url=http://$my_ip:6080/vnc_auto.html
compute上的nove.conf:
[vnc]
enabled = True
vncserver_listen = 0.0.0.0
vncserver_proxyclient_address = $my_ip
novncproxy_base_url = http://controller:6080/vnc_auto.html
dashboard打開console提示:
Error response
Error code: 404
Message: File not found.
Error code explanation: HTTPStatus.NOT_FOUND - Nothing matches the given URI.
在controller和compute上打開下面鏈接都是同樣提示:
http://controller:6080/vnc_auto.html
Error response
Error code: 404
Message: No such file.
Error code explanation: 404 - Nothing matches the given URI.
uj5u.com熱心網友回復:
自己搞定了,在/opt/stack/noVNC目錄下面copy vnc_lite.html到vnc_auto.htmlstack@controller:~/noVNC$ pwd
/opt/stack/noVNC
stack@controller:~/noVNC$ ll
total 116
-rw-r--r-- 1 stack stack 10847 12月 23 15:24 vnc_auto.html
-rw-r--r-- 1 stack stack 15850 12月 23 15:24 vnc.html
-rw-r--r-- 1 stack stack 10847 12月 31 10:09 vnc_lite.html
很奇怪,console如果要打開controller的vm的console用的是vnc_lite.html, 打開compute上的vm
的console用的是vnc_auto.html, 希望有大佬能幫忙解釋下
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/123787.html
標籤:OpenStack
上一篇:在C#中使用OpenCV(使用OpenCVSharp)
下一篇:求SUNCG資料集
