API: exception from the typo error

Bug #1217308 reported by Denis Myznikov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
Critical
Serg Melikyan

Bug Description

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}

Changed in murano:
status: New → Fix Committed
assignee: nobody → Murano Dev (murano-devs)
assignee: Murano Dev (murano-devs) → nobody
Changed in murano:
assignee: nobody → Serg Melikyan (smelikyan)
importance: Undecided → High
milestone: none → 0.2
assignee: Serg Melikyan (smelikyan) → nobody
assignee: nobody → Serg Melikyan (smelikyan)
Changed in murano:
status: Fix Committed → Fix Released
description: updated
Changed in murano:
importance: High → Critical
status: Fix Released → Fix Committed
summary: - API: exception from the typo error
+ Launchpad Bug #1217308: API: exception from the typo error
Changed in murano:
status: Fix Committed → Fix Released
summary: - Launchpad Bug #1217308: API: exception from the typo error
+ API: exception from the typo error
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.