[Openstack] Dashboard VNC Console failed to connect to server
Anthony Young
sleepsonthefloor at gmail.com
Fri Mar 30 16:22:40 UTC 2012
On Fri, Mar 30, 2012 at 7:56 AM, David Kranz <david.kranz at qrclab.com> wrote:
> I am also having problems with vnc console but not using dashboard and of
> a different kind. First, the documentation says to use the vnc_redux branch
> but that is evidently diablo-compatible code. So I used master and did the
> same thing as devstack does (I think) and I can get a console
>
>
The reference to vnc_redux is old - that branch existed to support
development of the feature in nova. I'll update the docs.
> root at xg06:~/noVNC# nova get-vnc-console test novnc
> +-------+---------------------**------------------------------**
> ------------------------------**--+
> | Type | Url
> |
> +-------+---------------------**------------------------------**
> ------------------------------**--+
> | novnc | http://172.18.0.146:6080/vnc_**auto.html?token=43971233-a806-**
> 4f01-96b1-8861c1dc7410<http://172.18.0.146:6080/vnc_auto.html?token=43971233-a806-4f01-96b1-8861c1dc7410>|
> +-------+---------------------**------------------------------**
> ------------------------------**--+
>
> but when I browse to that I get this from novnc log, and an error banner
> with "Websock error: [Object Event]"
> If I do the same thing against devstack the log is different and it works.
> Any help would be appreciated.
>
Devstack automatically installs python-numpy, which noVNC requires for
certain websocket connections.
> Also, this stuff seems only semi-official with references to cloudbuilders
> git repos. Is it officially part of Essex?
>
>
I'll talk to jeblair about moving it to an openstack repo. I view vnc as
essential to any deployment, so while it is not 'core' or anything anyone
deploying Essex will need it.
> -David
>
> multinode package deploy + noVNC from git
> 1: 172.17.1.170: "GET /vnc_auto.html?token=43971233-**a806-4f01-96b1-8861c1dc7410
> HTTP/1.1" 200 -
> 2: 172.17.1.170: new handler Process
> 3: 172.17.1.170: new handler Process
> 2: 172.17.1.170: "GET /include/plain.css HTTP/1.1" 200 -
> 3: 172.17.1.170: "GET /include/vnc.js HTTP/1.1" 200 -
> 4: 172.17.1.170: new handler Process
> 5: 172.17.1.170: new handler Process
> 6: 172.17.1.170: new handler Process
> 4: 172.17.1.170: "GET /include/util.js HTTP/1.1" 200 -
> 7: 172.17.1.170: new handler Process
> 5: 172.17.1.170: "GET /include/webutil.js HTTP/1.1" 200 -
> 8: 172.17.1.170: new handler Process
> 6: 172.17.1.170: "GET /include/logo.js HTTP/1.1" 200 -
> 7: 172.17.1.170: "GET /include/base64.js HTTP/1.1" 200 -
> 8: 172.17.1.170: "GET /include/websock.js HTTP/1.1" 200 -
> 9: 172.17.1.170: new handler Process
> 10: 172.17.1.170: new handler Process
> 9: 172.17.1.170: "GET /include/des.js HTTP/1.1" 200 -
> 11: 172.17.1.170: new handler Process
> 12: 172.17.1.170: new handler Process
> 10: 172.17.1.170: "GET /include/input.js HTTP/1.1" 200 -
> 11: 172.17.1.170: "GET /include/display.js HTTP/1.1" 200 -
> 12: 172.17.1.170: "GET /include/rfb.js HTTP/1.1" 200 -
> 13: 172.17.1.170: new handler Process
> DIFFERENCE STARTS HERE
> 14: 172.17.1.170: new handler Process
> 13: 172.17.1.170: Python >= 2.6 and numpy module is required for HyBi-07
> or greater
> 14: 172.17.1.170: "GET /favicon.ico HTTP/1.1" 200 -
>
>
> devstack: works
> 1: 172.17.1.170: "GET /vnc_auto.html?token=e64e682e-**5c69-42dd-8d78-01537b3d3223
> HTTP/1.1" 200 -
> 2: 172.17.1.170: new handler Process
> 3: 172.17.1.170: new handler Process
> 2: 172.17.1.170: "GET /include/plain.css HTTP/1.1" 200 -
> 3: 172.17.1.170: "GET /include/vnc.js HTTP/1.1" 200 -
> 4: 172.17.1.170: new handler Process
> 5: 172.17.1.170: new handler Process
> 6: 172.17.1.170: new handler Process
> 4: 172.17.1.170: "GET /include/util.js HTTP/1.1" 200 -
> 7: 172.17.1.170: new handler Process
> 5: 172.17.1.170: "GET /include/webutil.js HTTP/1.1" 200 -
> 8: 172.17.1.170: new handler Process
> 6: 172.17.1.170: "GET /include/logo.js HTTP/1.1" 200 -
> 9: 172.17.1.170: new handler Process
> 7: 172.17.1.170: "GET /include/base64.js HTTP/1.1" 200 -
> 8: 172.17.1.170: "GET /include/websock.js HTTP/1.1" 200 -
> 9: 172.17.1.170: "GET /include/des.js HTTP/1.1" 200 -
> 10: 172.17.1.170: new handler Process
> 11: 172.17.1.170: new handler Process
> 12: 172.17.1.170: new handler Process
> 11: 172.17.1.170: "GET /include/display.js HTTP/1.1" 200 -
> 10: 172.17.1.170: "GET /include/input.js HTTP/1.1" 200 -
> 12: 172.17.1.170: "GET /include/rfb.js HTTP/1.1" 200 -
> 13: 172.17.1.170: new handler Process
> 13: 172.17.1.170: Plain non-SSL (ws://) WebSocket connection
> 13: 172.17.1.170: Version hybi-08, base64: 'True'
> 13: connecting to: 127.0.0.1:5900
>
>
>
>
>
> ______________________________**_________________
> Mailing list: https://launchpad.net/~**openstack<https://launchpad.net/~openstack>
> Post to : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~**openstack<https://launchpad.net/~openstack>
> More help : https://help.launchpad.net/**ListHelp<https://help.launchpad.net/ListHelp>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120330/4ee3f3e9/attachment.html>
More information about the Openstack
mailing list