)]}'
{"nova/api/openstack/extensions.py":[{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"e50cce07a4185ae7efe5b048e495cbbad9f85c12","unresolved":false,"context_lines":[{"line_number":365,"context_line":"                elif isinstance(exc, exception.InvalidInput):"},{"line_number":366,"context_line":"                    # Note(aloga): Handle an input error, that can be is"},{"line_number":367,"context_line":"                    # returned by cinder when something wrong is provided"},{"line_number":368,"context_line":"                    raise"},{"line_number":369,"context_line":""},{"line_number":370,"context_line":"                LOG.exception(_LE(\"Unexpected exception in API method\"))"},{"line_number":371,"context_line":"                msg \u003d _(\u0027Unexpected API Error. Please report this at \u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"7a8ec9b2_2701783a","line":368,"updated":"2016-09-19 13:19:09.000000000","message":"if this is cinder specific, it should be translated here, right - https://github.com/openstack/nova/blob/d4b35152c0ac2f3f2b4d158c83dba249d6d2ff0c/nova/volume/cinder.py#L183 ?","commit_id":"44af439d4200762d1f98ce1b8d134328393c69e4"},{"author":{"_account_id":91,"name":"Alvaro","email":"aloga@ifca.unican.es","username":"aloga"},"change_message_id":"063ac12732596effdb5c676f420aa618da366112","unresolved":false,"context_lines":[{"line_number":365,"context_line":"                elif isinstance(exc, exception.InvalidInput):"},{"line_number":366,"context_line":"                    # Note(aloga): Handle an input error, that can be is"},{"line_number":367,"context_line":"                    # returned by cinder when something wrong is provided"},{"line_number":368,"context_line":"                    raise"},{"line_number":369,"context_line":""},{"line_number":370,"context_line":"                LOG.exception(_LE(\"Unexpected exception in API method\"))"},{"line_number":371,"context_line":"                msg \u003d _(\u0027Unexpected API Error. Please report this at \u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"7a8ec9b2_2ddcf973","line":368,"in_reply_to":"7a8ec9b2_2701783a","updated":"2016-09-19 13:35:16.000000000","message":"Actually, the InvalidInput exception is coming from that function (https://github.com/openstack/nova/blob/d4b35152c0ac2f3f2b4d158c83dba249d6d2ff0c/nova/volume/cinder.py#L196 ). We are translating what comes from cinder (i.e. a 400 BadRequest) into an InvalidInput, but then we are just raising a 500 here.","commit_id":"44af439d4200762d1f98ce1b8d134328393c69e4"}]}
