I did a fresh re-install of devstack.
Now I got the URL for the console.
localadmin@qa4:~/devstack$ nova get-vnc-console vm1 novnc
+---+-+
| Type | Url |
+---+-+
| novnc |
http://172.29.172.161:6080/vnc_auto.html?token=9ced0dd0-f146-42eb-9b26-c64a29443936
|
+---+-+
However, when attempt to connect to the URL, error Failed to connect to server
(code: 1006) is returned at the web page.
The following traceback is logged in the Controller's screen-x-n-novnc.log:
10.131.67.144 - - [15/Oct/2014 15:11:06] GET /include/webutil.js HTTP/1.1 200
-
2014-10-15 15:11:06.029 DEBUG nova.console.websocketproxy [-] 10.131.67.144:
new handler Process from (pid=21242) vmsg
/usr/local/lib/python2.7/dist-packages/websockify/websocket.py:824
10.131.67.144 - - [15/Oct/2014 15:11:06] GET /include/des.js HTTP/1.1 200 -
10.131.67.144 - - [15/Oct/2014 15:11:06] GET /include/keyboard.js HTTP/1.1
200 -
10.131.67.144 - - [15/Oct/2014 15:11:06] GET /include/input.js HTTP/1.1 200 -
10.131.67.144 - - [15/Oct/2014 15:11:06] GET /include/display.js HTTP/1.1 200
-
10.131.67.144 - - [15/Oct/2014 15:11:06] GET /include/jsunzip.js HTTP/1.1 200
-
10.131.67.144 - - [15/Oct/2014 15:11:06] GET /include/rfb.js HTTP/1.1 200 -
2014-10-15 15:11:06.590 DEBUG nova.console.websocketproxy [-] 10.131.67.144:
new handler Process from (pid=21242) vmsg
/usr/local/lib/python2.7/dist-packages/websockify/websocket.py:824
10.131.67.144 - - [15/Oct/2014 15:11:06] GET /websockify HTTP/1.1 101 -
10.131.67.144 - - [15/Oct/2014 15:11:06] 10.131.67.144: Plain non-SSL (ws://)
WebSocket connection
10.131.67.144 - - [15/Oct/2014 15:11:06] 10.131.67.144: Version hybi-13,
base64: 'False'
10.131.67.144 - - [15/Oct/2014 15:11:06] 10.131.67.144: Path: '/websockify'
2014-10-15 15:11:06.605 INFO oslo.messaging._drivers.impl_rabbit
[req-f5c8828b-f111-4a12-8812-d25f56e47b01 None None] Connecting to AMQP server
on 172.29.172.161:5672
2014-10-15 15:11:06.616 DEBUG nova.console.websocketproxy [-] 10.131.67.144:
new handler Process from (pid=21242) vmsg
/usr/local/lib/python2.7/dist-packages/websockify/websocket.py:824
10.131.67.144 - - [15/Oct/2014 15:11:06] GET /favicon.ico HTTP/1.1 200 -
2014-10-15 15:11:06.622 INFO oslo.messaging._drivers.impl_rabbit
[req-f5c8828b-f111-4a12-8812-d25f56e47b01 None None] Connected to AMQP server
on 172.29.172.161:5672
2014-10-15 15:11:06.629 INFO oslo.messaging._drivers.impl_rabbit
[req-f5c8828b-f111-4a12-8812-d25f56e47b01 None None] Connecting to AMQP server
on 172.29.172.161:5672
2014-10-15 15:11:06.641 INFO oslo.messaging._drivers.impl_rabbit
[req-f5c8828b-f111-4a12-8812-d25f56e47b01 None None] Connected to AMQP server
on 172.29.172.161:5672
2014-10-15 15:11:06.652 INFO nova.console.websocketproxy
[req-f5c8828b-f111-4a12-8812-d25f56e47b01 None None] handler exception: The
token '9ced0dd0-f146-42eb-9b26-c64a29443936' is invalid or has expired
2014-10-15 15:11:06.652 DEBUG nova.console.websocketproxy
[req-f5c8828b-f111-4a12-8812-d25f56e47b01 None None] exception from (pid=13509)
vmsg /usr/local/lib/python2.7/dist-packages/websockify/websocket.py:824
2014-10-15 15:11:06.652 TRACE nova.console.websocketproxy Traceback (most
recent call last):
2014-10-15 15:11:06.652 TRACE nova.console.websocketproxy File
/usr/local/lib/python2.7/dist-packages/websockify/websocket.py, line 874, in
top_new_client
2014-10-15 15:11:06.652 TRACE nova.console.websocketproxy client =
self.do_handshake(startsock, address)
2014-10-15 15:11:06.652 TRACE nova.console.websocketproxy File
/usr/local/lib/python2.7/dist-packages/websockify/websocket.py, line 809, in
do_handshake
2014-10-15 15:11:06.652 TRACE nova.console.websocketproxy
self.RequestHandlerClass(retsock, address, self)
2014-10-15 15:11:06.652 TRACE nova.console.websocketproxy File
/opt/stack/nova/nova/console/websocketproxy.py, line 112, in __init__
2014-10-15 15:11:06.652 TRACE nova.console.websocketproxy
websockify.ProxyRequestHandler.__init__(self, *args, **kwargs)
2014-10-15 15:11:06.652 TRACE nova.console.websocketproxy File
/usr/local/lib/python2.7/dist-packages/websockify/websocket.py, line 112, in
__init__
2014-10-15 15:11:06.652 TRACE nova.console.websocketproxy
SimpleHTTPRequestHandler.__init__(self, req, addr, server)
2014-10-15 15:11:06.652 TRACE nova.console.websocketproxy File
/usr/lib/python2.7/SocketServer.py, line 649, in __init__
2014-10-15 15:11:06.652 TRACE nova.console.websocketproxy self.handle()
2014-10-15 15:11:06.652 TRACE nova.console.websocketproxy File
/usr/local/lib/python2.7/dist-packages/websockify/websocket.py, line 540, in
handle
2014-10-15 15:11:06.652 TRACE nova.console.websocketproxy
SimpleHTTPRequestHandler.handle(self)
2014-10-15 15:11:06.652 TRACE