murano team mailing list archive
-
murano team
-
Mailing list archive
-
Message #00010
[Bug 1182537] [NEW] REGRESSION: REST API: failed to get list of environments
Public bug reported:
Note:
This is regression issue. Moved to launchpad:
Steps To Reproduce:
1. Git checkout the latest master branch.
2. Run REST API service.
3. Send request to get the list of environments.
Observed Result:
Error message:
Traceback (most recent call last):
File "/home/user/murano-api/.venv/local/lib/python2.7/site-packages/eventlet/wsgi.py", line 383, in handle_one_response
result = self.application(self.environ, start_response)
File "/home/user/murano-api/.venv/local/lib/python2.7/site-packages/keystoneclient/middleware/auth_token.py", line 450, in __call__
return self.app(env, start_response)
File "/home/user/murano-api/.venv/local/lib/python2.7/site-packages/webob/dec.py", line 130, in __call__
resp = self.call_func(req, *args, **self.kwargs)
File "/home/user/murano-api/.venv/local/lib/python2.7/site-packages/webob/dec.py", line 195, in call_func
return self.func(req, *args, **kwargs)
File "/home/user/murano-api/muranoapi/openstack/common/wsgi.py", line 194, in __call__
response = req.get_response(self.application)
File "/home/user/murano-api/.venv/local/lib/python2.7/site-packages/webob/request.py", line 1296, in send
application, catch_exc_info=False)
File "/home/user/murano-api/.venv/local/lib/python2.7/site-packages/webob/request.py", line 1260, in call_application
app_iter = application(self.environ, start_response)
File "/home/user/murano-api/.venv/local/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__
return resp(environ, start_response)
File "/home/user/murano-api/.venv/local/lib/python2.7/site-packages/routes/middleware.py", line 131, in __call__
response = self.app(environ, start_response)
File "/home/user/murano-api/.venv/local/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__
return resp(environ, start_response)
File "/home/user/murano-api/.venv/local/lib/python2.7/site-packages/webob/dec.py", line 130, in __call__
resp = self.call_func(req, *args, **self.kwargs)
File "/home/user/murano-api/.venv/local/lib/python2.7/site-packages/webob/dec.py", line 195, in call_func
return self.func(req, *args, **kwargs)
File "/home/user/murano-api/muranoapi/openstack/common/wsgi.py", line 378, in __call__
action_result = self.execute_action(action, request, **action_args)
File "/home/user/murano-api/muranoapi/openstack/common/wsgi.py", line 392, in execute_action
return self.dispatch(self.controller, action, request, **action_args)
File "/home/user/murano-api/muranoapi/openstack/common/wsgi.py", line 401, in dispatch
return method(*args, **kwargs)
File "/home/user/murano-api/muranoapi/api/v1/environments.py", line 41, in index
environments = [env.to_dict() for env in environments]
File "/home/user/murano-api/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2227, in __iter__
return self._execute_and_instances(context)
File "/home/user/murano-api/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2242, in _execute_and_instances
result = conn.execute(querycontext.statement, self._params)
File "/home/user/murano-api/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1449, in execute
params)
File "/home/user/murano-api/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1584, in _execute_clauseelement
compiled_sql, distilled_params
File "/home/user/murano-api/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1698, in _execute_context
context)
File "/home/user/murano-api/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1691, in _execute_context
context)
File "/home/user/murano-api/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/default.py", line 331, in do_execute
cursor.execute(statement, parameters)
OperationalError: (OperationalError) no such table: environment u'SELECT environment.created AS environment_created, environment.updated AS environment_updated, environment.id AS environment_id, environment.name AS environment_name, environment.tenant_id AS environment_tenant_id, environment.description AS environment_description \nFROM environment \nWHERE environment.tenant_id = ?' (u'83adab6423734f4088f287b111d4985e',)
** Affects: murano
Importance: Critical
Assignee: Serg Melikyan (smelikyan)
Status: New
** Tags: api
--
You received this bug notification because you are a member of Murano
Core, which is subscribed to murano.
Matching subscriptions: team
https://bugs.launchpad.net/bugs/1182537
Title:
REGRESSION: REST API: failed to get list of environments
Status in Murano Project:
New
Bug description:
Note:
This is regression issue. Moved to launchpad:
Steps To Reproduce:
1. Git checkout the latest master branch.
2. Run REST API service.
3. Send request to get the list of environments.
Observed Result:
Error message:
Traceback (most recent call last):
File "/home/user/murano-api/.venv/local/lib/python2.7/site-packages/eventlet/wsgi.py", line 383, in handle_one_response
result = self.application(self.environ, start_response)
File "/home/user/murano-api/.venv/local/lib/python2.7/site-packages/keystoneclient/middleware/auth_token.py", line 450, in __call__
return self.app(env, start_response)
File "/home/user/murano-api/.venv/local/lib/python2.7/site-packages/webob/dec.py", line 130, in __call__
resp = self.call_func(req, *args, **self.kwargs)
File "/home/user/murano-api/.venv/local/lib/python2.7/site-packages/webob/dec.py", line 195, in call_func
return self.func(req, *args, **kwargs)
File "/home/user/murano-api/muranoapi/openstack/common/wsgi.py", line 194, in __call__
response = req.get_response(self.application)
File "/home/user/murano-api/.venv/local/lib/python2.7/site-packages/webob/request.py", line 1296, in send
application, catch_exc_info=False)
File "/home/user/murano-api/.venv/local/lib/python2.7/site-packages/webob/request.py", line 1260, in call_application
app_iter = application(self.environ, start_response)
File "/home/user/murano-api/.venv/local/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__
return resp(environ, start_response)
File "/home/user/murano-api/.venv/local/lib/python2.7/site-packages/routes/middleware.py", line 131, in __call__
response = self.app(environ, start_response)
File "/home/user/murano-api/.venv/local/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__
return resp(environ, start_response)
File "/home/user/murano-api/.venv/local/lib/python2.7/site-packages/webob/dec.py", line 130, in __call__
resp = self.call_func(req, *args, **self.kwargs)
File "/home/user/murano-api/.venv/local/lib/python2.7/site-packages/webob/dec.py", line 195, in call_func
return self.func(req, *args, **kwargs)
File "/home/user/murano-api/muranoapi/openstack/common/wsgi.py", line 378, in __call__
action_result = self.execute_action(action, request, **action_args)
File "/home/user/murano-api/muranoapi/openstack/common/wsgi.py", line 392, in execute_action
return self.dispatch(self.controller, action, request, **action_args)
File "/home/user/murano-api/muranoapi/openstack/common/wsgi.py", line 401, in dispatch
return method(*args, **kwargs)
File "/home/user/murano-api/muranoapi/api/v1/environments.py", line 41, in index
environments = [env.to_dict() for env in environments]
File "/home/user/murano-api/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2227, in __iter__
return self._execute_and_instances(context)
File "/home/user/murano-api/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2242, in _execute_and_instances
result = conn.execute(querycontext.statement, self._params)
File "/home/user/murano-api/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1449, in execute
params)
File "/home/user/murano-api/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1584, in _execute_clauseelement
compiled_sql, distilled_params
File "/home/user/murano-api/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1698, in _execute_context
context)
File "/home/user/murano-api/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1691, in _execute_context
context)
File "/home/user/murano-api/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/default.py", line 331, in do_execute
cursor.execute(statement, parameters)
OperationalError: (OperationalError) no such table: environment u'SELECT environment.created AS environment_created, environment.updated AS environment_updated, environment.id AS environment_id, environment.name AS environment_name, environment.tenant_id AS environment_tenant_id, environment.description AS environment_description \nFROM environment \nWHERE environment.tenant_id = ?' (u'83adab6423734f4088f287b111d4985e',)
To manage notifications about this bug go to:
https://bugs.launchpad.net/murano/+bug/1182537/+subscriptions
Follow ups
References