)]}'
{"troveclient/v1/shell.py":[{"author":{"_account_id":20378,"name":"Trevor McCasland","email":"TM2086@att.com","username":"twm2016"},"change_message_id":"f8dd5814aa314d49e757b618ce7327dd6870489a","unresolved":false,"context_lines":[{"line_number":385,"context_line":"@utils.service_type(\u0027database\u0027)"},{"line_number":386,"context_line":"def do_reset_status(cs, args):"},{"line_number":387,"context_line":"    \"\"\"Set the task status of an instance to NONE if the instance is in BUILD"},{"line_number":388,"context_line":"    or ERROR state. Resetting task status of an instance in BUILD state will"},{"line_number":389,"context_line":"    allow the instance to be deleted."},{"line_number":390,"context_line":"    \"\"\""},{"line_number":391,"context_line":"    instance \u003d _find_instance(cs, args.instance)"},{"line_number":392,"context_line":"    cs.instances.reset_status(instance\u003dinstance)"}],"source_content_type":"text/x-python","patch_set":1,"id":"7a3c09a3_ee02820a","line":389,"range":{"start_line":388,"start_character":20,"end_line":389,"end_character":37},"updated":"2017-01-16 18:14:19.000000000","message":"Although it may work for some cases, this isn\u0027t always true. If you reset the state and the instance updates its status to BUILD as the next task then you still cannot delete it.\n\nWe added the force-delete command to do this.","commit_id":"d2c24f98d477e8b1367ddae0ee65d1b514aaf9ba"},{"author":{"_account_id":21668,"name":"Ali Asgar Adil","email":"aadil@tesora.com","username":"aliaadil"},"change_message_id":"66aaa44584e8e75a80175844e87508de3c9b415d","unresolved":false,"context_lines":[{"line_number":385,"context_line":"@utils.service_type(\u0027database\u0027)"},{"line_number":386,"context_line":"def do_reset_status(cs, args):"},{"line_number":387,"context_line":"    \"\"\"Set the task status of an instance to NONE if the instance is in BUILD"},{"line_number":388,"context_line":"    or ERROR state. Resetting task status of an instance in BUILD state will"},{"line_number":389,"context_line":"    allow the instance to be deleted."},{"line_number":390,"context_line":"    \"\"\""},{"line_number":391,"context_line":"    instance \u003d _find_instance(cs, args.instance)"},{"line_number":392,"context_line":"    cs.instances.reset_status(instance\u003dinstance)"}],"source_content_type":"text/x-python","patch_set":1,"id":"7a3c09a3_febf91a7","line":389,"range":{"start_line":388,"start_character":20,"end_line":389,"end_character":37},"in_reply_to":"7a3c09a3_ee02820a","updated":"2017-01-16 18:59:33.000000000","message":"Resetting the status of the instance will set the task status to NONE until the next heartbeat arrives and changes the status of the instance to either (BUILD, ACTIVE or ERROR). Until the heartbeat arrives the user will be able to delete the instance.","commit_id":"d2c24f98d477e8b1367ddae0ee65d1b514aaf9ba"}]}
