)]}'
{"ironic/conductor/manager.py":[{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"955a831aeef5751cd92a7b62c4ad0eb93ff73e52","unresolved":false,"context_lines":[{"line_number":1623,"context_line":"            # TODO(dtantsur): clean up all states that are not stable and"},{"line_number":1624,"context_line":"            # are not one of WAIT states."},{"line_number":1625,"context_line":"            if not maintenance and (provision_state in (states.DEPLOYING,"},{"line_number":1626,"context_line":"                                                        states.CLEANING) or"},{"line_number":1627,"context_line":"                                    target_power_state is not None):"},{"line_number":1628,"context_line":"                LOG.debug(\u0027Node %(node)s taken over from conductor %(old)s \u0027"},{"line_number":1629,"context_line":"                          \u0027requires state clean up: provision state is \u0027"}],"source_content_type":"text/x-python","patch_set":4,"id":"3fa0c359_9e15e0e7","line":1626,"updated":"2018-02-21 15:39:53.000000000","message":"Do we want to handle ADOPTING or INSPECTING here?","commit_id":"5694b98fc81032933b112528bf08cb6688fa7c1a"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"2551925d058babc499c2a7e092c779135de6e6e9","unresolved":false,"context_lines":[{"line_number":1623,"context_line":"            # TODO(dtantsur): clean up all states that are not stable and"},{"line_number":1624,"context_line":"            # are not one of WAIT states."},{"line_number":1625,"context_line":"            if not maintenance and (provision_state in (states.DEPLOYING,"},{"line_number":1626,"context_line":"                                                        states.CLEANING) or"},{"line_number":1627,"context_line":"                                    target_power_state is not None):"},{"line_number":1628,"context_line":"                LOG.debug(\u0027Node %(node)s taken over from conductor %(old)s \u0027"},{"line_number":1629,"context_line":"                          \u0027requires state clean up: provision state is \u0027"}],"source_content_type":"text/x-python","patch_set":4,"id":"3fa0c359_9e1ba0c8","line":1626,"in_reply_to":"3fa0c359_9e15e0e7","updated":"2018-02-21 15:45:41.000000000","message":"Adopting - maybe later, I need to reproduce it.\n\nInspecting - after we split Inspecting and Inspect Wait (we don\u0027t have the latter)","commit_id":"5694b98fc81032933b112528bf08cb6688fa7c1a"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"955a831aeef5751cd92a7b62c4ad0eb93ff73e52","unresolved":false,"context_lines":[{"line_number":1649,"context_line":""},{"line_number":1650,"context_line":"            self._fail_if_in_state("},{"line_number":1651,"context_line":"                context, {\u0027uuid\u0027: node_uuid},"},{"line_number":1652,"context_line":"                {states.DEPLOYING, states.CLEANING},"},{"line_number":1653,"context_line":"                \u0027provision_updated_at\u0027,"},{"line_number":1654,"context_line":"                callback_method\u003dutils.abort_on_conductor_take_over,"},{"line_number":1655,"context_line":"                err_handler\u003dutils.provisioning_error_handler)"}],"source_content_type":"text/x-python","patch_set":4,"id":"3fa0c359_5ec2f85a","line":1652,"updated":"2018-02-21 15:39:53.000000000","message":"Ditto","commit_id":"5694b98fc81032933b112528bf08cb6688fa7c1a"}],"ironic/conductor/utils.py":[{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"accaeb20eb0751b7fb4fe67e388708ed139532f5","unresolved":false,"context_lines":[{"line_number":386,"context_line":"    msg \u003d _(\u0027Operation was aborted due to conductor take over\u0027)"},{"line_number":387,"context_line":"    # By this time the \"fail\" even was processed, so we cannot end up in"},{"line_number":388,"context_line":"    # CLEANING or CLEAN WAIT, only in CLEAN FAIL."},{"line_number":389,"context_line":"    if task.node.provision_state \u003d\u003d states.CLEANFAIL:"},{"line_number":390,"context_line":"        cleaning_error_handler(task, msg, set_fail_state\u003dFalse)"},{"line_number":391,"context_line":"    else:"},{"line_number":392,"context_line":"        # For aborted deployment (and potentially other operations), just set"}],"source_content_type":"text/x-python","patch_set":4,"id":"df7087c5_89a2a9fb","line":389,"updated":"2018-03-12 23:22:40.000000000","message":"This likely should exclude CLEANWAIT since it seems like that should be safe to continue to execute since we are just waiting for a heartbeat action.... I think.  See the comment below for another consideration.","commit_id":"5694b98fc81032933b112528bf08cb6688fa7c1a"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"8388c371fef00a3f3638f5db2ebb50dad94e42a5","unresolved":false,"context_lines":[{"line_number":386,"context_line":"    msg \u003d _(\u0027Operation was aborted due to conductor take over\u0027)"},{"line_number":387,"context_line":"    # By this time the \"fail\" even was processed, so we cannot end up in"},{"line_number":388,"context_line":"    # CLEANING or CLEAN WAIT, only in CLEAN FAIL."},{"line_number":389,"context_line":"    if task.node.provision_state \u003d\u003d states.CLEANFAIL:"},{"line_number":390,"context_line":"        cleaning_error_handler(task, msg, set_fail_state\u003dFalse)"},{"line_number":391,"context_line":"    else:"},{"line_number":392,"context_line":"        # For aborted deployment (and potentially other operations), just set"}],"source_content_type":"text/x-python","patch_set":4,"id":"df7087c5_9c689cb9","line":389,"in_reply_to":"df7087c5_89a2a9fb","updated":"2018-03-13 09:31:54.000000000","message":"This call is run as a callback after processing \"fail\" event, which is buried inside _fail_if_in_state. So we only call this function in one of the *FAIL states.","commit_id":"5694b98fc81032933b112528bf08cb6688fa7c1a"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"b2b9406c8403bb23ece21497a56be73799d7cc51","unresolved":false,"context_lines":[{"line_number":386,"context_line":"    msg \u003d _(\u0027Operation was aborted due to conductor take over\u0027)"},{"line_number":387,"context_line":"    # By this time the \"fail\" even was processed, so we cannot end up in"},{"line_number":388,"context_line":"    # CLEANING or CLEAN WAIT, only in CLEAN FAIL."},{"line_number":389,"context_line":"    if task.node.provision_state \u003d\u003d states.CLEANFAIL:"},{"line_number":390,"context_line":"        cleaning_error_handler(task, msg, set_fail_state\u003dFalse)"},{"line_number":391,"context_line":"    else:"},{"line_number":392,"context_line":"        # For aborted deployment (and potentially other operations), just set"}],"source_content_type":"text/x-python","patch_set":4,"id":"df7087c5_3301116b","line":389,"in_reply_to":"df7087c5_9c689cb9","updated":"2018-03-16 17:08:04.000000000","message":"Okay, that makes sense. Thanks","commit_id":"5694b98fc81032933b112528bf08cb6688fa7c1a"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"accaeb20eb0751b7fb4fe67e388708ed139532f5","unresolved":false,"context_lines":[{"line_number":390,"context_line":"        cleaning_error_handler(task, msg, set_fail_state\u003dFalse)"},{"line_number":391,"context_line":"    else:"},{"line_number":392,"context_line":"        # For aborted deployment (and potentially other operations), just set"},{"line_number":393,"context_line":"        # the last_error accordingly."},{"line_number":394,"context_line":"        task.node.last_error \u003d msg"},{"line_number":395,"context_line":"        task.node.save()"},{"line_number":396,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"df7087c5_a9720dac","line":393,"updated":"2018-03-12 23:22:40.000000000","message":"So if we are cleaning, we need to go in to the cleaning error handler, because we need to remove things like prior cleanstep data to prevent endless loops.","commit_id":"5694b98fc81032933b112528bf08cb6688fa7c1a"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"8388c371fef00a3f3638f5db2ebb50dad94e42a5","unresolved":false,"context_lines":[{"line_number":390,"context_line":"        cleaning_error_handler(task, msg, set_fail_state\u003dFalse)"},{"line_number":391,"context_line":"    else:"},{"line_number":392,"context_line":"        # For aborted deployment (and potentially other operations), just set"},{"line_number":393,"context_line":"        # the last_error accordingly."},{"line_number":394,"context_line":"        task.node.last_error \u003d msg"},{"line_number":395,"context_line":"        task.node.save()"},{"line_number":396,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"df7087c5_bca240fb","line":393,"in_reply_to":"df7087c5_a9720dac","updated":"2018-03-13 09:31:54.000000000","message":"This is what line 390 is doing, no? It calls cleaning_error_handler, which does lines 354-359.","commit_id":"5694b98fc81032933b112528bf08cb6688fa7c1a"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"b2b9406c8403bb23ece21497a56be73799d7cc51","unresolved":false,"context_lines":[{"line_number":390,"context_line":"        cleaning_error_handler(task, msg, set_fail_state\u003dFalse)"},{"line_number":391,"context_line":"    else:"},{"line_number":392,"context_line":"        # For aborted deployment (and potentially other operations), just set"},{"line_number":393,"context_line":"        # the last_error accordingly."},{"line_number":394,"context_line":"        task.node.last_error \u003d msg"},{"line_number":395,"context_line":"        task.node.save()"},{"line_number":396,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"df7087c5_d3fbf575","line":393,"in_reply_to":"df7087c5_bca240fb","updated":"2018-03-16 17:08:04.000000000","message":"Okay, your message above makes sense, thanks!","commit_id":"5694b98fc81032933b112528bf08cb6688fa7c1a"}]}
