)]}'
{"trove/taskmanager/models.py":[{"author":{"_account_id":13157,"name":"Zhao Chao","email":"zhaochao1984@gmail.com","username":"zhaochao"},"change_message_id":"0084c997fc7e30d3be2e6bbbc70c50322ee501c6","unresolved":false,"context_lines":[{"line_number":1938,"context_line":"            self._assert_processes_are_ok()"},{"line_number":1939,"context_line":"            LOG.debug(\"Confirming nova action\")"},{"line_number":1940,"context_line":"            self._confirm_nova_action()"},{"line_number":1941,"context_line":"        except nova_exceptions.Conflict:"},{"line_number":1942,"context_line":"            self.instance.refresh_compute_server_info()"},{"line_number":1943,"context_line":"            self._assert_nova_action_was_successful()"},{"line_number":1944,"context_line":"            if not self.instance.server_status_matches("},{"line_number":1945,"context_line":"                    [\"ACTIVE\"], server\u003dself.instance.server):"},{"line_number":1946,"context_line":"                raise"},{"line_number":1947,"context_line":"        except Exception:"},{"line_number":1948,"context_line":"            LOG.exception(\"Exception during nova action.\")"},{"line_number":1949,"context_line":"            if need_to_revert:"}],"source_content_type":"text/x-python","patch_set":3,"id":"3f79a3b5_53c7b013","line":1946,"range":{"start_line":1941,"start_character":0,"end_line":1946,"end_character":21},"updated":"2018-08-07 13:52:02.000000000","message":"From the bug report, nova_exceptions.Conflict may only be threw when confirm_resize is called, so it\u0027s better to catch it inside the _confirm_nova_action.\n\nAnd supposing Nova is configured with \"resize_confirm_window \u003d 1\", and the confirmation is triggered very quickly(just by chance), we\u0027ll also fail in _assert_nova_status_is_ok(i.e. the nova instance status in no longer \"VERIFY_RESIZE\", but \"ACTIVE\" instead).","commit_id":"b0878a4d8957c28fed7e398c2af421b614fdfd8b"}]}
