target_cfg kwargs error when starting the nova-novncproxy server

Bug #1040920 reported by Naveen Joy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
New
Undecided
Unassigned

Bug Description

I am getting a target_cfg kwargs error when I attempt to start the nova-novncproxy server. The root cause appears to be that the nova-novncproxy code is not passing in a required parameter ‘target_cfg’ to start the websocketproxyserver. I downloaded the websockify.py script from https://github.com/kanaka/websockify/blob/master/websockify .

sudo nova-novncproxy
Traceback (most recent call last):
  File "/usr/local/bin/nova-novncproxy", line 5, in <module>
    pkg_resources.run_script('nova==2012.2', 'nova-novncproxy')
  File "/usr/local/lib/python2.7/dist-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 489, in run_script
    yield ep
  File "/usr/local/lib/python2.7/dist-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 1207, in run_script

  File "/usr/local/lib/python2.7/dist-packages/nova-2012.2-py2.7.egg/EGG-INFO/scripts/nova-novncproxy", line 156, in <module>
    wrap_cmd=None)
  File "/usr/local/lib/python2.7/dist-packages/nova-2012.2-py2.7.egg/EGG-INFO/scripts/nova-novncproxy", line 76, in __init__
    ssl_target=None, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/websockify.py", line 50, in __init__
    self.target_cfg = kwargs.pop('target_cfg')
KeyError: 'target_cfg'

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.