vnc websock error

Bug #994653 reported by andrewsben
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Fix Released
High
Anthony Young

Bug Description

when trying to launch vnc for an instance the dashboard has the error doesn't launch novnc with the error "WebSock error: [object Event]" and the vnc logs have the following:

  1: 184.20.74.18: new handler Process
  1: 184.20.74.18: "GET /vnc_auto.html?token=91e5de5c-cc8c-4cbe-973e-9c87654746b1&title=myserver(544ee988-84eb-45f4-a2e7-137dd038e8f7) HTTP/1.1" 200 -
  2: 184.20.74.18: new handler Process
  3: 184.20.74.18: new handler Process
  2: 184.20.74.18: "GET /vnc_auto.html?token=91e5de5c-cc8c-4cbe-973e-9c87654746b1&title=myserver(544ee988-84eb-45f4-a2e7-137dd038e8f7) HTTP/1.1" 200 -
  3: 184.20.74.18: "GET /include/plain.css HTTP/1.1" 200 -
  4: 184.20.74.18: new handler Process
  4: 184.20.74.18: "GET /include/vnc.js HTTP/1.1" 200 -
  5: 184.20.74.18: new handler Process
  6: 184.20.74.18: new handler Process
  7: 184.20.74.18: new handler Process
  5: 184.20.74.18: "GET /include/webutil.js HTTP/1.1" 200 -
  6: 184.20.74.18: "GET /include/util.js HTTP/1.1" 200 -
  7: 184.20.74.18: "GET /include/logo.js HTTP/1.1" 200 -
  8: 184.20.74.18: new handler Process
  9: 184.20.74.18: new handler Process
 10: 184.20.74.18: new handler Process
  8: 184.20.74.18: "GET /include/base64.js HTTP/1.1" 200 -
 10: 184.20.74.18: "GET /include/websock.js HTTP/1.1" 200 -
  9: 184.20.74.18: "GET /include/des.js HTTP/1.1" 200 -
 11: 184.20.74.18: new handler Process
 12: 184.20.74.18: new handler Process
 12: 184.20.74.18: "GET /include/display.js HTTP/1.1" 200 -
 11: 184.20.74.18: "GET /include/input.js HTTP/1.1" 200 -
 13: 184.20.74.18: new handler Process
 13: 184.20.74.18: "GET /include/rfb.js HTTP/1.1" 200 -
 14: 184.20.74.18: new handler Process
 14: 184.20.74.18: Plain non-SSL (ws://) WebSocket connection
 14: 184.20.74.18: Version hybi-13, base64: 'True'
 14: handler exception: 'NoneType' object has no attribute 'rpc_backend'
 14: Traceback (most recent call last):
  File "/opt/stack/noVNC/utils/websocket.py", line 730, in top_new_client
    self.new_client()
  File "./utils/nova-novncproxy", line 85, in new_client
    'args': {'token': token}})
  File "/opt/stack/nova/nova/rpc/__init__.py", line 88, in call
    return _get_impl().call(_CONF, context, topic, msg, timeout)
  File "/opt/stack/nova/nova/rpc/__init__.py", line 222, in _get_impl
    _RPCIMPL = importutils.import_module(_CONF.rpc_backend)
AttributeError: 'NoneType' object has no attribute 'rpc_backend'

Revision history for this message
andrewsben (andrewsben) wrote :

Forgot to mention that this is running on precise...

Revision history for this message
Anthony Young (sleepsonthefloor) wrote :

Your branch of kanaka/noVNC is out-of-date. Git pull in /opt/stack/noVNC should fix this for you.

Revision history for this message
Anthony Young (sleepsonthefloor) wrote :

Devstack is presently pointing to the wrong branch for essex. nova-novncproxy has been merged into the main noVNC repo (kanaka/noVNC). I'll propose a fix.

affects: nova → devstack
Changed in devstack:
assignee: nobody → Anthony Young (sleepsonthefloor)
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack (master)

Reviewed: https://review.openstack.org/7125
Committed: http://github.com/openstack-dev/devstack/commit/220d93848f0254a72d15d7a16f288b85634ab180
Submitter: Jenkins
Branch: master

commit 220d93848f0254a72d15d7a16f288b85634ab180
Author: Anthony Young <email address hidden>
Date: Fri May 4 10:19:44 2012 -0700

    Update to point noVNC to kanaka/master

     * nova-novncproxy was accepted into kanaka/master
     * Fixes bug 994653

    Change-Id: I1cb40440e6cfbad9ed28203c45deea9fb9305f91

Changed in devstack:
status: New → Fix Committed
Dean Troyer (dtroyer)
Changed in devstack:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.