← Back to team overview

openstack team mailing list archive

DashBoard errors - Floating IPs

 

Hi List,

I followed the Openstack training at Londen a few weeks ago, realy nice. I went back to the office and standard building my Openstack test setup. There is just one thing i can't get to work. Can someone help me on this one?

The Floating IPs works really nice when i use the API. The command:
euca-associate-address -i i-00000007 x.x.x.x
Works fine.

But when i would like to use the Dashboard, I get some errors,

I login to my Dashboard with my Admin account.
Then I click on 'Floating IPs', and click 'Allocate IP'
I get one IP from the system's pool.

Then when i click on 'Associate to instance' I get an Error from Dashboard:

KeyError at /dash/JDN/floating_ips/1/associate
'private'
Request Method:	GET
Request URL:	http://openstack.jdnt.nl/dash/JDN/floating_ips/1/associate
Django Version:	1.3.1
Exception Type:	KeyError
Exception Value:	
'private'
Exception Location:	/usr/lib/pymodules/python2.6/django_openstack/dash/views/floating_ips.py in associate, line 152
Python Executable:	/usr/bin/python
Python Version:	2.6.6
Python Path:	
['/var/lib/dash',
 '/usr/local/lib/python2.6/dist-packages/virtualenv-1.6.4-py2.6.egg',
 '/usr/lib/python2.6',
 '/usr/lib/python2.6/plat-linux2',
 '/usr/lib/python2.6/lib-tk',
 '/usr/lib/python2.6/lib-old',
 '/usr/lib/python2.6/lib-dynload',
 '/usr/local/lib/python2.6/dist-packages',
 '/usr/lib/python2.6/dist-packages',
 '/usr/lib/pymodules/python2.6',
 '/usr/lib/pymodules/python2.6/gtk-2.0',
 '/var/lib/dash/dashboard']

Traceback
/usr/lib/python2.6/dist-packages/django/core/handlers/base.py in get_response
111. response = callback(request, *callback_args, **callback_kwargs) 

/usr/lib/python2.6/dist-packages/django/contrib/auth/decorators.py in _wrapped_view
23. return view_func(request, *args, **kwargs) 

/usr/lib/pymodules/python2.6/django_openstack/dash/views/floating_ips.py in associate
152.  for server in api.server_list(request)] 


Met vriendelijke groet,

Martin van Wilderen
Technical Manager