Skip to content

Instantly share code, notes, and snippets.

@treshenry
Created November 17, 2011 21:40
Show Gist options
  • Save treshenry/1374616 to your computer and use it in GitHub Desktop.
Save treshenry/1374616 to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "/opt/stack/horizon/openstack-dashboard/.dashboard-venv/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/opt/stack/horizon/horizon/horizon/decorators.py", line 41, in dec
return view_func(request, *args, **kwargs)
File "/opt/stack/horizon/horizon/horizon/decorators.py", line 41, in dec
return view_func(request, *args, **kwargs)
File "/opt/stack/horizon/openstack-dashboard/.dashboard-venv/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 23, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/opt/stack/horizon/horizon/horizon/dashboards/nova/keypairs/views.py", line 52, in index
keypairs = api.keypair_list(request)
File "/opt/stack/horizon/horizon/horizon/api/nova.py", line 218, in keypair_list
return [KeyPair(key) for key in novaclient(request).keypairs.list()]
File "/opt/stack/horizon/horizon/horizon/api/nova.py", line 144, in novaclient
auth_url=url_for(request, 'compute'))
TypeError: __init__() got an unexpected keyword argument 'api_key'
[17/Nov/2011 13:37:24] "GET /nova/keypairs/ HTTP/1.1" 500 109855
@treshenry
Copy link
Author

This is patched in the latest python-novaclient so the quick workaround is to upgrade in the Horizon venv:

tools/with_venv.sh pip install python-novaclient --upgrade

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment