)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":20378,"name":"Trevor McCasland","email":"TM2086@att.com","username":"twm2016"},"change_message_id":"38e67e066deb103dd03fc94533b53aaff13c6355","unresolved":false,"context_lines":[{"line_number":10,"context_line":"in BUILD or ERROR state. Instances/Clusters can now be force"},{"line_number":11,"context_line":"deleted and the status can be reset in any state."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Resetting the status will cause the Instance/Cluster to go in"},{"line_number":14,"context_line":"ERROR state."},{"line_number":15,"context_line":"Force deleting an Instance/Cluster will enter a new state,"},{"line_number":16,"context_line":"DELETING."},{"line_number":17,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"7a3c09a3_33bceadb","line":14,"range":{"start_line":13,"start_character":0,"end_line":14,"end_character":12},"updated":"2017-06-14 15:38:08.000000000","message":"Sounds like we should rename the function now. \"set_to_error_state\" or something like that.","commit_id":"6df236fd0bf06cf2b49353b2234afcaa91ab8b41"},{"author":{"_account_id":20378,"name":"Trevor McCasland","email":"TM2086@att.com","username":"twm2016"},"change_message_id":"df64af4d3c1724119df3abea71bb219ecadd1ea9","unresolved":false,"context_lines":[{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Resetting the status will cause the Instance/Cluster to go in"},{"line_number":14,"context_line":"ERROR state."},{"line_number":15,"context_line":"Force deleting an Instance/Cluster will enter a new state,"},{"line_number":16,"context_line":"DELETING."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Change-Id: Ida4d460f6fbf3eb7029fe5ef0091c7f9e0816b25"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"7f231b9d_9bde28d8","line":16,"range":{"start_line":15,"start_character":45,"end_line":16,"end_character":9},"updated":"2017-06-15 18:11:00.000000000","message":"SHUTDOWN state","commit_id":"25af36890ebd5cf62b3ba6fbb0e6789b73e2277b"},{"author":{"_account_id":22694,"name":"jian.song","email":"jiansong19941206@gmail.com","username":"jiansong"},"change_message_id":"75c116c1354140af3b19fe967aa3deea6130121f","unresolved":false,"context_lines":[{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Resetting the status will cause the Instance/Cluster to go in"},{"line_number":14,"context_line":"ERROR state."},{"line_number":15,"context_line":"Force deleting an Instance/Cluster will enter a new state,"},{"line_number":16,"context_line":"DELETING."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Change-Id: Ida4d460f6fbf3eb7029fe5ef0091c7f9e0816b25"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"7f231b9d_625cb1ec","line":16,"range":{"start_line":15,"start_character":45,"end_line":16,"end_character":9},"in_reply_to":"7f231b9d_9bde28d8","updated":"2017-11-02 06:01:33.000000000","message":"good catch,Done","commit_id":"25af36890ebd5cf62b3ba6fbb0e6789b73e2277b"},{"author":{"_account_id":20378,"name":"Trevor McCasland","email":"TM2086@att.com","username":"twm2016"},"change_message_id":"38846d08dd4f321e08fd8a102eb325262d062b7f","unresolved":false,"context_lines":[{"line_number":10,"context_line":"in BUILD or ERROR state. Instances/Clusters can now be force"},{"line_number":11,"context_line":"deleted and the status can be reset in any state."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Resetting the status will cause the Instance/Cluster to go in"},{"line_number":14,"context_line":"ERROR state."},{"line_number":15,"context_line":"Force deleting an Instance/Cluster will enter SHUTDOWN state"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"7f231b9d_eb33e312","line":14,"range":{"start_line":13,"start_character":0,"end_line":14,"end_character":12},"updated":"2017-06-16 21:01:35.000000000","message":"this isn\u0027t always true, during BUILD it will go ACTIVE. see http://paste.openstack.org/show/612895/\n\nalso see the case where in ERROR it goes active too.\n\nhttp://paste.openstack.org/show/612896/","commit_id":"3d101f62cd0f4dba2fb230c9a666e3e3eb5ff1ac"},{"author":{"_account_id":22694,"name":"jian.song","email":"jiansong19941206@gmail.com","username":"jiansong"},"change_message_id":"c4c6498fc3a6fa3491b4a2a91388f06a977763c9","unresolved":false,"context_lines":[{"line_number":10,"context_line":"in BUILD or ERROR state. Instances/Clusters can now be force"},{"line_number":11,"context_line":"deleted and the status can be reset in any state."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Resetting the status will cause the Instance/Cluster to go in"},{"line_number":14,"context_line":"ERROR state."},{"line_number":15,"context_line":"Force deleting an Instance/Cluster will enter SHUTDOWN state"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"7f231b9d_4710784e","line":14,"range":{"start_line":13,"start_character":0,"end_line":14,"end_character":12},"in_reply_to":"7f231b9d_eb33e312","updated":"2017-06-19 03:21:13.000000000","message":"we can change the message as\"Resetting the status will cause the Instance/Cluster to go in\nERROR state,until the next heartbeat arrives.During this time, the user can delete the instance\"","commit_id":"3d101f62cd0f4dba2fb230c9a666e3e3eb5ff1ac"}],"trove/instance/models.py":[{"author":{"_account_id":20378,"name":"Trevor McCasland","email":"TM2086@att.com","username":"twm2016"},"change_message_id":"38e67e066deb103dd03fc94533b53aaff13c6355","unresolved":false,"context_lines":[{"line_number":104,"context_line":"    EJECT \u003d \"EJECT\""},{"line_number":105,"context_line":"    UPGRADE \u003d \"UPGRADE\""},{"line_number":106,"context_line":"    DETACH \u003d \"DETACH\""},{"line_number":107,"context_line":"    DELETING \u003d \"DELETING\""},{"line_number":108,"context_line":""},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"def validate_volume_size(size):"}],"source_content_type":"text/x-python","patch_set":1,"id":"7a3c09a3_1351aed8","line":107,"range":{"start_line":107,"start_character":3,"end_line":107,"end_character":25},"updated":"2017-06-14 15:38:08.000000000","message":"I think we should use Shutdown. See Comment on 349.","commit_id":"6df236fd0bf06cf2b49353b2234afcaa91ab8b41"},{"author":{"_account_id":22694,"name":"jian.song","email":"jiansong19941206@gmail.com","username":"jiansong"},"change_message_id":"0693a0b5bd7a07f5b2dd9245d41e4386a6b49335","unresolved":false,"context_lines":[{"line_number":305,"context_line":"        # Check if we are resetting status or force deleting"},{"line_number":306,"context_line":"        if (tr_instance.ServiceStatuses.UNKNOWN \u003d\u003d self.datastore_status.status"},{"line_number":307,"context_line":"                and action \u003d\u003d InstanceTasks.DELETING.action):"},{"line_number":308,"context_line":"            return InstanceStatus.DELETING"},{"line_number":309,"context_line":"        elif (tr_instance.ServiceStatuses.UNKNOWN \u003d\u003d"},{"line_number":310,"context_line":"                self.datastore_status.status):"},{"line_number":311,"context_line":"            return InstanceStatus.ERROR"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f231b9d_ce6f55fa","line":308,"range":{"start_line":308,"start_character":12,"end_line":308,"end_character":42},"updated":"2017-06-15 03:34:17.000000000","message":"return InstanceStatus.SHUTDOWN","commit_id":"6df236fd0bf06cf2b49353b2234afcaa91ab8b41"},{"author":{"_account_id":20378,"name":"Trevor McCasland","email":"TM2086@att.com","username":"twm2016"},"change_message_id":"38e67e066deb103dd03fc94533b53aaff13c6355","unresolved":false,"context_lines":[{"line_number":346,"context_line":"        if Backup.running(self.id):"},{"line_number":347,"context_line":"            return InstanceStatus.BACKUP"},{"line_number":348,"context_line":""},{"line_number":349,"context_line":"        # Report as Shutdown while deleting, unless there\u0027s an error."},{"line_number":350,"context_line":"        if \u0027DELETING\u0027 \u003d\u003d action:"},{"line_number":351,"context_line":"            if self.db_info.server_status in [\"ACTIVE\", \"SHUTDOWN\", \"DELETED\"]:"},{"line_number":352,"context_line":"                return InstanceStatus.SHUTDOWN"}],"source_content_type":"text/x-python","patch_set":1,"id":"7a3c09a3_b3c61a98","line":349,"updated":"2017-06-14 15:38:08.000000000","message":"This line shows we favor the Shutdown status.","commit_id":"6df236fd0bf06cf2b49353b2234afcaa91ab8b41"}]}
