murano team mailing list archive
-
murano team
-
Mailing list archive
-
Message #00008
[Bug 1182332] Re: REST API Exception during the deletion of environment
** Changed in: murano
Status: New => Fix Committed
** Changed in: murano
Milestone: None => 0.1a
--
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/1182332
Title:
REST API Exception during the deletion of environment
Status in Murano Project:
Fix Committed
Bug description:
Note:
it is regression issue, commit 026d49b1ba60d148dcf1b81e4bc1f36129b1261e works fine, but the next commit is broken.
Steps To Reproduce:
1. Git checkout the master branch
2. run REST API service in virtual environment (option, reproduced without venv too).
3. Login via WEB UI and try to delete environment.
Observed Result:
Error on page with status 500.
We can see the following traceback in horizon logs:
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 110, in delete
env['services'] = []
TypeError: 'unicode' object does not support item assignment
To manage notifications about this bug go to:
https://bugs.launchpad.net/murano/+bug/1182332/+subscriptions
References