[openstack-dev] nova-novncproxy fails to start

Naveen Joy (najoy) najoy at cisco.com
Thu Aug 23 20:49:02 UTC 2012


Hi All,

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 . Is this not the right place to get the websocket server module?. Appreciate any help.

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'

Thanks,
Naveen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20120823/2858663f/attachment.html>


More information about the OpenStack-dev mailing list