)]}'
{"nova/compute/manager.py":[{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"1c3816beee86fbdce643c6c7636039ee0d872ce8","unresolved":false,"context_lines":[{"line_number":952,"context_line":"                # NOTE(luyao): live migration is aborted, we should rollback"},{"line_number":953,"context_line":"                # to revert allocation and cleanup destination."},{"line_number":954,"context_line":"                self._revert_allocation(context, instance, migration)"},{"line_number":955,"context_line":"                self.compute_rpcapi.rollback_live_migration_at_destination("},{"line_number":956,"context_line":"                    context, instance, migration.dest_compute,"},{"line_number":957,"context_line":"                    destroy_disks\u003dFalse, migrate_data\u003dNone)"},{"line_number":958,"context_line":"                self._set_migration_status(migration, \u0027failed\u0027)"},{"line_number":959,"context_line":"            LOG.info(\u0027Instance found in migrating state during \u0027"},{"line_number":960,"context_line":"                     \u0027startup. Resetting task_state\u0027,"}],"source_content_type":"text/x-python","patch_set":6,"id":"9f560f44_9517aaa3","line":957,"range":{"start_line":955,"start_character":0,"end_line":957,"end_character":59},"updated":"2020-09-10 16:24:05.000000000","message":"This is a cast, not a call, so I guess we don\u0027t need to worry about error handling here","commit_id":"2061ea768341387b9716794379a790fe182a2b39"},{"author":{"_account_id":23598,"name":"Zhong Luyao","email":"luyao.zhong@intel.com","username":"ZhongLuyao"},"change_message_id":"9cf0add696e02715eeddc6fe6fb4c067896025b6","unresolved":false,"context_lines":[{"line_number":952,"context_line":"                # NOTE(luyao): live migration is aborted, we should rollback"},{"line_number":953,"context_line":"                # to revert allocation and cleanup destination."},{"line_number":954,"context_line":"                self._revert_allocation(context, instance, migration)"},{"line_number":955,"context_line":"                self.compute_rpcapi.rollback_live_migration_at_destination("},{"line_number":956,"context_line":"                    context, instance, migration.dest_compute,"},{"line_number":957,"context_line":"                    destroy_disks\u003dFalse, migrate_data\u003dNone)"},{"line_number":958,"context_line":"                self._set_migration_status(migration, \u0027failed\u0027)"},{"line_number":959,"context_line":"            LOG.info(\u0027Instance found in migrating state during \u0027"},{"line_number":960,"context_line":"                     \u0027startup. Resetting task_state\u0027,"}],"source_content_type":"text/x-python","patch_set":6,"id":"9f560f44_9bd51946","line":957,"range":{"start_line":955,"start_character":0,"end_line":957,"end_character":59},"in_reply_to":"9f560f44_9517aaa3","updated":"2020-09-10 17:18:56.000000000","message":"yeah","commit_id":"2061ea768341387b9716794379a790fe182a2b39"},{"author":{"_account_id":26286,"name":"huanhongda","email":"hongda.xun@easystack.cn","username":"huanhongda"},"change_message_id":"aaef52ed8dbdff9944155b47e1843f7c998b3fdb","unresolved":true,"context_lines":[{"line_number":951,"context_line":"            if migration:"},{"line_number":952,"context_line":"                # NOTE(luyao): live migration is aborted, we should rollback"},{"line_number":953,"context_line":"                # to revert allocation and cleanup destination."},{"line_number":954,"context_line":"                self._revert_allocation(context, instance, migration)"},{"line_number":955,"context_line":"                self.compute_rpcapi.rollback_live_migration_at_destination("},{"line_number":956,"context_line":"                    context, instance, migration.dest_compute,"},{"line_number":957,"context_line":"                    destroy_disks\u003dFalse, migrate_data\u003dNone)"},{"line_number":958,"context_line":"                self._set_migration_status(migration, \u0027failed\u0027)"},{"line_number":959,"context_line":"            LOG.info(\u0027Instance found in migrating state during \u0027"},{"line_number":960,"context_line":"                     \u0027startup. Resetting task_state\u0027,"}],"source_content_type":"text/x-python","patch_set":8,"id":"27b67c82_906e5443","line":957,"range":{"start_line":954,"start_character":16,"end_line":957,"end_character":59},"updated":"2025-01-03 02:16:27.000000000","message":"If migration is running in post-copy mode, should we rollback at destination?","commit_id":"b7b9f764b7f7b5dc6e744411ca95a61ce0bf29fb"}],"nova/tests/functional/test_servers.py":[{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"1c3816beee86fbdce643c6c7636039ee0d872ce8","unresolved":false,"context_lines":[{"line_number":2926,"context_line":"        # Keep the live migration status at \u0027running\u0027 for a while"},{"line_number":2927,"context_line":"        def stub_live_migration("},{"line_number":2928,"context_line":"            context, instance, dest, post_method, recover_method,"},{"line_number":2929,"context_line":"            block_migration\u003dFalse, migrate_data\u003dNone):"},{"line_number":2930,"context_line":"            time.sleep(30)"},{"line_number":2931,"context_line":""},{"line_number":2932,"context_line":"        mock_live_migration.side_effect \u003d stub_live_migration"}],"source_content_type":"text/x-python","patch_set":6,"id":"9f560f44_15239a06","line":2929,"range":{"start_line":2929,"start_character":52,"end_line":2929,"end_character":54},"updated":"2020-09-10 16:24:05.000000000","message":"nit:\n\n      block_migration\u003dFalse, migrate_data\u003dNone,\n  ):","commit_id":"2061ea768341387b9716794379a790fe182a2b39"},{"author":{"_account_id":23598,"name":"Zhong Luyao","email":"luyao.zhong@intel.com","username":"ZhongLuyao"},"change_message_id":"9cf0add696e02715eeddc6fe6fb4c067896025b6","unresolved":false,"context_lines":[{"line_number":2926,"context_line":"        # Keep the live migration status at \u0027running\u0027 for a while"},{"line_number":2927,"context_line":"        def stub_live_migration("},{"line_number":2928,"context_line":"            context, instance, dest, post_method, recover_method,"},{"line_number":2929,"context_line":"            block_migration\u003dFalse, migrate_data\u003dNone):"},{"line_number":2930,"context_line":"            time.sleep(30)"},{"line_number":2931,"context_line":""},{"line_number":2932,"context_line":"        mock_live_migration.side_effect \u003d stub_live_migration"}],"source_content_type":"text/x-python","patch_set":6,"id":"9f560f44_db6f91c1","line":2929,"range":{"start_line":2929,"start_character":52,"end_line":2929,"end_character":54},"in_reply_to":"9f560f44_15239a06","updated":"2020-09-10 17:18:56.000000000","message":"Done","commit_id":"2061ea768341387b9716794379a790fe182a2b39"}],"nova/tests/unit/compute/test_compute_mgr.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"285a88e046b24d11f16e95cd214619ad0284a53e","unresolved":false,"context_lines":[{"line_number":1699,"context_line":"                                               \u0027running\u0027)"},{"line_number":1700,"context_line":"            mock_abort.assert_called_with(self.context, instance,"},{"line_number":1701,"context_line":"                                          migration.id)"},{"line_number":1702,"context_line":"            mock_revert_alloc.asser_called_once()"},{"line_number":1703,"context_line":"            mock_rollback.assert_called_once()"},{"line_number":1704,"context_line":"            mock_set_migr.assert_called_with(migration, \u0027failed\u0027)"},{"line_number":1705,"context_line":"        self.assertIsNone(instance.task_state)"}],"source_content_type":"text/x-python","patch_set":2,"id":"9f560f44_a2b39b97","line":1702,"updated":"2020-08-25 16:03:27.000000000","message":"pep8: N364: Non existent mock assertion method or attribute (asser_called_once) is used. Check a typo or whether the assertion method should begin with \u0027assert_\u0027.","commit_id":"0251bdba2b5b83ae2c7f2fcdf27590280c365e85"}]}
