client init() got unexpected keyword argument

Bug #1629217 reported by Jaewook Kim
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Solum
New
Medium
Jaewook Kim

Bug Description

I cloned solum,dashboard,client stable/mitaka branch

When solum dashboard initialize we got below error message

TypeError: __init__() got an unexpected keyword argument 'service_type'

Detail message is

2016-09-30 05:40:05.080209 Internal Server Error: /dashboard/solum/
2016-09-30 05:40:05.080569 Traceback (most recent call last):
2016-09-30 05:40:05.080871 File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 132, in get_response
2016-09-30 05:40:05.082186 response = wrapped_callback(request, *callback_args, **callback_kwargs)
2016-09-30 05:40:05.087278 File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py", line 36, in dec
2016-09-30 05:40:05.087734 return view_func(request, *args, **kwargs)
2016-09-30 05:40:05.088009 File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py", line 52, in dec
2016-09-30 05:40:05.090468 return view_func(request, *args, **kwargs)
2016-09-30 05:40:05.090830 File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py", line 36, in dec
2016-09-30 05:40:05.091800 return view_func(request, *args, **kwargs)
2016-09-30 05:40:05.092348 File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py", line 71, in view
2016-09-30 05:40:05.095176 return self.dispatch(request, *args, **kwargs)
2016-09-30 05:40:05.095263 File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py", line 89, in dispatch
2016-09-30 05:40:05.095324 return handler(request, *args, **kwargs)
2016-09-30 05:40:05.095381 File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tables/views.py", line 219, in get
2016-09-30 05:40:05.095439 handled = self.construct_tables()
2016-09-30 05:40:05.095495 File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tables/views.py", line 210, in construct_tables
2016-09-30 05:40:05.095552 handled = self.handle_table(table)
2016-09-30 05:40:05.095607 File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tables/views.py", line 123, in handle_table
2016-09-30 05:40:05.095664 data = self._get_data_dict()
2016-09-30 05:40:05.095718 File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tables/views.py", line 247, in _get_data_dict
2016-09-30 05:40:05.096190 self._data = {self.table_class._meta.name: self.get_data()}
2016-09-30 05:40:05.096385 File "/opt/stack/solum-dashboard/solumdashboard/applications/views.py", line 32, in get_data
2016-09-30 05:40:05.096462 solum = solumclient(self.request)
2016-09-30 05:40:05.096507 File "/opt/stack/solum-dashboard/solumdashboard/api/client.py", line 64, in client
2016-09-30 05:40:05.096551 auth_url=auth_url)
2016-09-30 05:40:05.096593 File "/opt/stack/python-solumclient/solumclient/client.py", line 37, in Client
2016-09-30 05:40:05.096636 http_client = client.HTTPClient(keystone_auth, **other_kwargs)
2016-09-30 05:40:05.096680 TypeError: __init__() got an unexpected keyword argument 'service_type'

Revision history for this message
Devdatta Kulkarni (devdatta-kulkarni) wrote :

Thanks for filing this bug Jaewook Kim.

Can you add following details:

- solum commit used
- solum-dashboard commit used
- python-solumclient commit used

Several improvements were added to all these three projects in last few months which are not there in the mitaka branch.

You can join Solum irc channel (#solum on chat.freenode.net) if you want to discuss more on what changed etc.

Revision history for this message
Jaewook Kim (cmdhema) wrote :

Hello Devdatta. Thanks for your comment.
What does mean commit used?? Is it means branch name?
Sorry I don't understand... :-)

When it comes to my solum branch, solum, solum-dashboard, python-solumclient are used mitaka branch.
Please check https://review.openstack.org/#/c/380015/

If you comment again, It makes me very helpful

Thx

Changed in solum:
assignee: nobody → Jaewook Kim (cmdhema)
assignee: Jaewook Kim (cmdhema) → nobody
description: updated
Jaewook Kim (cmdhema)
Changed in solum:
assignee: nobody → Jaewook Kim (cmdhema)
Revision history for this message
Devdatta Kulkarni (devdatta-kulkarni) wrote :

I see. Ok, so you were using mitaka for all three.

In that case we will have to backport this patch to the mitaka branch. Do you know how to do that?
If not, I would suggest checking with some other projects who have done it before. For us, this is the first time we are going to need a backport.

Changed in solum:
importance: Undecided → Medium
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.