ooi

Activity log for bug #1624232

Date Who What changed Old value New value Message
2016-09-16 07:14:40 Alvaro Lopez bug added bug
2016-09-16 07:16:28 Alvaro Lopez ooi: importance Undecided Medium
2016-09-16 07:16:28 Alvaro Lopez ooi: status New Triaged
2016-09-16 07:16:35 Alvaro Lopez ooi: milestone 0.3.2
2016-09-16 07:27:12 Alvaro Lopez summary ooi fails with 500 when deleting an image ooi fails with 500 when deleting a volume
2016-09-16 07:27:22 Alvaro Lopez description When deleting an image ooi returns HTTP[500] (but the image in question is deleted): <- "DELETE /occi1.1/storage/86f9b574-859f-4b45-93b0-098d1540c9a6 HTTP/1.1\r\nAccept: text/plain,text/occi\r\nUser-Agent: rOCCI-core/4.3.2 rOCCI-api/4.3.5 OCCI/1.1 ruby-x86_64-linux/2.2.4p230\r\nX-Auth-Token: TOKEN_HERE\r\nConnection: close\r\nHost: cloud.ifca.es:8787\r\n\r\n" -> "HTTP/1.1 500 Internal Server Error\r\n" -> "Date: Thu, 15 Sep 2016 08:54:28 GMT\r\n" -> "Content-Type: text/plain; charset=UTF-8\r\n" -> "Content-Length: 82\r\n" -> "Connection: close\r\n" -> "server: ooi/0.1.1 OCCI/1.1\r\n" -> "x-compute-request-id: req-d2df378a-635f-42e0-9f5c-b90c2a8d41a6\r\n" -> "\r\n" reading 82 bytes... -> "The server has either erred or is incapable of performing the requested operation." read 82 bytes Conn close ooi logs shows the following in the logs 2016-09-15 10:54:28.681 11539 ERROR ooi.api.helpers [req-d2df378a-635f-42e0-9f5c-b90c2a8d41a6 7050a82701b04f8d8f61098a07ff0ebc 999f045cb1ff4684a15ebb338af69460 - - -] Unknown error happenened processing response 202 Accepted Content-Length: 0 Content-Type: application/json X-OpenStack-Nova-API-Version: 2.1 Vary: X-OpenStack-Nova-API-Version 2016-09-15 10:54:28.681 11539 ERROR ooi.api.helpers Traceback (most recent call last): 2016-09-15 10:54:28.681 11539 ERROR ooi.api.helpers File "/usr/lib/python2.7/dist-packages/ooi/api/helpers.py", line 91, in exception_from_response 2016-09-15 10:54:28.681 11539 ERROR ooi.api.helpers message = response.json_body.popitem()[1].get("message") 2016-09-15 10:54:28.681 11539 ERROR ooi.api.helpers File "/usr/lib/python2.7/dist-packages/webob/response.py", line 401, in _json_body__get 2016-09-15 10:54:28.681 11539 ERROR ooi.api.helpers return json.loads(self.body.decode(self.charset or 'UTF-8')) 2016-09-15 10:54:28.681 11539 ERROR ooi.api.helpers File "/usr/lib/python2.7/dist-packages/simplejson/__init__.py", line 516, in loads 2016-09-15 10:54:28.681 11539 ERROR ooi.api.helpers return _default_decoder.decode(s) 2016-09-15 10:54:28.681 11539 ERROR ooi.api.helpers File "/usr/lib/python2.7/dist-packages/simplejson/decoder.py", line 370, in decode 2016-09-15 10:54:28.681 11539 ERROR ooi.api.helpers obj, end = self.raw_decode(s) 2016-09-15 10:54:28.681 11539 ERROR ooi.api.helpers File "/usr/lib/python2.7/dist-packages/simplejson/decoder.py", line 400, in raw_decode 2016-09-15 10:54:28.681 11539 ERROR ooi.api.helpers return self.scan_once(s, idx=_w(s, idx).end()) 2016-09-15 10:54:28.681 11539 ERROR ooi.api.helpers JSONDecodeError: Expecting value: line 1 column 1 (char 0) 2016-09-15 10:54:28.681 11539 ERROR ooi.api.helpers 2016-09-15 10:54:28.712 11539 INFO ooi.wsgi [req-d2df378a-635f-42e0-9f5c-b90c2a8d41a6 7050a82701b04f8d8f61098a07ff0ebc 999f045cb1ff4684a15ebb338af69460 - - -] HTTP exception thrown: The server has either erred or is incapable of performing the requested operation. When deleting an volume ooi returns HTTP[500] (but the image in question is deleted):     <- "DELETE /occi1.1/storage/86f9b574-859f-4b45-93b0-098d1540c9a6 HTTP/1.1\r\nAccept: text/plain,text/occi\r\nUser-Agent: rOCCI-core/4.3.2 rOCCI-api/4.3.5 OCCI/1.1 ruby-x86_64-linux/2.2.4p230\r\nX-Auth-Token: TOKEN_HERE\r\nConnection: close\r\nHost: cloud.ifca.es:8787\r\n\r\n"     -> "HTTP/1.1 500 Internal Server Error\r\n"     -> "Date: Thu, 15 Sep 2016 08:54:28 GMT\r\n"     -> "Content-Type: text/plain; charset=UTF-8\r\n"     -> "Content-Length: 82\r\n"     -> "Connection: close\r\n"     -> "server: ooi/0.1.1 OCCI/1.1\r\n"     -> "x-compute-request-id: req-d2df378a-635f-42e0-9f5c-b90c2a8d41a6\r\n"     -> "\r\n"     reading 82 bytes...     -> "The server has either erred or is incapable of performing the requested operation."     read 82 bytes     Conn close ooi logs shows the following in the logs  2016-09-15 10:54:28.681 11539 ERROR ooi.api.helpers [req-d2df378a-635f-42e0-9f5c-b90c2a8d41a6 7050a82701b04f8d8f61098a07ff0ebc 999f045cb1ff4684a15ebb338af69460 - - -] Unknown error happenened processing response 202 Accepted  Content-Length: 0  Content-Type: application/json  X-OpenStack-Nova-API-Version: 2.1  Vary: X-OpenStack-Nova-API-Version  2016-09-15 10:54:28.681 11539 ERROR ooi.api.helpers Traceback (most recent call last):  2016-09-15 10:54:28.681 11539 ERROR ooi.api.helpers File "/usr/lib/python2.7/dist-packages/ooi/api/helpers.py", line 91, in exception_from_response  2016-09-15 10:54:28.681 11539 ERROR ooi.api.helpers message = response.json_body.popitem()[1].get("message")  2016-09-15 10:54:28.681 11539 ERROR ooi.api.helpers File "/usr/lib/python2.7/dist-packages/webob/response.py", line 401, in _json_body__get  2016-09-15 10:54:28.681 11539 ERROR ooi.api.helpers return json.loads(self.body.decode(self.charset or 'UTF-8'))  2016-09-15 10:54:28.681 11539 ERROR ooi.api.helpers File "/usr/lib/python2.7/dist-packages/simplejson/__init__.py", line 516, in loads  2016-09-15 10:54:28.681 11539 ERROR ooi.api.helpers return _default_decoder.decode(s)  2016-09-15 10:54:28.681 11539 ERROR ooi.api.helpers File "/usr/lib/python2.7/dist-packages/simplejson/decoder.py", line 370, in decode  2016-09-15 10:54:28.681 11539 ERROR ooi.api.helpers obj, end = self.raw_decode(s)  2016-09-15 10:54:28.681 11539 ERROR ooi.api.helpers File "/usr/lib/python2.7/dist-packages/simplejson/decoder.py", line 400, in raw_decode  2016-09-15 10:54:28.681 11539 ERROR ooi.api.helpers return self.scan_once(s, idx=_w(s, idx).end())  2016-09-15 10:54:28.681 11539 ERROR ooi.api.helpers JSONDecodeError: Expecting value: line 1 column 1 (char 0)  2016-09-15 10:54:28.681 11539 ERROR ooi.api.helpers  2016-09-15 10:54:28.712 11539 INFO ooi.wsgi [req-d2df378a-635f-42e0-9f5c-b90c2a8d41a6 7050a82701b04f8d8f61098a07ff0ebc 999f045cb1ff4684a15ebb338af69460 - - -] HTTP exception thrown: The server has either erred or is incapable of performing the requested operation.
2016-09-19 16:56:59 Alvaro Lopez ooi: status Triaged Fix Released
2016-09-19 16:56:59 Alvaro Lopez ooi: milestone 0.3.2
2016-09-19 16:57:53 Alvaro Lopez ooi: milestone 0.3.2