)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"aebb6d98143a82c771be97d2f149b7dfee59eb6e","unresolved":false,"context_lines":[{"line_number":18,"context_line":"(500, \u0027Unexpected response content: {\"computeFault\": {\"message\": \"The"},{"line_number":19,"context_line":"server has either erred or is incapable of performing the requested"},{"line_number":20,"context_line":"operation.\", \"code\": 500}}\u0027)"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"Change-Id: I07fa0b626b7529699179c8cd8e254fd66455c930"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"3fce034c_3369f824","line":21,"updated":"2019-04-11 20:23:31.000000000","message":"There was a reported bug for this:\n\nhttps://bugs.launchpad.net/placement-osc-plugin/+bug/1772385\n\nSo the recreate in that case is stop mysqld and then run a command and watch it blow up - not easy to recreate in tests, but easy to recreate in devstack and verify the fix.","commit_id":"836d34c4d21c9e4dde936dfc261bb92c5c7f905d"}],"osc_placement/http.py":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"c66fe78c10fff700ae6541ba2e1e4e4a666f0297","unresolved":false,"context_lines":[{"line_number":33,"context_line":"    except ks_exceptions.HttpError as exc:"},{"line_number":34,"context_line":"        if 400 \u003c\u003d exc.http_status \u003c 500:"},{"line_number":35,"context_line":"            detail \u003d json.loads(exc.response.content)[\u0027errors\u0027][0][\u0027detail\u0027]"},{"line_number":36,"context_line":"            msg \u003d detail.split(\u0027\\n\u0027)[-1].strip()"},{"line_number":37,"context_line":"            exc_class \u003d _http_error_to_exc.get(exc.http_status,"},{"line_number":38,"context_line":"                                               exceptions.CommandError)"},{"line_number":39,"context_line":"            six.raise_from(exc_class(exc.http_status, msg), exc)"}],"source_content_type":"text/x-python","patch_set":6,"id":"9f560f44_475e1176","line":36,"range":{"start_line":36,"start_character":25,"end_line":36,"end_character":36},"updated":"2020-08-06 17:59:34.000000000","message":"nit: Since you\u0027re only using the last line, you could make this slightly more efficient as:\n\n rsplit(\u0027\\n\u0027, 1)","commit_id":"75b3aa094ff8b280ea563fbb1f08d14921327402"}]}
