)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"15839ccfd687bd1fac1426a02b871e1794d79f85","unresolved":false,"context_lines":[{"line_number":9,"context_line":"Rather than copy the instance action event from the target"},{"line_number":10,"context_line":"cell DB to the source cell DB when"},{"line_number":11,"context_line":"_finish_snapshot_based_resize_at_dest fails on the dest host,"},{"line_number":12,"context_line":"we can simply use the EventReporter context in conductor with"},{"line_number":13,"context_line":"the source cell context and get the same event."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Part of blueprint cross-cell-resize"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"3fa7e38b_2c9f3052","line":12,"range":{"start_line":12,"start_character":36,"end_line":12,"end_character":43},"updated":"2019-12-02 16:34:36.000000000","message":"context manager","commit_id":"7b809e8a0eb899bc90c9e5dd19a197c3e4a049ef"}],"nova/conductor/tasks/cross_cell_migrate.py":[{"author":{"_account_id":9708,"name":"Balazs Gibizer","display_name":"gibi","email":"gibizer@gmail.com","username":"gibi"},"change_message_id":"188a6f3b7864e235b79bce66c14bd6d5314d90a4","unresolved":false,"context_lines":[{"line_number":512,"context_line":"        event_name \u003d \u0027compute_finish_snapshot_based_resize_at_dest\u0027"},{"line_number":513,"context_line":"        source_cell_context \u003d self.source_cell_instance._context"},{"line_number":514,"context_line":"        try:"},{"line_number":515,"context_line":"            with compute_utils.EventReporter("},{"line_number":516,"context_line":"                    source_cell_context, event_name,"},{"line_number":517,"context_line":"                    self.migration.dest_compute, self.instance.uuid):"},{"line_number":518,"context_line":"                self.compute_rpcapi.finish_snapshot_based_resize_at_dest("}],"source_content_type":"text/x-python","patch_set":7,"id":"3fa7e38b_d9a5354a","line":515,"updated":"2019-12-16 12:22:23.000000000","message":"So by this we report the events to the source cell and by the wrap_instance_event decorator on finish_snapshot_based_resize_at_dest rpc method we report it to the destination cell.","commit_id":"c58cfa53ab79c5011b37b7ba6133da3ff47ffd00"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"c9fefd4404d779958a9e7a5bcc55e4dc63dd3a8e","unresolved":false,"context_lines":[{"line_number":512,"context_line":"        event_name \u003d \u0027compute_finish_snapshot_based_resize_at_dest\u0027"},{"line_number":513,"context_line":"        source_cell_context \u003d self.source_cell_instance._context"},{"line_number":514,"context_line":"        try:"},{"line_number":515,"context_line":"            with compute_utils.EventReporter("},{"line_number":516,"context_line":"                    source_cell_context, event_name,"},{"line_number":517,"context_line":"                    self.migration.dest_compute, self.instance.uuid):"},{"line_number":518,"context_line":"                self.compute_rpcapi.finish_snapshot_based_resize_at_dest("}],"source_content_type":"text/x-python","patch_set":7,"id":"3fa7e38b_8a475d53","line":515,"in_reply_to":"3fa7e38b_d9a5354a","updated":"2019-12-16 14:36:13.000000000","message":"Exactly.\n\nMaybe I should use the same trick in https://review.opendev.org/#/c/638046/56/nova/conductor/tasks/cross_cell_migrate.py@1268 for the conductor_revert_snapshot_based_resize event in the source cell.","commit_id":"c58cfa53ab79c5011b37b7ba6133da3ff47ffd00"}]}
