)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"a78e380c7d7d3c1101b63078492f01d46f45d475","unresolved":false,"context_lines":[{"line_number":10,"context_line":"which were already deleted from db: this is due to creating and"},{"line_number":11,"context_line":"deleting objects with a high rate (like tempest API tests do)."},{"line_number":12,"context_line":"As a result errors and stacktraces appear in server and agent logs."},{"line_number":13,"context_line":"The proposed solution is to catch NotFound exceptions and print a warning."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Change-Id: I4446b678893d0bda578ad7ccdf3f109cb1c91b4d"},{"line_number":16,"context_line":"Closes-Bug: #1260682"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"AAAAUH%2F%2FtlA%3D","line":13,"updated":"2014-01-09 10:16:27.000000000","message":"(no -1 just note) nit wrap at 72 according to https://wiki.openstack.org/wiki/GitCommitMessages#Summary_of_GIT_commit_message_structure","commit_id":"c15a794a832e0453075d363df949684c0fb86657"}],"neutron/services/loadbalancer/drivers/haproxy/plugin_driver.py":[{"author":{"_account_id":9073,"name":"Yuanchao Sun","email":"yuanchao.sun@gmail.com","username":"yuanchao"},"change_message_id":"9d870d457980a593c9c500c491c219eae924b998","unresolved":false,"context_lines":[{"line_number":178,"context_line":"            # already deleted from db with other request"},{"line_number":179,"context_line":"            LOG.warning(_(\u0027Cannot update status: %(obj_type)s %(obj_id)s \u0027"},{"line_number":180,"context_line":"                          \u0027not found in the DB, it was probably deleted \u0027"},{"line_number":181,"context_line":"                          \u0027concurrently\u0027))"},{"line_number":182,"context_line":""},{"line_number":183,"context_line":"    def pool_destroyed(self, context, pool_id\u003dNone):"},{"line_number":184,"context_line":"        \"\"\"Agent confirmation hook that a pool has been destroyed."}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAT3%2F%2F2Rs%3D","line":181,"updated":"2013-12-30 08:26:13.000000000","message":"I think you missed a dictionary argument(obj_type and obj_id) here?","commit_id":"cd5fbe6190c4f989aafa8d6155fac2b48d0a90d9"},{"author":{"_account_id":6072,"name":"Eugene Nikanorov","email":"enikanorov@mirantis.com","username":"enikanorov"},"change_message_id":"a0083673f2741ffa239ab28371e5fd0805dde707","unresolved":false,"context_lines":[{"line_number":178,"context_line":"            # already deleted from db with other request"},{"line_number":179,"context_line":"            LOG.warning(_(\u0027Cannot update status: %(obj_type)s %(obj_id)s \u0027"},{"line_number":180,"context_line":"                          \u0027not found in the DB, it was probably deleted \u0027"},{"line_number":181,"context_line":"                          \u0027concurrently\u0027))"},{"line_number":182,"context_line":""},{"line_number":183,"context_line":"    def pool_destroyed(self, context, pool_id\u003dNone):"},{"line_number":184,"context_line":"        \"\"\"Agent confirmation hook that a pool has been destroyed."}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAT3%2F%2F2Qw%3D","line":181,"in_reply_to":"AAAAT3%2F%2F2Rs%3D","updated":"2013-12-30 08:32:52.000000000","message":"good catch","commit_id":"cd5fbe6190c4f989aafa8d6155fac2b48d0a90d9"},{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"789e18a25cd92a5397bd73680a2ed77d1b91a1b1","unresolved":false,"context_lines":[{"line_number":166,"context_line":"        }"},{"line_number":167,"context_line":"        if obj_type not in model_mapping:"},{"line_number":168,"context_line":"            raise q_exc.Invalid(_(\u0027Unknown object type: %s\u0027) % obj_type)"},{"line_number":169,"context_line":"        try:"},{"line_number":170,"context_line":"            if obj_type \u003d\u003d \u0027health_monitor\u0027:"},{"line_number":171,"context_line":"                self.plugin.update_pool_health_monitor("},{"line_number":172,"context_line":"                    context, obj_id[\u0027monitor_id\u0027], obj_id[\u0027pool_id\u0027], status)"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAUH%2F%2B0QE%3D","line":169,"updated":"2014-01-21 19:58:57.000000000","message":"Should the try/except wrap only the call to update_status?","commit_id":"c15a794a832e0453075d363df949684c0fb86657"},{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"5313c2109e543d01a9ca0a560b7a7f7598e17bfe","unresolved":false,"context_lines":[{"line_number":166,"context_line":"        }"},{"line_number":167,"context_line":"        if obj_type not in model_mapping:"},{"line_number":168,"context_line":"            raise q_exc.Invalid(_(\u0027Unknown object type: %s\u0027) % obj_type)"},{"line_number":169,"context_line":"        try:"},{"line_number":170,"context_line":"            if obj_type \u003d\u003d \u0027health_monitor\u0027:"},{"line_number":171,"context_line":"                self.plugin.update_pool_health_monitor("},{"line_number":172,"context_line":"                    context, obj_id[\u0027monitor_id\u0027], obj_id[\u0027pool_id\u0027], status)"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAUH%2F%2ByL8%3D","line":169,"in_reply_to":"AAAAUH%2F%2B0QE%3D","updated":"2014-01-22 06:47:11.000000000","message":"In fact update_pool_health_monitor() can also raise NotFound in case health monitor has been deleted already, so we should handle it as well.","commit_id":"c15a794a832e0453075d363df949684c0fb86657"}]}
