Now we have problem with API service
https://murano-ci.mirantis.com/job/REST_API_on_commit_to_git/190/console
Looks like problem in typo error.
Exception body:
{code}
Create a few sessions for one environment | FAIL |
"User has sent GET request with url http://172.18.79.83:8082/environments. Response code: 500. Response body: Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/eventlet/wsgi.py", line 384, in handle_one_response
result = self.application(self.environ, start_response)
File "/usr/lib/python2.6/site-packages/keystoneclient/middleware/auth_token.py", line 539, in __call__
return self.app(env, start_response)
File "/usr/lib/python2.6/site-packages/webob/dec.py", line 130, in __call__
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/python2.6/site-packages/webob/dec.py", line 195, in call_func
return self.func(req, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/muranoapi/openstack/common/wsgi.py", line 194, in __call__
response = req.get_response(self.application)
File "/usr/lib/python2.6/site-packages/webob/request.py", line 1296, in send
application, catch_exc_info=False)
File "/usr/lib/python2.6/site-packages/webob/request.py", line 1260, in call_application
app_iter = application(self.environ, start_response)
[ Message content over the limit has been removed. ]
File "/usr/lib/python2.6/site-packages/muranoapi/openstack/common/wsgi.py", line 392, in execute_action
return self.dispatch(self.controller, action, request, **action_args)
File "/usr/lib/python2.6/site-packages/muranoapi/openstack/common/wsgi.py", line 401, in dispatch
return method(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/muranoapi/api/v1/environments.py", line 37, in index
environments = EnvironmentServices.get_environments_by(filters)
File "/usr/lib/python2.6/site-packages/muranoapi/db/services/environments.py", line 48, in get_environments_by
env['status'] = EnvironmentServices.get_status(env['id'])
File "/usr/lib/python2.6/site-packages/muranoapi/db/services/environments.py", line 66, in get_status
SessionState.deploying)
File "/usr/lib/python2.6/site-packages/muranoapi/db/services/sessions.py", line 52, in get_sessions
Session.version == environment.version
TypeError: <lambda>() takes exactly 2 arguments (4 given)
{code}