)]}'
{"doc/source/admin/node-deployment.rst":[{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"39b473ebee66dc6d56cdf52e4bb57f982f6c9460","unresolved":false,"context_lines":[{"line_number":62,"context_line":"\u003e 100"},{"line_number":63,"context_line":"  Out-of-band steps to run before deployment."},{"line_number":64,"context_line":"41 to 59"},{"line_number":65,"context_line":"  In-band steps to run after the image is written the bootloader is installed."},{"line_number":66,"context_line":"21 to 39"},{"line_number":67,"context_line":"  Out-of-band steps to run after the provisioning image is shut down."},{"line_number":68,"context_line":"1 to 19"}],"source_content_type":"text/x-rst","patch_set":4,"id":"bf51134e_34264918","line":65,"updated":"2020-07-02 11:21:01.000000000","message":"and the","commit_id":"65c9ff49c3b59db2f6be33981661416970126b1c"}],"ironic/conductor/deployments.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":"7c4b84b4bb3e29737238b4f45dce85bfd33423ea","unresolved":false,"context_lines":[{"line_number":268,"context_line":"                _(\"Failed to deploy. Exception: %s\") % e, traceback\u003dTrue)"},{"line_number":269,"context_line":"            return"},{"line_number":270,"context_line":""},{"line_number":271,"context_line":"        if task.node.provision_state \u003d\u003d states.DEPLOYFAIL:"},{"line_number":272,"context_line":"            # NOTE(dtantsur): some deploy steps do not raise but rather update"},{"line_number":273,"context_line":"            # the node and return. Take them into account."},{"line_number":274,"context_line":"            LOG.debug(\u0027Node %s is in error state, not processing \u0027"}],"source_content_type":"text/x-python","patch_set":5,"id":"bf51134e_427e4619","line":271,"updated":"2020-07-08 22:12:56.000000000","message":"++, this should allow the task state stuff to still work. Awesome.","commit_id":"deec7f4a926b7e032a44a0c56ac4016bf250ef54"}],"ironic/drivers/modules/agent_base.py":[{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"c1b6be3faa7e887fcabbca1210e0b7b96ca00d8b","unresolved":false,"context_lines":[{"line_number":1164,"context_line":"                    \u0027error\u0027: e})"},{"line_number":1165,"context_line":"            log_and_raise_deployment_error(task, msg, exc\u003de)"},{"line_number":1166,"context_line":""},{"line_number":1167,"context_line":"        try:"},{"line_number":1168,"context_line":"            with manager_utils.power_state_for_network_configuration(task):"},{"line_number":1169,"context_line":"                task.driver.network.remove_provisioning_network(task)"},{"line_number":1170,"context_line":"                # FIXME(dtantsur): we can avoid connecting tenant networks"},{"line_number":1171,"context_line":"                # here? Looks like SmartNIC support prevents that."},{"line_number":1172,"context_line":"                task.driver.network.configure_tenant_networks(task)"},{"line_number":1173,"context_line":"        except Exception as e:"},{"line_number":1174,"context_line":"            msg \u003d (_(\u0027Error changing node %(node)s to tenant networks after \u0027"},{"line_number":1175,"context_line":"                     \u0027deploy. %(cls)s: %(error)s\u0027) %"}],"source_content_type":"text/x-python","patch_set":3,"id":"bf51134e_fbf16403","line":1172,"range":{"start_line":1167,"start_character":0,"end_line":1172,"end_character":67},"updated":"2020-07-02 08:07:04.000000000","message":"Would it be better to move n/w switching as a separate step (before boot_instance) so that one can implement additional deploy steps that can be performed on the node after image is written but before node is moved to tenant network?Current structure does not allow anything in provisioning n/w after image is written on to the disk and agent is turned off.","commit_id":"77d841e2414d085c9dc736c63b2e7e6c55a21f46"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"8a9b7b4cf957a0506769d599162f7694bd0b0760","unresolved":false,"context_lines":[{"line_number":1164,"context_line":"                    \u0027error\u0027: e})"},{"line_number":1165,"context_line":"            log_and_raise_deployment_error(task, msg, exc\u003de)"},{"line_number":1166,"context_line":""},{"line_number":1167,"context_line":"        try:"},{"line_number":1168,"context_line":"            with manager_utils.power_state_for_network_configuration(task):"},{"line_number":1169,"context_line":"                task.driver.network.remove_provisioning_network(task)"},{"line_number":1170,"context_line":"                # FIXME(dtantsur): we can avoid connecting tenant networks"},{"line_number":1171,"context_line":"                # here? Looks like SmartNIC support prevents that."},{"line_number":1172,"context_line":"                task.driver.network.configure_tenant_networks(task)"},{"line_number":1173,"context_line":"        except Exception as e:"},{"line_number":1174,"context_line":"            msg \u003d (_(\u0027Error changing node %(node)s to tenant networks after \u0027"},{"line_number":1175,"context_line":"                     \u0027deploy. %(cls)s: %(error)s\u0027) %"}],"source_content_type":"text/x-python","patch_set":3,"id":"bf51134e_3b547c54","line":1172,"range":{"start_line":1167,"start_character":0,"end_line":1172,"end_character":67},"in_reply_to":"bf51134e_fbf16403","updated":"2020-07-02 08:15:24.000000000","message":"Hmm, it\u0027s not a bad idea (although it wasn\u0027t in the spec).","commit_id":"77d841e2414d085c9dc736c63b2e7e6c55a21f46"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"39b473ebee66dc6d56cdf52e4bb57f982f6c9460","unresolved":false,"context_lines":[{"line_number":1161,"context_line":"                    \u0027error\u0027: e})"},{"line_number":1162,"context_line":"            log_and_raise_deployment_error(task, msg, exc\u003de)"},{"line_number":1163,"context_line":""},{"line_number":1164,"context_line":"    @METRICS.timer(\u0027AgentDeployMixin.switch_networking\u0027)"},{"line_number":1165,"context_line":"    @base.deploy_step(priority\u003d30)"},{"line_number":1166,"context_line":"    @task_manager.require_exclusive_lock"},{"line_number":1167,"context_line":"    def switch_to_tenant_network(self, task):"}],"source_content_type":"text/x-python","patch_set":4,"id":"bf51134e_d486eddb","line":1164,"range":{"start_line":1164,"start_character":37,"end_line":1164,"end_character":54},"updated":"2020-07-02 11:21:01.000000000","message":"switch_to_tenant_network","commit_id":"65c9ff49c3b59db2f6be33981661416970126b1c"}]}
