)]}'
{"nova_powervm/virt/powervm/driver.py":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"e0318417e7af1e941667e8ecd83339e8937d6cb8","unresolved":false,"context_lines":[{"line_number":1746,"context_line":"            # Otherwise wrapper the error in an exception that can be handled"},{"line_number":1747,"context_line":"            LOG.exception(\"Unable to open console.\", instance\u003dinstance)"},{"line_number":1748,"context_line":"            raise pvm_exc.VNCBasedTerminalFailedToOpen("},{"line_number":1749,"context_line":"                instance_id\u003dinstance.uuid, reason\u003dexc.msg)"},{"line_number":1750,"context_line":""},{"line_number":1751,"context_line":"        # Note that the VNC viewer will wrap the internal_access_path with"},{"line_number":1752,"context_line":"        # the HTTP content."}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_92c0922c","line":1749,"range":{"start_line":1749,"start_character":43,"end_line":1749,"end_character":57},"updated":"2017-10-20 19:33:23.000000000","message":"1) This will be duplicated from the LOG.exception above.\n2) It\u0027ll break in py3, I believe.\n\nLet\u0027s just leave it out of the exception.","commit_id":"5d84d63e28d5c265fb92a0abcba37afd8db6323e"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"8302750295740444cc687481e4878accdee9a704","unresolved":false,"context_lines":[{"line_number":1752,"context_line":"            # Need to raise ConsoleTypeUnavailable with overwritten message"},{"line_number":1753,"context_line":"            # because otherwise the exception will not be caught. It is"},{"line_number":1754,"context_line":"            # disallowed to send a non-nova exception over the wire."},{"line_number":1755,"context_line":"            raise exception.ConsoleTypeUnavailable(msg)"},{"line_number":1756,"context_line":""},{"line_number":1757,"context_line":"        # Note that the VNC viewer will wrap the internal_access_path with"},{"line_number":1758,"context_line":"        # the HTTP content."}],"source_content_type":"text/x-python","patch_set":6,"id":"3f4b6375_702a6b7f","line":1755,"updated":"2017-10-24 13:55:33.000000000","message":"This is not the right type of exception, and it would result in HTTP 400 where HTTP 500 should be sent.\n\nNova should allow any API to raise an exception with HTTP 500. This is a nova bug, and should be fixed there.","commit_id":"52fa184d55045c8795f1dda6fc1cd8c34098d4b9"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"99794b428374ec8304fbc33cc782ab696633f354","unresolved":false,"context_lines":[{"line_number":1752,"context_line":"            # Need to raise ConsoleTypeUnavailable with overwritten message"},{"line_number":1753,"context_line":"            # because otherwise the exception will not be caught. It is"},{"line_number":1754,"context_line":"            # disallowed to send a non-nova exception over the wire."},{"line_number":1755,"context_line":"            raise exception.ConsoleTypeUnavailable(msg)"},{"line_number":1756,"context_line":""},{"line_number":1757,"context_line":"        # Note that the VNC viewer will wrap the internal_access_path with"},{"line_number":1758,"context_line":"        # the HTTP content."}],"source_content_type":"text/x-python","patch_set":6,"id":"3f4b6375_c13a73ca","line":1755,"in_reply_to":"3f4b6375_702a6b7f","updated":"2017-10-24 15:11:34.000000000","message":"I take it back... after more discussion, HTTP 400 is probably better here.\n\nI don\u0027t like that we\u0027re overloading ConsoleTypeUnavailable, but this is probably ok as a quick and dirty fix while we add a better exception type (ConsoleUnavailable?) to nova.","commit_id":"52fa184d55045c8795f1dda6fc1cd8c34098d4b9"}]}
