)]}'
{"masakari/engine/drivers/taskflow/host_failure.py":[{"author":{"_account_id":1011,"name":"Tushar Patil","email":"tushar.vitthal.patil@gmail.com","username":"tpatil"},"change_message_id":"802b6147e23bd418587a6782234378d6cd2a1d74","unresolved":false,"context_lines":[{"line_number":223,"context_line":"                    CONF.wait_period_after_evacuation,"},{"line_number":224,"context_line":"                    periodic_call.wait)"},{"line_number":225,"context_line":""},{"line_number":226,"context_line":"                if vm_state !\u003d \u0027active\u0027:"},{"line_number":227,"context_line":"                    if stop_instance:"},{"line_number":228,"context_line":"                        self._stop_after_evacuation(context, instance)"},{"line_number":229,"context_line":"                        # If the instance was in \u0027error\u0027 state before failure"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_0ddb204e","line":226,"range":{"start_line":226,"start_character":19,"end_line":226,"end_character":39},"updated":"2018-07-26 10:04:21.000000000","message":"Instead of adding about elif block, it\u0027s better to do this:\n\nvm_state not in [\u0027active\u0027, \u0027stopped\u0027]","commit_id":"e4fada2f9713c5bfdee46b6e476d35f03e1c7488"},{"author":{"_account_id":23226,"name":"takahara.kengo","email":"takahara-kn@njk.co.jp","username":"takahara.kengo"},"change_message_id":"c2be414ce9e54af611073650fe9bd09e830c8af2","unresolved":false,"context_lines":[{"line_number":223,"context_line":"                    CONF.wait_period_after_evacuation,"},{"line_number":224,"context_line":"                    periodic_call.wait)"},{"line_number":225,"context_line":""},{"line_number":226,"context_line":"                if vm_state !\u003d \u0027active\u0027:"},{"line_number":227,"context_line":"                    if stop_instance:"},{"line_number":228,"context_line":"                        self._stop_after_evacuation(context, instance)"},{"line_number":229,"context_line":"                        # If the instance was in \u0027error\u0027 state before failure"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f79a3b5_91c0dd2c","line":226,"range":{"start_line":226,"start_character":19,"end_line":226,"end_character":39},"in_reply_to":"5f7c97a3_0ddb204e","updated":"2018-08-30 11:39:52.000000000","message":"If instance is vm_state\u003dstopped and task_state\u003dpowering-on, then masakari should execute nova API in order reset-state -\u003e evacuate -\u003e stop.\nSo I think it should branch processing at L227 stop_instance flag when vm_state\u003dstopped.","commit_id":"e4fada2f9713c5bfdee46b6e476d35f03e1c7488"}]}
