)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"6f8a49518ff62a7e7818fbb9324a49bc968ce4fe","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Adds clean step \u0027reset_bios_to_default\u0027 to iRMC drivers"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This implements clean step reset_bios_to_default to iRMC drivers"},{"line_number":10,"context_line":"based on BACKUP/RESTORE mechanism provided by the scciclient lib."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: I04aa5bc2f5e287e048d0b52fee123e53ae2eaa99"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"ba5201f7_79b74d86","line":9,"range":{"start_line":9,"start_character":27,"end_line":9,"end_character":48},"updated":"2017-01-04 13:24:54.000000000","message":"This is not reset to default, this is restore of previously saved values.","commit_id":"7efe9f481592c34b4966e2a8f76c8bfc1048d461"},{"author":{"_account_id":18320,"name":"Dao Cong Tien","email":"tiendc@vn.fujitsu.com","username":"TienDC"},"change_message_id":"e4dffb3dd779b4c9b02dfecf0831151ed9c90f19","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Adds clean step \u0027reset_bios_to_default\u0027 to iRMC drivers"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This implements clean step reset_bios_to_default to iRMC drivers"},{"line_number":10,"context_line":"based on BACKUP/RESTORE mechanism provided by the scciclient lib."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: I04aa5bc2f5e287e048d0b52fee123e53ae2eaa99"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"ba5201f7_8fdf1c0c","line":9,"range":{"start_line":9,"start_character":27,"end_line":9,"end_character":48},"in_reply_to":"ba5201f7_79b74d86","updated":"2017-01-06 10:36:08.000000000","message":"Done. Changed to restore_bios_config.","commit_id":"7efe9f481592c34b4966e2a8f76c8bfc1048d461"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"2bb07fbbec835692e1b9d8650ad9a111b1f6b58b","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Adds clean step \u0027retore_irmc_bios_config\u0027 to iRMC drivers"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"- Adds new boot driver irmc-pxe. Deprecates pxe boot from"},{"line_number":10,"context_line":"using with hardware type irmc."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"- Adds functions backup_bios_config and restore_bios_config to iRMC"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":9,"id":"7f231b9d_07716044","line":9,"range":{"start_line":9,"start_character":11,"end_line":9,"end_character":31},"updated":"2017-06-20 05:53:11.000000000","message":"s/ boot driver irmc-pxe / boot interface \u0027irmc-pxe\u0027 /","commit_id":"d4b190f49e31b85ecec0803812886d3705e18577"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"2bb07fbbec835692e1b9d8650ad9a111b1f6b58b","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Adds clean step \u0027retore_irmc_bios_config\u0027 to iRMC drivers"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"- Adds new boot driver irmc-pxe. Deprecates pxe boot from"},{"line_number":10,"context_line":"using with hardware type irmc."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"- Adds functions backup_bios_config and restore_bios_config to iRMC"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":9,"id":"7f231b9d_477bd826","line":9,"range":{"start_line":9,"start_character":44,"end_line":9,"end_character":52},"updated":"2017-06-20 05:53:11.000000000","message":"s/ pxe boot / \u0027pxe\u0027 boot interface","commit_id":"d4b190f49e31b85ecec0803812886d3705e18577"},{"author":{"_account_id":18320,"name":"Dao Cong Tien","email":"tiendc@vn.fujitsu.com","username":"TienDC"},"change_message_id":"5abd7d13c1cd6e9f6dbb902f592febeebb0e778b","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Adds clean step \u0027retore_irmc_bios_config\u0027 to iRMC drivers"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"- Adds new boot driver irmc-pxe. Deprecates pxe boot from"},{"line_number":10,"context_line":"using with hardware type irmc."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"- Adds functions backup_bios_config and restore_bios_config to iRMC"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":9,"id":"5f201791_d98b7c65","line":9,"range":{"start_line":9,"start_character":11,"end_line":9,"end_character":31},"in_reply_to":"7f231b9d_07716044","updated":"2017-06-27 10:12:04.000000000","message":"Done","commit_id":"d4b190f49e31b85ecec0803812886d3705e18577"},{"author":{"_account_id":18320,"name":"Dao Cong Tien","email":"tiendc@vn.fujitsu.com","username":"TienDC"},"change_message_id":"5abd7d13c1cd6e9f6dbb902f592febeebb0e778b","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Adds clean step \u0027retore_irmc_bios_config\u0027 to iRMC drivers"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"- Adds new boot driver irmc-pxe. Deprecates pxe boot from"},{"line_number":10,"context_line":"using with hardware type irmc."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"- Adds functions backup_bios_config and restore_bios_config to iRMC"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":9,"id":"5f201791_b9ea000c","line":9,"range":{"start_line":9,"start_character":44,"end_line":9,"end_character":52},"in_reply_to":"7f231b9d_477bd826","updated":"2017-06-27 10:12:04.000000000","message":"Done","commit_id":"d4b190f49e31b85ecec0803812886d3705e18577"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"2bb07fbbec835692e1b9d8650ad9a111b1f6b58b","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Adds clean step \u0027retore_irmc_bios_config\u0027 to iRMC drivers"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"- Adds new boot driver irmc-pxe. Deprecates pxe boot from"},{"line_number":10,"context_line":"using with hardware type irmc."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"- Adds functions backup_bios_config and restore_bios_config to iRMC"},{"line_number":13,"context_line":"management interface for implementing the BIOS BACKUP/RESTORE"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":9,"id":"7f231b9d_a22f13a6","line":10,"range":{"start_line":9,"start_character":33,"end_line":10,"end_character":30},"updated":"2017-06-20 05:53:11.000000000","message":"Did find any code performing deprecation.","commit_id":"d4b190f49e31b85ecec0803812886d3705e18577"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"2bb07fbbec835692e1b9d8650ad9a111b1f6b58b","unresolved":false,"context_lines":[{"line_number":15,"context_line":"will be called automatically before deploying."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"- Adds clean step restore_irmc_bios_config to restore BIOS config"},{"line_number":18,"context_line":"for a node when cleaning."},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"Change-Id: I04aa5bc2f5e287e048d0b52fee123e53ae2eaa99"},{"line_number":21,"context_line":"Partial-Bug: #1639688"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":9,"id":"7f231b9d_a7b06cde","line":18,"range":{"start_line":18,"start_character":11,"end_line":18,"end_character":24},"updated":"2017-06-20 05:53:11.000000000","message":"s/ when cleaning / during automatic cleaning /","commit_id":"d4b190f49e31b85ecec0803812886d3705e18577"},{"author":{"_account_id":18320,"name":"Dao Cong Tien","email":"tiendc@vn.fujitsu.com","username":"TienDC"},"change_message_id":"5abd7d13c1cd6e9f6dbb902f592febeebb0e778b","unresolved":false,"context_lines":[{"line_number":15,"context_line":"will be called automatically before deploying."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"- Adds clean step restore_irmc_bios_config to restore BIOS config"},{"line_number":18,"context_line":"for a node when cleaning."},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"Change-Id: I04aa5bc2f5e287e048d0b52fee123e53ae2eaa99"},{"line_number":21,"context_line":"Partial-Bug: #1639688"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":9,"id":"5f201791_99ef441d","line":18,"range":{"start_line":18,"start_character":11,"end_line":18,"end_character":24},"in_reply_to":"7f231b9d_a7b06cde","updated":"2017-06-27 10:12:04.000000000","message":"Done","commit_id":"d4b190f49e31b85ecec0803812886d3705e18577"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"bff03bc956f6139f3fa9428d1d307df82b64882f","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Dao Cong Tien \u003ctiendc@vn.fujitsu.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2017-06-27 16:18:19 +0700"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Adds clean step \u0027retore_irmc_bios_config\u0027 to iRMC drivers"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"- Adds new boot interface \u0027irmc-pxe\u0027. Deprecates \u0027pxe\u0027 boot interface"},{"line_number":10,"context_line":"from using with hardware type \u0027irmc\u0027."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":10,"id":"5f201791_baf2c46e","line":7,"updated":"2017-06-28 09:21:06.000000000","message":"nit: typo in restore","commit_id":"01115099f4583f3564f0cdd000568b513d6507e4"},{"author":{"_account_id":18320,"name":"Dao Cong Tien","email":"tiendc@vn.fujitsu.com","username":"TienDC"},"change_message_id":"1076b185f016fafff08530cdb3b49f879825f102","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Dao Cong Tien \u003ctiendc@vn.fujitsu.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2017-06-27 16:18:19 +0700"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Adds clean step \u0027retore_irmc_bios_config\u0027 to iRMC drivers"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"- Adds new boot interface \u0027irmc-pxe\u0027. Deprecates \u0027pxe\u0027 boot interface"},{"line_number":10,"context_line":"from using with hardware type \u0027irmc\u0027."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":10,"id":"3f1d235d_bdaaa316","line":7,"in_reply_to":"5f201791_baf2c46e","updated":"2017-06-29 07:22:38.000000000","message":"Done","commit_id":"01115099f4583f3564f0cdd000568b513d6507e4"}],"ironic/conf/irmc.py":[{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"6f8a49518ff62a7e7818fbb9324a49bc968ce4fe","unresolved":false,"context_lines":[{"line_number":66,"context_line":"               help\u003d_(\u0027SNMP community. Required for versions \"v1\" and \"v2c\"\u0027)),"},{"line_number":67,"context_line":"    cfg.StrOpt(\u0027snmp_security\u0027,"},{"line_number":68,"context_line":"               help\u003d_(\u0027SNMP security name. Required for version \"v3\"\u0027)),"},{"line_number":69,"context_line":"    cfg.IntOpt(\u0027clean_priority_reset_bios_to_default\u0027,"},{"line_number":70,"context_line":"               default\u003d10,"},{"line_number":71,"context_line":"               help\u003d_(\u0027Priority for reset_bios_to_default clean step.\u0027)),"},{"line_number":72,"context_line":"]"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5201f7_d9fe7937","line":69,"range":{"start_line":69,"start_character":31,"end_line":69,"end_character":52},"updated":"2017-01-04 13:24:54.000000000","message":"This is not reset to default, this is restore of previously saved values.","commit_id":"7efe9f481592c34b4966e2a8f76c8bfc1048d461"}],"ironic/drivers/irmc.py":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"132c2752e359e754bd64dbfc32e980347877be73","unresolved":false,"context_lines":[{"line_number":101,"context_line":"    @property"},{"line_number":102,"context_line":"    def supported_deploy_interfaces(self):"},{"line_number":103,"context_line":"        \"\"\"List of supported deploy interfaces.\"\"\""},{"line_number":104,"context_line":"        return [deploy.IRMCISCSIDeploy, deploy.IRMCAgentDeploy]"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"    @property"},{"line_number":107,"context_line":"    def supported_inspect_interfaces(self):"}],"source_content_type":"text/x-python","patch_set":5,"id":"9ff52f3f_123bad38","line":104,"updated":"2017-04-13 10:06:24.000000000","message":"We discussed a similar issue with HPE team already: usually drivers should not have custom deploy interfaces. This particular functionality should probably go to the boot or management interface.\n\nP.S. And also it is a breaking change.","commit_id":"b85ac92f1d19284ecce7faac32b6b4314a09a35c"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"0f4d8c0f84ba1573491ff3665d75d857edb0b8af","unresolved":false,"context_lines":[{"line_number":91,"context_line":"    @property"},{"line_number":92,"context_line":"    def supported_boot_interfaces(self):"},{"line_number":93,"context_line":"        \"\"\"List of supported boot interfaces.\"\"\""},{"line_number":94,"context_line":"        # NOTE: Support for pxe boot is deprecated, and will be"},{"line_number":95,"context_line":"        # removed from the list in the future."},{"line_number":96,"context_line":"        return [boot.IRMCVirtualMediaBoot, boot.IRMCPXEBoot,"},{"line_number":97,"context_line":"                pxe.PXEBoot]"}],"source_content_type":"text/x-python","patch_set":12,"id":"3f1d235d_e0a24b4b","line":94,"range":{"start_line":94,"start_character":28,"end_line":94,"end_character":31},"updated":"2017-07-03 16:43:34.000000000","message":"nit -- there are two pxe interfaces here :) better to specify exactly the one you\u0027ll remove","commit_id":"e7664a161d3a99d5ddd351489910d535bdec3752"}],"ironic/drivers/modules/irmc/management.py":[{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"6f8a49518ff62a7e7818fbb9324a49bc968ce4fe","unresolved":false,"context_lines":[{"line_number":140,"context_line":"    :param target_power_state: target power state to set on node."},{"line_number":141,"context_line":"    \"\"\""},{"line_number":142,"context_line":"    if result[\u0027success\u0027]:"},{"line_number":143,"context_line":"        with task_manager.acquire(context.get_admin_context(),"},{"line_number":144,"context_line":"                                  node_uuid,"},{"line_number":145,"context_line":"                                  purpose\u003d\u0027backup BIOS config\u0027"},{"line_number":146,"context_line":"                                  ) as task:"},{"line_number":147,"context_line":"            internal_info \u003d task.node.driver_internal_info"},{"line_number":148,"context_line":"            internal_info[\u0027irmc_bios_config\u0027] \u003d result[\u0027bios_config\u0027]"},{"line_number":149,"context_line":"            task.node.driver_internal_info \u003d internal_info"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5201f7_7f21ed9e","line":146,"range":{"start_line":143,"start_character":7,"end_line":146,"end_character":44},"updated":"2017-01-04 13:24:54.000000000","message":"In DEPLOYING state we already have an exclusive lock. See also my comment about async l204.","commit_id":"7efe9f481592c34b4966e2a8f76c8bfc1048d461"},{"author":{"_account_id":18320,"name":"Dao Cong Tien","email":"tiendc@vn.fujitsu.com","username":"TienDC"},"change_message_id":"e4dffb3dd779b4c9b02dfecf0831151ed9c90f19","unresolved":false,"context_lines":[{"line_number":140,"context_line":"    :param target_power_state: target power state to set on node."},{"line_number":141,"context_line":"    \"\"\""},{"line_number":142,"context_line":"    if result[\u0027success\u0027]:"},{"line_number":143,"context_line":"        with task_manager.acquire(context.get_admin_context(),"},{"line_number":144,"context_line":"                                  node_uuid,"},{"line_number":145,"context_line":"                                  purpose\u003d\u0027backup BIOS config\u0027"},{"line_number":146,"context_line":"                                  ) as task:"},{"line_number":147,"context_line":"            internal_info \u003d task.node.driver_internal_info"},{"line_number":148,"context_line":"            internal_info[\u0027irmc_bios_config\u0027] \u003d result[\u0027bios_config\u0027]"},{"line_number":149,"context_line":"            task.node.driver_internal_info \u003d internal_info"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5201f7_0753e86b","line":146,"range":{"start_line":143,"start_character":7,"end_line":146,"end_character":44},"in_reply_to":"ba5201f7_7f21ed9e","updated":"2017-01-06 10:36:08.000000000","message":"It seems the lock is released after call to task.driver.deploy.deploy() and the callback is called async, so I didn\u0027t see any locking issue.","commit_id":"7efe9f481592c34b4966e2a8f76c8bfc1048d461"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"6f8a49518ff62a7e7818fbb9324a49bc968ce4fe","unresolved":false,"context_lines":[{"line_number":150,"context_line":"            task.node.save()"},{"line_number":151,"context_line":""},{"line_number":152,"context_line":"            # Change power state to the target"},{"line_number":153,"context_line":"            manager_utils.node_power_action(task, target_power_state)"},{"line_number":154,"context_line":"    else:"},{"line_number":155,"context_line":"        LOG.error(_LE(\u0027Failed to backup BIOS config for node %s\u0027),"},{"line_number":156,"context_line":"                  node_uuid)"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5201f7_fc216bfc","line":153,"updated":"2017-01-04 13:24:54.000000000","message":"Looks like power state can be changed inside your client. This is not good. More better if ironic sets state that your client wants before client calling.","commit_id":"7efe9f481592c34b4966e2a8f76c8bfc1048d461"},{"author":{"_account_id":18320,"name":"Dao Cong Tien","email":"tiendc@vn.fujitsu.com","username":"TienDC"},"change_message_id":"e4dffb3dd779b4c9b02dfecf0831151ed9c90f19","unresolved":false,"context_lines":[{"line_number":150,"context_line":"            task.node.save()"},{"line_number":151,"context_line":""},{"line_number":152,"context_line":"            # Change power state to the target"},{"line_number":153,"context_line":"            manager_utils.node_power_action(task, target_power_state)"},{"line_number":154,"context_line":"    else:"},{"line_number":155,"context_line":"        LOG.error(_LE(\u0027Failed to backup BIOS config for node %s\u0027),"},{"line_number":156,"context_line":"                  node_uuid)"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5201f7_b26df8cd","line":153,"in_reply_to":"ba5201f7_fc216bfc","updated":"2017-01-06 10:36:08.000000000","message":"Please see my below answer.","commit_id":"7efe9f481592c34b4966e2a8f76c8bfc1048d461"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"6f8a49518ff62a7e7818fbb9324a49bc968ce4fe","unresolved":false,"context_lines":[{"line_number":154,"context_line":"    else:"},{"line_number":155,"context_line":"        LOG.error(_LE(\u0027Failed to backup BIOS config for node %s\u0027),"},{"line_number":156,"context_line":"                  node_uuid)"},{"line_number":157,"context_line":"        raise result[\u0027error\u0027]"},{"line_number":158,"context_line":""},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"def _on_bios_config_restore(result, node_uuid, target_power_state):"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5201f7_5f78a98f","line":157,"range":{"start_line":157,"start_character":14,"end_line":157,"end_character":29},"updated":"2017-01-04 13:24:54.000000000","message":"There is an exception instance in the result? If yes please convert to ironic exception.","commit_id":"7efe9f481592c34b4966e2a8f76c8bfc1048d461"},{"author":{"_account_id":18320,"name":"Dao Cong Tien","email":"tiendc@vn.fujitsu.com","username":"TienDC"},"change_message_id":"e4dffb3dd779b4c9b02dfecf0831151ed9c90f19","unresolved":false,"context_lines":[{"line_number":154,"context_line":"    else:"},{"line_number":155,"context_line":"        LOG.error(_LE(\u0027Failed to backup BIOS config for node %s\u0027),"},{"line_number":156,"context_line":"                  node_uuid)"},{"line_number":157,"context_line":"        raise result[\u0027error\u0027]"},{"line_number":158,"context_line":""},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"def _on_bios_config_restore(result, node_uuid, target_power_state):"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5201f7_af0b008d","line":157,"range":{"start_line":157,"start_character":14,"end_line":157,"end_character":29},"in_reply_to":"ba5201f7_5f78a98f","updated":"2017-01-06 10:36:08.000000000","message":"Done","commit_id":"7efe9f481592c34b4966e2a8f76c8bfc1048d461"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"6f8a49518ff62a7e7818fbb9324a49bc968ce4fe","unresolved":false,"context_lines":[{"line_number":178,"context_line":"                                  purpose\u003d\u0027continue node clean\u0027"},{"line_number":179,"context_line":"                                  ) as task:"},{"line_number":180,"context_line":"            # Change power state to the target"},{"line_number":181,"context_line":"            manager_utils.node_power_action(task, target_power_state)"},{"line_number":182,"context_line":""},{"line_number":183,"context_line":"            # Continue node clean"},{"line_number":184,"context_line":"            _notify_conductor_resume_clean(task)"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5201f7_df78192e","line":181,"updated":"2017-01-04 13:24:54.000000000","message":"ditto l153","commit_id":"7efe9f481592c34b4966e2a8f76c8bfc1048d461"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"6f8a49518ff62a7e7818fbb9324a49bc968ce4fe","unresolved":false,"context_lines":[{"line_number":196,"context_line":"    \"\"\""},{"line_number":197,"context_line":"    node_uuid \u003d task.node.uuid"},{"line_number":198,"context_line":""},{"line_number":199,"context_line":"    # Skip if bios config is already backed up"},{"line_number":200,"context_line":"    if \u0027irmc_bios_config\u0027 in task.node.driver_internal_info:"},{"line_number":201,"context_line":"        LOG.debug(\u0027BIOS config is already backed up for node %s\u0027,"},{"line_number":202,"context_line":"                  node_uuid)"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5201f7_bc7d231e","line":199,"updated":"2017-01-04 13:24:54.000000000","message":"For example some option has been changed by administrator manually in maintenance mode and AVAILABLE. How to rewrite the backup?","commit_id":"7efe9f481592c34b4966e2a8f76c8bfc1048d461"},{"author":{"_account_id":18320,"name":"Dao Cong Tien","email":"tiendc@vn.fujitsu.com","username":"TienDC"},"change_message_id":"e4dffb3dd779b4c9b02dfecf0831151ed9c90f19","unresolved":false,"context_lines":[{"line_number":196,"context_line":"    \"\"\""},{"line_number":197,"context_line":"    node_uuid \u003d task.node.uuid"},{"line_number":198,"context_line":""},{"line_number":199,"context_line":"    # Skip if bios config is already backed up"},{"line_number":200,"context_line":"    if \u0027irmc_bios_config\u0027 in task.node.driver_internal_info:"},{"line_number":201,"context_line":"        LOG.debug(\u0027BIOS config is already backed up for node %s\u0027,"},{"line_number":202,"context_line":"                  node_uuid)"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5201f7_cf33e460","line":199,"in_reply_to":"ba5201f7_bc7d231e","updated":"2017-01-06 10:36:08.000000000","message":"Done. Changed to always overwrite the old data.","commit_id":"7efe9f481592c34b4966e2a8f76c8bfc1048d461"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"6f8a49518ff62a7e7818fbb9324a49bc968ce4fe","unresolved":false,"context_lines":[{"line_number":201,"context_line":"        LOG.debug(\u0027BIOS config is already backed up for node %s\u0027,"},{"line_number":202,"context_line":"                  node_uuid)"},{"line_number":203,"context_line":"    else:"},{"line_number":204,"context_line":"        # Get bios config asynchronously"},{"line_number":205,"context_line":"        curr_power_state \u003d task.driver.power.get_power_state(task)"},{"line_number":206,"context_line":"        callback \u003d functools.partial(_on_bios_config_backup,"},{"line_number":207,"context_line":"                                     node_uuid\u003dnode_uuid,"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5201f7_9c713fe3","line":204,"range":{"start_line":204,"start_character":26,"end_line":204,"end_character":40},"updated":"2017-01-04 13:24:54.000000000","message":"You start backup before deploy asynchronously. There is race condition possible, because power, hardware and DB  operations are needed for deploy procedure. I prefer synchronously action here (waiting for complete).","commit_id":"7efe9f481592c34b4966e2a8f76c8bfc1048d461"},{"author":{"_account_id":18320,"name":"Dao Cong Tien","email":"tiendc@vn.fujitsu.com","username":"TienDC"},"change_message_id":"e4dffb3dd779b4c9b02dfecf0831151ed9c90f19","unresolved":false,"context_lines":[{"line_number":201,"context_line":"        LOG.debug(\u0027BIOS config is already backed up for node %s\u0027,"},{"line_number":202,"context_line":"                  node_uuid)"},{"line_number":203,"context_line":"    else:"},{"line_number":204,"context_line":"        # Get bios config asynchronously"},{"line_number":205,"context_line":"        curr_power_state \u003d task.driver.power.get_power_state(task)"},{"line_number":206,"context_line":"        callback \u003d functools.partial(_on_bios_config_backup,"},{"line_number":207,"context_line":"                                     node_uuid\u003dnode_uuid,"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5201f7_12408433","line":204,"range":{"start_line":204,"start_character":26,"end_line":204,"end_character":40},"in_reply_to":"ba5201f7_9c713fe3","updated":"2017-01-06 10:36:08.000000000","message":"Please see my below answer.","commit_id":"7efe9f481592c34b4966e2a8f76c8bfc1048d461"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"6f8a49518ff62a7e7818fbb9324a49bc968ce4fe","unresolved":false,"context_lines":[{"line_number":202,"context_line":"                  node_uuid)"},{"line_number":203,"context_line":"    else:"},{"line_number":204,"context_line":"        # Get bios config asynchronously"},{"line_number":205,"context_line":"        curr_power_state \u003d task.driver.power.get_power_state(task)"},{"line_number":206,"context_line":"        callback \u003d functools.partial(_on_bios_config_backup,"},{"line_number":207,"context_line":"                                     node_uuid\u003dnode_uuid,"},{"line_number":208,"context_line":"                                     target_power_state\u003dcurr_power_state)"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5201f7_bc73637f","line":205,"updated":"2017-01-04 13:24:54.000000000","message":"Not sure that get power state is needed here. We can use node state from the DB.","commit_id":"7efe9f481592c34b4966e2a8f76c8bfc1048d461"},{"author":{"_account_id":18320,"name":"Dao Cong Tien","email":"tiendc@vn.fujitsu.com","username":"TienDC"},"change_message_id":"e4dffb3dd779b4c9b02dfecf0831151ed9c90f19","unresolved":false,"context_lines":[{"line_number":202,"context_line":"                  node_uuid)"},{"line_number":203,"context_line":"    else:"},{"line_number":204,"context_line":"        # Get bios config asynchronously"},{"line_number":205,"context_line":"        curr_power_state \u003d task.driver.power.get_power_state(task)"},{"line_number":206,"context_line":"        callback \u003d functools.partial(_on_bios_config_backup,"},{"line_number":207,"context_line":"                                     node_uuid\u003dnode_uuid,"},{"line_number":208,"context_line":"                                     target_power_state\u003dcurr_power_state)"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5201f7_c7eac073","line":205,"in_reply_to":"ba5201f7_bc73637f","updated":"2017-01-06 10:36:08.000000000","message":"Changed target_power_state to ON.","commit_id":"7efe9f481592c34b4966e2a8f76c8bfc1048d461"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"6f8a49518ff62a7e7818fbb9324a49bc968ce4fe","unresolved":false,"context_lines":[{"line_number":225,"context_line":"    if not bios_config:"},{"line_number":226,"context_line":"        msg \u003d _(\u0027Backup BIOS config not found for node %s\u0027) % node_uuid"},{"line_number":227,"context_line":"        LOG.error(msg)"},{"line_number":228,"context_line":"        raise exception.NodeCleaningFailure(node\u003dnode_uuid,"},{"line_number":229,"context_line":"                                            reason\u003dmsg)"},{"line_number":230,"context_line":"    else:"},{"line_number":231,"context_line":"        # Set bios config asynchronously"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5201f7_1f4621bf","line":228,"updated":"2017-01-04 13:24:54.000000000","message":"I upgrade ironic to new version. Some of nodes are in ACTIVE state during upgrade. Auto cleaning will be broken for these nodes with default config option.","commit_id":"7efe9f481592c34b4966e2a8f76c8bfc1048d461"},{"author":{"_account_id":18320,"name":"Dao Cong Tien","email":"tiendc@vn.fujitsu.com","username":"TienDC"},"change_message_id":"e4dffb3dd779b4c9b02dfecf0831151ed9c90f19","unresolved":false,"context_lines":[{"line_number":225,"context_line":"    if not bios_config:"},{"line_number":226,"context_line":"        msg \u003d _(\u0027Backup BIOS config not found for node %s\u0027) % node_uuid"},{"line_number":227,"context_line":"        LOG.error(msg)"},{"line_number":228,"context_line":"        raise exception.NodeCleaningFailure(node\u003dnode_uuid,"},{"line_number":229,"context_line":"                                            reason\u003dmsg)"},{"line_number":230,"context_line":"    else:"},{"line_number":231,"context_line":"        # Set bios config asynchronously"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5201f7_922c749a","line":228,"in_reply_to":"ba5201f7_1f4621bf","updated":"2017-01-06 10:36:08.000000000","message":"After upgrade Ironic, I can see this. How can I perform a clean step now? Do I need to update this patch set due to the new behavior? Thanks.","commit_id":"7efe9f481592c34b4966e2a8f76c8bfc1048d461"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"6f8a49518ff62a7e7818fbb9324a49bc968ce4fe","unresolved":false,"context_lines":[{"line_number":228,"context_line":"        raise exception.NodeCleaningFailure(node\u003dnode_uuid,"},{"line_number":229,"context_line":"                                            reason\u003dmsg)"},{"line_number":230,"context_line":"    else:"},{"line_number":231,"context_line":"        # Set bios config asynchronously"},{"line_number":232,"context_line":"        curr_power_state \u003d task.driver.power.get_power_state(task)"},{"line_number":233,"context_line":"        callback \u003d functools.partial(_on_bios_config_restore,"},{"line_number":234,"context_line":"                                     node_uuid\u003dnode_uuid,"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5201f7_3fbbe5e6","line":231,"range":{"start_line":231,"start_character":26,"end_line":231,"end_character":40},"updated":"2017-01-04 13:24:54.000000000","message":"I\u0027m not irmc expert, but do not see any reason why this OOB operation is asynchronously.","commit_id":"7efe9f481592c34b4966e2a8f76c8bfc1048d461"},{"author":{"_account_id":18320,"name":"Dao Cong Tien","email":"tiendc@vn.fujitsu.com","username":"TienDC"},"change_message_id":"e4dffb3dd779b4c9b02dfecf0831151ed9c90f19","unresolved":false,"context_lines":[{"line_number":228,"context_line":"        raise exception.NodeCleaningFailure(node\u003dnode_uuid,"},{"line_number":229,"context_line":"                                            reason\u003dmsg)"},{"line_number":230,"context_line":"    else:"},{"line_number":231,"context_line":"        # Set bios config asynchronously"},{"line_number":232,"context_line":"        curr_power_state \u003d task.driver.power.get_power_state(task)"},{"line_number":233,"context_line":"        callback \u003d functools.partial(_on_bios_config_restore,"},{"line_number":234,"context_line":"                                     node_uuid\u003dnode_uuid,"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5201f7_c714804e","line":231,"range":{"start_line":231,"start_character":26,"end_line":231,"end_character":40},"in_reply_to":"ba5201f7_3fbbe5e6","updated":"2017-01-06 10:36:08.000000000","message":"Let me give you more info about iRMC S4 hardware. As for BACKUP bios config operation, when there is a BACKUP request from Ironic iRMC driver, the server does:\n\n1. Resets the node itself.\n2. Boots into BACKUP mode.\n3. Returns bios config data to caller.\n4. Powers down the node itself.\n\nThe same for RESTORE operation and both operations are time-consuming. That\u0027s why the functions are async, and the power state is changed within the node.","commit_id":"7efe9f481592c34b4966e2a8f76c8bfc1048d461"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"6f8a49518ff62a7e7818fbb9324a49bc968ce4fe","unresolved":false,"context_lines":[{"line_number":229,"context_line":"                                            reason\u003dmsg)"},{"line_number":230,"context_line":"    else:"},{"line_number":231,"context_line":"        # Set bios config asynchronously"},{"line_number":232,"context_line":"        curr_power_state \u003d task.driver.power.get_power_state(task)"},{"line_number":233,"context_line":"        callback \u003d functools.partial(_on_bios_config_restore,"},{"line_number":234,"context_line":"                                     node_uuid\u003dnode_uuid,"},{"line_number":235,"context_line":"                                     target_power_state\u003dcurr_power_state)"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5201f7_5f8c2935","line":232,"updated":"2017-01-04 13:24:54.000000000","message":"ditto l205","commit_id":"7efe9f481592c34b4966e2a8f76c8bfc1048d461"},{"author":{"_account_id":18320,"name":"Dao Cong Tien","email":"tiendc@vn.fujitsu.com","username":"TienDC"},"change_message_id":"e4dffb3dd779b4c9b02dfecf0831151ed9c90f19","unresolved":false,"context_lines":[{"line_number":229,"context_line":"                                            reason\u003dmsg)"},{"line_number":230,"context_line":"    else:"},{"line_number":231,"context_line":"        # Set bios config asynchronously"},{"line_number":232,"context_line":"        curr_power_state \u003d task.driver.power.get_power_state(task)"},{"line_number":233,"context_line":"        callback \u003d functools.partial(_on_bios_config_restore,"},{"line_number":234,"context_line":"                                     node_uuid\u003dnode_uuid,"},{"line_number":235,"context_line":"                                     target_power_state\u003dcurr_power_state)"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5201f7_f23dc0c4","line":232,"in_reply_to":"ba5201f7_5f8c2935","updated":"2017-01-06 10:36:08.000000000","message":"Changed target_power_state to ON.","commit_id":"7efe9f481592c34b4966e2a8f76c8bfc1048d461"},{"author":{"_account_id":13719,"name":"Naohiro Tamura","email":"naohirot.openstack@gmail.com","username":"nao"},"change_message_id":"9c55b9d76ff875815fc85d8eda0677232370d9fd","unresolved":false,"context_lines":[{"line_number":34,"context_line":"from ironic.drivers.modules.irmc import common as irmc_common"},{"line_number":35,"context_line":"from ironic.drivers import utils as driver_utils"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"scci \u003d importutils.try_import(\u0027scciclient.irmc.scci\u0027)"},{"line_number":38,"context_line":"scci_elcm \u003d importutils.try_import(\u0027scciclient.irmc.elcm\u0027)"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":41,"context_line":"CONF \u003d conf.CONF"}],"source_content_type":"text/x-python","patch_set":4,"id":"5a3905b3_d1222801","line":38,"range":{"start_line":37,"start_character":0,"end_line":38,"end_character":58},"updated":"2017-01-25 08:20:33.000000000","message":"I prefer like this:\n\nirmc \u003d importutils.try_import(\u0027scciclient.irmc\u0027)\n\ns/scci/irmc.scci/\ns/scci_elcm/irmc.elcm/","commit_id":"da5e7c0e9ecd717a55d9615b84727f2faec83ab3"},{"author":{"_account_id":13719,"name":"Naohiro Tamura","email":"naohirot.openstack@gmail.com","username":"nao"},"change_message_id":"ea9db663dae0fa1d74ab45bcf6303ec7cd376aed","unresolved":false,"context_lines":[{"line_number":175,"context_line":"        LOG.info(_LI(\u0027BIOS config is restored successfully on node %s\u0027),"},{"line_number":176,"context_line":"                 node_uuid)"},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"        with task_manager.acquire(context.get_admin_context(),"},{"line_number":179,"context_line":"                                  node_uuid,"},{"line_number":180,"context_line":"                                  purpose\u003d\u0027continue node clean\u0027"},{"line_number":181,"context_line":"                                  ) as task:"}],"source_content_type":"text/x-python","patch_set":4,"id":"3a461143_085b6355","line":178,"range":{"start_line":178,"start_character":34,"end_line":178,"end_character":61},"updated":"2017-01-27 07:10:11.000000000","message":"Is admin context appropriate?","commit_id":"da5e7c0e9ecd717a55d9615b84727f2faec83ab3"},{"author":{"_account_id":13719,"name":"Naohiro Tamura","email":"naohirot.openstack@gmail.com","username":"nao"},"change_message_id":"ea9db663dae0fa1d74ab45bcf6303ec7cd376aed","unresolved":false,"context_lines":[{"line_number":187,"context_line":"    else:"},{"line_number":188,"context_line":"        LOG.error(_LE(\u0027Failed to restore BIOS config on node %s\u0027),"},{"line_number":189,"context_line":"                  node_uuid)"},{"line_number":190,"context_line":"        raise exception.IRMCOperationError(operation\u003d\u0027restore BIOS config\u0027,"},{"line_number":191,"context_line":"                                           error\u003dresult[\u0027error\u0027])"},{"line_number":192,"context_line":""},{"line_number":193,"context_line":""},{"line_number":194,"context_line":"def backup_bios_config(task):"}],"source_content_type":"text/x-python","patch_set":4,"id":"3a461143_48900bed","line":191,"range":{"start_line":190,"start_character":8,"end_line":191,"end_character":65},"updated":"2017-01-27 07:10:11.000000000","message":"I think this code is running on the thread which was spawned in scciclient library.\nSo this thread ends after raising the exception.\nI\u0027m wondering if this IRMCOperationError is processed accordingly.","commit_id":"da5e7c0e9ecd717a55d9615b84727f2faec83ab3"},{"author":{"_account_id":13719,"name":"Naohiro Tamura","email":"naohirot.openstack@gmail.com","username":"nao"},"change_message_id":"90795152d9367e3f42299221d2365af0f6fe6636","unresolved":false,"context_lines":[{"line_number":215,"context_line":"    try:"},{"line_number":216,"context_line":"        # Get bios config asynchronously"},{"line_number":217,"context_line":"        scci_elcm.get_bios_config(irmc_info, callback)"},{"line_number":218,"context_line":"    except scci.SCCIError as e:"},{"line_number":219,"context_line":"        raise exception.IRMCOperationError(operation\u003d\u0027backup BIOS config\u0027,"},{"line_number":220,"context_line":"                                           error\u003de)"},{"line_number":221,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"3a461143_62dc0513","line":218,"range":{"start_line":218,"start_character":4,"end_line":218,"end_character":30},"updated":"2017-01-27 06:06:49.000000000","message":"I\u0027m wondering if we can catch an exception here, because scci_elcm.get_bios_config() is async, the caller thread returns to the caller of backup_bios_config() as soon as the caller thread spawns a child thread in scci_elcm.get_bios_config() .","commit_id":"da5e7c0e9ecd717a55d9615b84727f2faec83ab3"},{"author":{"_account_id":13719,"name":"Naohiro Tamura","email":"naohirot.openstack@gmail.com","username":"nao"},"change_message_id":"90795152d9367e3f42299221d2365af0f6fe6636","unresolved":false,"context_lines":[{"line_number":249,"context_line":"        try:"},{"line_number":250,"context_line":"            # Set bios config asynchronously"},{"line_number":251,"context_line":"            scci_elcm.set_bios_config(bios_config, irmc_info, callback)"},{"line_number":252,"context_line":"        except scci.SCCIError as e:"},{"line_number":253,"context_line":"            raise exception.IRMCOperationError("},{"line_number":254,"context_line":"                operation\u003d\u0027restore BIOS config\u0027,"},{"line_number":255,"context_line":"                error\u003de)"}],"source_content_type":"text/x-python","patch_set":4,"id":"3a461143_0202616f","line":252,"range":{"start_line":252,"start_character":8,"end_line":252,"end_character":35},"updated":"2017-01-27 06:06:49.000000000","message":"same question.","commit_id":"da5e7c0e9ecd717a55d9615b84727f2faec83ab3"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"132c2752e359e754bd64dbfc32e980347877be73","unresolved":false,"context_lines":[{"line_number":127,"context_line":"    # time-consuming. If the clean step restore_bios_config is disabled,"},{"line_number":128,"context_line":"    # then this operation should be skipped."},{"line_number":129,"context_line":"    if CONF.irmc.clean_priority_restore_bios_config \u003d\u003d 0:"},{"line_number":130,"context_line":"        LOG.info(\u0027Skipped IRMC operation backup_bios_config as \u0027"},{"line_number":131,"context_line":"                 \u0027the clean step restore_bios_config is disabled.\u0027)"},{"line_number":132,"context_line":"    else:"},{"line_number":133,"context_line":"        irmc_info \u003d irmc_common.parse_driver_info(task.node)"}],"source_content_type":"text/x-python","patch_set":5,"id":"9ff52f3f_d2ef85ae","line":130,"updated":"2017-04-13 10:06:24.000000000","message":"this should be maximum LOG.debug, otherwise you\u0027re going to spam the logs with it. If you really want to draw operator\u0027s attention, log is as warning, but only once per conductor, not every deploy.","commit_id":"b85ac92f1d19284ecce7faac32b6b4314a09a35c"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"132c2752e359e754bd64dbfc32e980347877be73","unresolved":false,"context_lines":[{"line_number":164,"context_line":""},{"line_number":165,"context_line":"    if not bios_config:"},{"line_number":166,"context_line":"        # For the first time the clean step restore_bios_config is executed,"},{"line_number":167,"context_line":"        # there is no backup bios data saved before."},{"line_number":168,"context_line":"        LOG.warning(\u0027Backup BIOS config not found for node %s\u0027, node_uuid)"},{"line_number":169,"context_line":"    else:"},{"line_number":170,"context_line":"        irmc_info \u003d irmc_common.parse_driver_info(task.node)"}],"source_content_type":"text/x-python","patch_set":5,"id":"9ff52f3f_b22ac1e4","line":167,"updated":"2017-04-13 10:06:24.000000000","message":"if it\u0027s a normal condition, there should not be warnings","commit_id":"b85ac92f1d19284ecce7faac32b6b4314a09a35c"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"132c2752e359e754bd64dbfc32e980347877be73","unresolved":false,"context_lines":[{"line_number":172,"context_line":"            # Restore bios config"},{"line_number":173,"context_line":"            irmc.elcm.restore_bios_config(irmc_info, bios_config)"},{"line_number":174,"context_line":"        except irmc.scci.SCCIError as e:"},{"line_number":175,"context_line":"            LOG.error(\u0027Failed to restore BIOS config on node %s\u0027, node_uuid)"},{"line_number":176,"context_line":"            raise exception.IRMCOperationError(operation\u003d\u0027restore BIOS config\u0027,"},{"line_number":177,"context_line":"                                               error\u003de)"},{"line_number":178,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"9ff52f3f_922fbdf5","line":175,"updated":"2017-04-13 10:06:24.000000000","message":"please log error message too","commit_id":"b85ac92f1d19284ecce7faac32b6b4314a09a35c"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"132c2752e359e754bd64dbfc32e980347877be73","unresolved":false,"context_lines":[{"line_number":173,"context_line":"            irmc.elcm.restore_bios_config(irmc_info, bios_config)"},{"line_number":174,"context_line":"        except irmc.scci.SCCIError as e:"},{"line_number":175,"context_line":"            LOG.error(\u0027Failed to restore BIOS config on node %s\u0027, node_uuid)"},{"line_number":176,"context_line":"            raise exception.IRMCOperationError(operation\u003d\u0027restore BIOS config\u0027,"},{"line_number":177,"context_line":"                                               error\u003de)"},{"line_number":178,"context_line":""},{"line_number":179,"context_line":"        LOG.info(\u0027BIOS config is restored successfully on node %s\u0027,"}],"source_content_type":"text/x-python","patch_set":5,"id":"9ff52f3f_7234394b","line":176,"updated":"2017-04-13 10:06:24.000000000","message":"_() needed around user-visible string","commit_id":"b85ac92f1d19284ecce7faac32b6b4314a09a35c"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"132c2752e359e754bd64dbfc32e980347877be73","unresolved":false,"context_lines":[{"line_number":346,"context_line":"        \"\"\""},{"line_number":347,"context_line":"        try:"},{"line_number":348,"context_line":"            restore_bios_config(task)"},{"line_number":349,"context_line":"            return None"},{"line_number":350,"context_line":"        except exception.IRMCOperationError as e:"},{"line_number":351,"context_line":"            raise exception.NodeCleaningFailure(node\u003dtask.node.uuid,"},{"line_number":352,"context_line":"                                                reason\u003de)"}],"source_content_type":"text/x-python","patch_set":5,"id":"9ff52f3f_5239353f","line":349,"updated":"2017-04-13 10:06:24.000000000","message":"this operation is redundant","commit_id":"b85ac92f1d19284ecce7faac32b6b4314a09a35c"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"a7ce1fedf31f6c2858530f1b50784a83cf3820d9","unresolved":false,"context_lines":[{"line_number":136,"context_line":"    task.node.driver_internal_info \u003d internal_info"},{"line_number":137,"context_line":"    task.node.save()"},{"line_number":138,"context_line":""},{"line_number":139,"context_line":"    # Change power state to ON due to after the operation"},{"line_number":140,"context_line":"    # the server is shut down."},{"line_number":141,"context_line":"    manager_utils.node_power_action(task, states.POWER_ON)"},{"line_number":142,"context_line":""},{"line_number":143,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"df140735_8099257a","line":140,"range":{"start_line":139,"start_character":31,"end_line":140,"end_character":30},"updated":"2017-06-02 09:54:06.000000000","message":"nit: May be you mean:\n\"as server is automatically shutdown after taking backup of bios config.\"","commit_id":"9f2ef907cb444e171d7739d700c1d3e0fcadfd07"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"a7ce1fedf31f6c2858530f1b50784a83cf3820d9","unresolved":false,"context_lines":[{"line_number":161,"context_line":"        raise exception.IRMCOperationError(operation\u003d\u0027restore BIOS config\u0027,"},{"line_number":162,"context_line":"                                           error\u003de)"},{"line_number":163,"context_line":""},{"line_number":164,"context_line":"    # Remove the backup data after restoring"},{"line_number":165,"context_line":"    internal_info \u003d task.node.driver_internal_info"},{"line_number":166,"context_line":"    internal_info.pop(\u0027irmc_bios_config\u0027, None)"},{"line_number":167,"context_line":"    task.node.driver_internal_info \u003d internal_info"},{"line_number":168,"context_line":"    task.node.save()"},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"    LOG.info(\u0027BIOS config is restored successfully on node %s\u0027,"},{"line_number":171,"context_line":"             node_uuid)"}],"source_content_type":"text/x-python","patch_set":7,"id":"df140735_001195ac","line":168,"range":{"start_line":164,"start_character":4,"end_line":168,"end_character":20},"updated":"2017-06-02 09:54:06.000000000","message":"A query..\nShouldn\u0027t this be done even when the restore fails? How do one overcome if the \u0027restore\u0027 operation fails at every attempt due to bad backup. Or that can never happen?","commit_id":"9f2ef907cb444e171d7739d700c1d3e0fcadfd07"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"a7ce1fedf31f6c2858530f1b50784a83cf3820d9","unresolved":false,"context_lines":[{"line_number":167,"context_line":"    task.node.driver_internal_info \u003d internal_info"},{"line_number":168,"context_line":"    task.node.save()"},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"    LOG.info(\u0027BIOS config is restored successfully on node %s\u0027,"},{"line_number":171,"context_line":"             node_uuid)"},{"line_number":172,"context_line":""},{"line_number":173,"context_line":"    # Change power state to ON due to after the operation"},{"line_number":174,"context_line":"    # the server is shut down."}],"source_content_type":"text/x-python","patch_set":7,"id":"df140735_208139c4","line":171,"range":{"start_line":170,"start_character":4,"end_line":171,"end_character":23},"updated":"2017-06-02 09:54:06.000000000","message":"Better to add similar LOG.info for  _backup_bios_config()","commit_id":"9f2ef907cb444e171d7739d700c1d3e0fcadfd07"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"a91f5ee7c21c9d9cbd64a4dd13bdb1a275345988","unresolved":false,"context_lines":[{"line_number":218,"context_line":"        if (CONF.irmc.clean_priority_reset_bios_config \u003e 0 and"},{"line_number":219,"context_line":"                task.node.provision_state \u003d\u003d states.AVAILABLE and"},{"line_number":220,"context_line":"                \u0027irmc_bios_config\u0027 not in task.node.driver_internal_info):"},{"line_number":221,"context_line":"            raise exception.MissingParameterValue(_("},{"line_number":222,"context_line":"                \"Missing backup BIOS settings for node %s. Please perform \""},{"line_number":223,"context_line":"                \"cleaning on the node to backup the BIOS settings.\")"},{"line_number":224,"context_line":"                % task.node.uuid)"}],"source_content_type":"text/x-python","patch_set":7,"id":"df140735_49a11194","line":221,"updated":"2017-06-01 17:58:05.000000000","message":"this basically makes it required for all nodes right? if clean_priority_reset_bios_config is set. Is it the thing you need?","commit_id":"9f2ef907cb444e171d7739d700c1d3e0fcadfd07"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"a7ce1fedf31f6c2858530f1b50784a83cf3820d9","unresolved":false,"context_lines":[{"line_number":218,"context_line":"        if (CONF.irmc.clean_priority_reset_bios_config \u003e 0 and"},{"line_number":219,"context_line":"                task.node.provision_state \u003d\u003d states.AVAILABLE and"},{"line_number":220,"context_line":"                \u0027irmc_bios_config\u0027 not in task.node.driver_internal_info):"},{"line_number":221,"context_line":"            raise exception.MissingParameterValue(_("},{"line_number":222,"context_line":"                \"Missing backup BIOS settings for node %s. Please perform \""},{"line_number":223,"context_line":"                \"cleaning on the node to backup the BIOS settings.\")"},{"line_number":224,"context_line":"                % task.node.uuid)"}],"source_content_type":"text/x-python","patch_set":7,"id":"df140735_807b65bc","line":221,"in_reply_to":"df140735_49a11194","updated":"2017-06-02 09:54:06.000000000","message":"Is this clean step required to be executed twice, once for \u0027backup\u0027 and later for \u0027restore\u0027?\nThe data would be present in the node.driver_internal_info only during \u0027backup\u0027 gets executed. It would be removed upon second time execution of automated cleaning when config is \u0027restored\u0027.","commit_id":"9f2ef907cb444e171d7739d700c1d3e0fcadfd07"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"a91f5ee7c21c9d9cbd64a4dd13bdb1a275345988","unresolved":false,"context_lines":[{"line_number":353,"context_line":""},{"line_number":354,"context_line":"    @METRICS.timer(\u0027IRMCManagement.reset_bios_config\u0027)"},{"line_number":355,"context_line":"    @base.clean_step(priority\u003dCONF.irmc.clean_priority_reset_bios_config)"},{"line_number":356,"context_line":"    def reset_bios_config(self, task):"},{"line_number":357,"context_line":"        \"\"\"Backup and restore BIOS settings for a node."},{"line_number":358,"context_line":""},{"line_number":359,"context_line":"        :param task: a task from TaskManager."}],"source_content_type":"text/x-python","patch_set":7,"id":"df140735_69d29502","line":356,"range":{"start_line":356,"start_character":8,"end_line":356,"end_character":25},"updated":"2017-06-01 17:58:05.000000000","message":"I\u0027d call this a bit more specific, maybe reset_irmc_bios_config? I did comment about that on some of the ilo patches, if you call it generic like here, and someone else introduces a step with the same name with a post clean step hook, that hook of another driver might get triggered after this irmc step is done.","commit_id":"9f2ef907cb444e171d7739d700c1d3e0fcadfd07"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"2bb07fbbec835692e1b9d8650ad9a111b1f6b58b","unresolved":false,"context_lines":[{"line_number":131,"context_line":""},{"line_number":132,"context_line":"    # NOTE: The server requires reboot in order to start"},{"line_number":133,"context_line":"    # backing up the BIOS config data."},{"line_number":134,"context_line":"    manager_utils.node_power_action(task, states.REBOOT)"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"    try:"},{"line_number":137,"context_line":"        # Backup bios config"}],"source_content_type":"text/x-python","patch_set":9,"id":"7f231b9d_a24a7380","line":134,"range":{"start_line":134,"start_character":4,"end_line":134,"end_character":56},"updated":"2017-06-20 05:53:11.000000000","message":"This mean the provisioning of the node would have an additional power cycle if the clean step \u0027restore_irmc_bios_config\u0027 were to be enabled. This clean step is altering the behavior of the node provisioning, probably this needs to be documented in the provisioning related documentation of the driver.","commit_id":"d4b190f49e31b85ecec0803812886d3705e18577"},{"author":{"_account_id":18320,"name":"Dao Cong Tien","email":"tiendc@vn.fujitsu.com","username":"TienDC"},"change_message_id":"5abd7d13c1cd6e9f6dbb902f592febeebb0e778b","unresolved":false,"context_lines":[{"line_number":131,"context_line":""},{"line_number":132,"context_line":"    # NOTE: The server requires reboot in order to start"},{"line_number":133,"context_line":"    # backing up the BIOS config data."},{"line_number":134,"context_line":"    manager_utils.node_power_action(task, states.REBOOT)"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"    try:"},{"line_number":137,"context_line":"        # Backup bios config"}],"source_content_type":"text/x-python","patch_set":9,"id":"5f201791_19e57409","line":134,"range":{"start_line":134,"start_character":4,"end_line":134,"end_character":56},"in_reply_to":"7f231b9d_a24a7380","updated":"2017-06-27 10:12:04.000000000","message":"This line of code is removed due to it\u0027s redundant. The server performs reboot automatically before the BACKUP/RESTORE BIOS config.","commit_id":"d4b190f49e31b85ecec0803812886d3705e18577"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"2bb07fbbec835692e1b9d8650ad9a111b1f6b58b","unresolved":false,"context_lines":[{"line_number":153,"context_line":""},{"line_number":154,"context_line":"    # Change power state to ON as server is automatically"},{"line_number":155,"context_line":"    # shutdown after the operation."},{"line_number":156,"context_line":"    manager_utils.node_power_action(task, states.POWER_ON)"},{"line_number":157,"context_line":""},{"line_number":158,"context_line":""},{"line_number":159,"context_line":"def restore_bios_config(task):"}],"source_content_type":"text/x-python","patch_set":9,"id":"7f231b9d_62333b64","line":156,"range":{"start_line":156,"start_character":4,"end_line":156,"end_character":58},"updated":"2017-06-20 05:53:11.000000000","message":"Should it be POWER_OFF ?\nThe node would go for reboot when task.driver.deploy() gets called. \nhttps://github.com/openstack/ironic/blob/master/ironic/drivers/modules/iscsi_deploy.py#L449","commit_id":"d4b190f49e31b85ecec0803812886d3705e18577"},{"author":{"_account_id":18320,"name":"Dao Cong Tien","email":"tiendc@vn.fujitsu.com","username":"TienDC"},"change_message_id":"5abd7d13c1cd6e9f6dbb902f592febeebb0e778b","unresolved":false,"context_lines":[{"line_number":153,"context_line":""},{"line_number":154,"context_line":"    # Change power state to ON as server is automatically"},{"line_number":155,"context_line":"    # shutdown after the operation."},{"line_number":156,"context_line":"    manager_utils.node_power_action(task, states.POWER_ON)"},{"line_number":157,"context_line":""},{"line_number":158,"context_line":""},{"line_number":159,"context_line":"def restore_bios_config(task):"}],"source_content_type":"text/x-python","patch_set":9,"id":"5f201791_79a8e88a","line":156,"range":{"start_line":156,"start_character":4,"end_line":156,"end_character":58},"in_reply_to":"7f231b9d_62333b64","updated":"2017-06-27 10:12:04.000000000","message":"I removed this line as task.driver.deploy() will power on the server, so this is redundant.","commit_id":"d4b190f49e31b85ecec0803812886d3705e18577"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"2bb07fbbec835692e1b9d8650ad9a111b1f6b58b","unresolved":false,"context_lines":[{"line_number":156,"context_line":"    manager_utils.node_power_action(task, states.POWER_ON)"},{"line_number":157,"context_line":""},{"line_number":158,"context_line":""},{"line_number":159,"context_line":"def restore_bios_config(task):"},{"line_number":160,"context_line":"    \"\"\"Restore BIOS config to a node."},{"line_number":161,"context_line":""},{"line_number":162,"context_line":"    :param task: a TaskManager instance containing the node to act on."}],"source_content_type":"text/x-python","patch_set":9,"id":"7f231b9d_a2d15332","line":159,"range":{"start_line":159,"start_character":4,"end_line":159,"end_character":23},"updated":"2017-06-20 05:53:11.000000000","message":"This can be prefixed with \u0027_\u0027 (_restore_bios_config) as its used only in this module.","commit_id":"d4b190f49e31b85ecec0803812886d3705e18577"},{"author":{"_account_id":18320,"name":"Dao Cong Tien","email":"tiendc@vn.fujitsu.com","username":"TienDC"},"change_message_id":"5abd7d13c1cd6e9f6dbb902f592febeebb0e778b","unresolved":false,"context_lines":[{"line_number":156,"context_line":"    manager_utils.node_power_action(task, states.POWER_ON)"},{"line_number":157,"context_line":""},{"line_number":158,"context_line":""},{"line_number":159,"context_line":"def restore_bios_config(task):"},{"line_number":160,"context_line":"    \"\"\"Restore BIOS config to a node."},{"line_number":161,"context_line":""},{"line_number":162,"context_line":"    :param task: a TaskManager instance containing the node to act on."}],"source_content_type":"text/x-python","patch_set":9,"id":"5f201791_3996f04d","line":159,"range":{"start_line":159,"start_character":4,"end_line":159,"end_character":23},"in_reply_to":"7f231b9d_a2d15332","updated":"2017-06-27 10:12:04.000000000","message":"Done","commit_id":"d4b190f49e31b85ecec0803812886d3705e18577"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"2bb07fbbec835692e1b9d8650ad9a111b1f6b58b","unresolved":false,"context_lines":[{"line_number":173,"context_line":""},{"line_number":174,"context_line":"    # NOTE: The server requires reboot in order to start"},{"line_number":175,"context_line":"    # restoring the BIOS config data."},{"line_number":176,"context_line":"    manager_utils.node_power_action(task, states.REBOOT)"},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"    def _remove_bios_config(task):"},{"line_number":179,"context_line":"        \"\"\"Remove backup bios config from the node.\"\"\""}],"source_content_type":"text/x-python","patch_set":9,"id":"7f231b9d_629d7b09","line":176,"range":{"start_line":176,"start_character":4,"end_line":176,"end_character":56},"updated":"2017-06-20 05:53:11.000000000","message":"The bare metal is in power-on state at this point, still a reboot is required? However this Ironic node is in \u0027CLEANING\u0027 state. We do not perform node reboot while executing clean steps. Not sure if this would have impact on the overall Ironic cleaning state machine.","commit_id":"d4b190f49e31b85ecec0803812886d3705e18577"},{"author":{"_account_id":18320,"name":"Dao Cong Tien","email":"tiendc@vn.fujitsu.com","username":"TienDC"},"change_message_id":"5abd7d13c1cd6e9f6dbb902f592febeebb0e778b","unresolved":false,"context_lines":[{"line_number":173,"context_line":""},{"line_number":174,"context_line":"    # NOTE: The server requires reboot in order to start"},{"line_number":175,"context_line":"    # restoring the BIOS config data."},{"line_number":176,"context_line":"    manager_utils.node_power_action(task, states.REBOOT)"},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"    def _remove_bios_config(task):"},{"line_number":179,"context_line":"        \"\"\"Remove backup bios config from the node.\"\"\""}],"source_content_type":"text/x-python","patch_set":9,"id":"5f201791_3496f74d","line":176,"range":{"start_line":176,"start_character":4,"end_line":176,"end_character":56},"in_reply_to":"7f231b9d_629d7b09","updated":"2017-06-27 10:12:04.000000000","message":"I checked the code works without seeing an impact to the state machine. The server performs reboot automatically, so it\u0027s hard to find a better solution for this.","commit_id":"d4b190f49e31b85ecec0803812886d3705e18577"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"bff03bc956f6139f3fa9428d1d307df82b64882f","unresolved":false,"context_lines":[{"line_number":140,"context_line":""},{"line_number":141,"context_line":"    # Save bios config into the driver_internal_info"},{"line_number":142,"context_line":"    internal_info \u003d task.node.driver_internal_info"},{"line_number":143,"context_line":"    internal_info[\u0027irmc_bios_config\u0027] \u003d result[\u0027bios_config\u0027]"},{"line_number":144,"context_line":"    task.node.driver_internal_info \u003d internal_info"},{"line_number":145,"context_line":"    task.node.save()"},{"line_number":146,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"5f201791_9af5c859","line":143,"updated":"2017-06-28 09:21:06.000000000","message":"I wonder how big this bios_config can be.. I think we can only store several (dozens?) kilobytes in this field.","commit_id":"01115099f4583f3564f0cdd000568b513d6507e4"},{"author":{"_account_id":18320,"name":"Dao Cong Tien","email":"tiendc@vn.fujitsu.com","username":"TienDC"},"change_message_id":"1076b185f016fafff08530cdb3b49f879825f102","unresolved":false,"context_lines":[{"line_number":140,"context_line":""},{"line_number":141,"context_line":"    # Save bios config into the driver_internal_info"},{"line_number":142,"context_line":"    internal_info \u003d task.node.driver_internal_info"},{"line_number":143,"context_line":"    internal_info[\u0027irmc_bios_config\u0027] \u003d result[\u0027bios_config\u0027]"},{"line_number":144,"context_line":"    task.node.driver_internal_info \u003d internal_info"},{"line_number":145,"context_line":"    task.node.save()"},{"line_number":146,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"3f1d235d_689fabb4","line":143,"in_reply_to":"5f201791_9af5c859","updated":"2017-06-29 07:22:38.000000000","message":"For my testing servers, they are small (less than 1 kilobyte each node). But follow the doc from our hardware team, if the data contain all the config options, then they will be several kb(s), but can\u0027t be greater than a dozen.","commit_id":"01115099f4583f3564f0cdd000568b513d6507e4"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"bff03bc956f6139f3fa9428d1d307df82b64882f","unresolved":false,"context_lines":[{"line_number":192,"context_line":"                                           error\u003de)"},{"line_number":193,"context_line":""},{"line_number":194,"context_line":"    # Remove the backup data after restoring"},{"line_number":195,"context_line":"    _remove_bios_config(task)"},{"line_number":196,"context_line":""},{"line_number":197,"context_line":"    LOG.info(\u0027BIOS config is restored successfully on node %s\u0027,"},{"line_number":198,"context_line":"             node_uuid)"}],"source_content_type":"text/x-python","patch_set":10,"id":"5f201791_7ae8ac7a","line":195,"updated":"2017-06-28 09:21:06.000000000","message":"nit: this does not have to be a separate function","commit_id":"01115099f4583f3564f0cdd000568b513d6507e4"}],"releasenotes/notes/bug-1639688-a8bed625670b7fdf.yaml":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"132c2752e359e754bd64dbfc32e980347877be73","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - Adds clean step \u0027reset_bios_to_default\u0027 to iRMC drivers."}],"source_content_type":"text/x-yaml","patch_set":5,"id":"9ff52f3f_323eb129","line":3,"updated":"2017-04-13 10:06:24.000000000","message":"could you please elaborate on how it works? I see it does something before deployment, so it\u0027s not only a matter of adding a clean step","commit_id":"b85ac92f1d19284ecce7faac32b6b4314a09a35c"}],"releasenotes/notes/irmc-add-clean-step-reset-bios-config-a8bed625670b7fdf.yaml":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"bff03bc956f6139f3fa9428d1d307df82b64882f","unresolved":false,"context_lines":[{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - Adds new boot interface named \u0027irmc-pxe\u0027. The boot interface \u0027pxe\u0027 is"},{"line_number":4,"context_line":"    deprecated from using with hardware type \u0027irmc\u0027. It is recommended"},{"line_number":5,"context_line":"    for operator to switch to use \u0027irmc-pxe\u0027 instead."},{"line_number":6,"context_line":"  - Adds functions backup_bios_config and restore_bios_config to iRMC"},{"line_number":7,"context_line":"    management interface for implementing the BIOS BACKUP/RESTORE"},{"line_number":8,"context_line":"    mechanism supporting iRMC S4 hardware."}],"source_content_type":"text/x-yaml","patch_set":10,"id":"5f201791_5aebb076","line":5,"updated":"2017-06-28 09:21:06.000000000","message":"please move the deprecation notice to a separate \"deprecations\" section","commit_id":"01115099f4583f3564f0cdd000568b513d6507e4"},{"author":{"_account_id":18320,"name":"Dao Cong Tien","email":"tiendc@vn.fujitsu.com","username":"TienDC"},"change_message_id":"1076b185f016fafff08530cdb3b49f879825f102","unresolved":false,"context_lines":[{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - Adds new boot interface named \u0027irmc-pxe\u0027. The boot interface \u0027pxe\u0027 is"},{"line_number":4,"context_line":"    deprecated from using with hardware type \u0027irmc\u0027. It is recommended"},{"line_number":5,"context_line":"    for operator to switch to use \u0027irmc-pxe\u0027 instead."},{"line_number":6,"context_line":"  - Adds functions backup_bios_config and restore_bios_config to iRMC"},{"line_number":7,"context_line":"    management interface for implementing the BIOS BACKUP/RESTORE"},{"line_number":8,"context_line":"    mechanism supporting iRMC S4 hardware."}],"source_content_type":"text/x-yaml","patch_set":10,"id":"3f1d235d_bd9183f4","line":5,"in_reply_to":"5f201791_5aebb076","updated":"2017-06-29 07:22:38.000000000","message":"Done","commit_id":"01115099f4583f3564f0cdd000568b513d6507e4"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"bff03bc956f6139f3fa9428d1d307df82b64882f","unresolved":false,"context_lines":[{"line_number":5,"context_line":"    for operator to switch to use \u0027irmc-pxe\u0027 instead."},{"line_number":6,"context_line":"  - Adds functions backup_bios_config and restore_bios_config to iRMC"},{"line_number":7,"context_line":"    management interface for implementing the BIOS BACKUP/RESTORE"},{"line_number":8,"context_line":"    mechanism supporting iRMC S4 hardware."},{"line_number":9,"context_line":"  - Adds clean step restore_irmc_bios_config to restore BIOS config"},{"line_number":10,"context_line":"    for a node during automatic cleaning."}],"source_content_type":"text/x-yaml","patch_set":10,"id":"5f201791_3a06b453","line":8,"updated":"2017-06-28 09:21:06.000000000","message":"we only need user-visible changes in release notes, so I suggesgt removing this item","commit_id":"01115099f4583f3564f0cdd000568b513d6507e4"},{"author":{"_account_id":18320,"name":"Dao Cong Tien","email":"tiendc@vn.fujitsu.com","username":"TienDC"},"change_message_id":"1076b185f016fafff08530cdb3b49f879825f102","unresolved":false,"context_lines":[{"line_number":5,"context_line":"    for operator to switch to use \u0027irmc-pxe\u0027 instead."},{"line_number":6,"context_line":"  - Adds functions backup_bios_config and restore_bios_config to iRMC"},{"line_number":7,"context_line":"    management interface for implementing the BIOS BACKUP/RESTORE"},{"line_number":8,"context_line":"    mechanism supporting iRMC S4 hardware."},{"line_number":9,"context_line":"  - Adds clean step restore_irmc_bios_config to restore BIOS config"},{"line_number":10,"context_line":"    for a node during automatic cleaning."}],"source_content_type":"text/x-yaml","patch_set":10,"id":"3f1d235d_9d8ec7ce","line":8,"in_reply_to":"5f201791_3a06b453","updated":"2017-06-29 07:22:38.000000000","message":"Done","commit_id":"01115099f4583f3564f0cdd000568b513d6507e4"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"bff03bc956f6139f3fa9428d1d307df82b64882f","unresolved":false,"context_lines":[{"line_number":7,"context_line":"    management interface for implementing the BIOS BACKUP/RESTORE"},{"line_number":8,"context_line":"    mechanism supporting iRMC S4 hardware."},{"line_number":9,"context_line":"  - Adds clean step restore_irmc_bios_config to restore BIOS config"},{"line_number":10,"context_line":"    for a node during automatic cleaning."}],"source_content_type":"text/x-yaml","patch_set":10,"id":"5f201791_1a01b838","line":10,"updated":"2017-06-28 09:21:06.000000000","message":"please mention the configuration option to set its priority.","commit_id":"01115099f4583f3564f0cdd000568b513d6507e4"},{"author":{"_account_id":18320,"name":"Dao Cong Tien","email":"tiendc@vn.fujitsu.com","username":"TienDC"},"change_message_id":"1076b185f016fafff08530cdb3b49f879825f102","unresolved":false,"context_lines":[{"line_number":7,"context_line":"    management interface for implementing the BIOS BACKUP/RESTORE"},{"line_number":8,"context_line":"    mechanism supporting iRMC S4 hardware."},{"line_number":9,"context_line":"  - Adds clean step restore_irmc_bios_config to restore BIOS config"},{"line_number":10,"context_line":"    for a node during automatic cleaning."}],"source_content_type":"text/x-yaml","patch_set":10,"id":"3f1d235d_3db7b389","line":10,"in_reply_to":"5f201791_1a01b838","updated":"2017-06-29 07:22:38.000000000","message":"Done","commit_id":"01115099f4583f3564f0cdd000568b513d6507e4"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"89616bf5d1505bd7d3bc73c0bd76d54b15258aa6","unresolved":false,"context_lines":[{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - Adds new boot interface named ``irmc-pxe``."},{"line_number":4,"context_line":"  - Adds clean step ``restore_irmc_bios_config`` to restore BIOS config"},{"line_number":5,"context_line":"    for a node during automatic cleaning."},{"line_number":6,"context_line":"upgrade:"},{"line_number":7,"context_line":"  - Adds new configuration option"},{"line_number":8,"context_line":"    ``[irmc]clean_priority_restore_irmc_bios_config``, which"}],"source_content_type":"text/x-yaml","patch_set":12,"id":"3f1d235d_ae26c4b6","line":5,"updated":"2017-06-30 08:23:13.000000000","message":"nit: would be nice to mention the driver/hardware type","commit_id":"e7664a161d3a99d5ddd351489910d535bdec3752"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"54e4d2e3d3e1a4d015d7c297bb6d90786b04f4ca","unresolved":false,"context_lines":[{"line_number":9,"context_line":"    enables setting priority for the clean step. Default value for"},{"line_number":10,"context_line":"    this option is 0, which means the clean step is disabled."},{"line_number":11,"context_line":"deprecations:"},{"line_number":12,"context_line":"  - Deprecates the boot interface ``pxe`` from using with hardware type"},{"line_number":13,"context_line":"    ``irmc``. It is recommended for operator to switch to use the boot"},{"line_number":14,"context_line":"    iterface ``irmc-pxe`` as soon as possible. Using the interface"},{"line_number":15,"context_line":"    ``pxe`` with ``irmc`` drivers will cause the reset bios feature"},{"line_number":16,"context_line":"    not to work even the priority option is set to enable."}],"source_content_type":"text/x-yaml","patch_set":12,"id":"3f1d235d_c459dffe","line":13,"range":{"start_line":12,"start_character":4,"end_line":13,"end_character":13},"updated":"2017-06-30 09:26:38.000000000","message":"I think it would be useful to explicitly mention that support for \u0027\u0027pxe\u0027\u0027 boot interface with \u0027\u0027irmc\u0027\u0027 hardware type would be removed in \u0027Queens\u0027 release.","commit_id":"e7664a161d3a99d5ddd351489910d535bdec3752"},{"author":{"_account_id":18320,"name":"Dao Cong Tien","email":"tiendc@vn.fujitsu.com","username":"TienDC"},"change_message_id":"79a6176a98ed0bf95602948101ead9792406d159","unresolved":false,"context_lines":[{"line_number":9,"context_line":"    enables setting priority for the clean step. Default value for"},{"line_number":10,"context_line":"    this option is 0, which means the clean step is disabled."},{"line_number":11,"context_line":"deprecations:"},{"line_number":12,"context_line":"  - Deprecates the boot interface ``pxe`` from using with hardware type"},{"line_number":13,"context_line":"    ``irmc``. It is recommended for operator to switch to use the boot"},{"line_number":14,"context_line":"    iterface ``irmc-pxe`` as soon as possible. Using the interface"},{"line_number":15,"context_line":"    ``pxe`` with ``irmc`` drivers will cause the reset bios feature"},{"line_number":16,"context_line":"    not to work even the priority option is set to enable."}],"source_content_type":"text/x-yaml","patch_set":12,"id":"3f1d235d_a92fa99f","line":13,"range":{"start_line":12,"start_character":4,"end_line":13,"end_character":13},"in_reply_to":"3f1d235d_c459dffe","updated":"2017-07-03 12:35:47.000000000","message":"I\u0027ve talked to my manager, and currently, we don\u0027t have a plan to remove support for pxe in one or two cycles. So, please accept this for now.","commit_id":"e7664a161d3a99d5ddd351489910d535bdec3752"}],"setup.cfg":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"132c2752e359e754bd64dbfc32e980347877be73","unresolved":false,"context_lines":[{"line_number":95,"context_line":"    iscsi \u003d ironic.drivers.modules.iscsi_deploy:ISCSIDeploy"},{"line_number":96,"context_line":"    fake \u003d ironic.drivers.modules.fake:FakeDeploy"},{"line_number":97,"context_line":"    irmc-direct \u003d ironic.drivers.modules.irmc.deploy:IRMCAgentDeploy"},{"line_number":98,"context_line":"    irmc-iscsi \u003d ironic.drivers.modules.irmc.deploy:IRMCISCSIDeploy"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"ironic.hardware.interfaces.inspect \u003d"},{"line_number":101,"context_line":"    fake \u003d ironic.drivers.modules.fake:FakeInspect"}],"source_content_type":"text/x-ttcn-cfg","patch_set":5,"id":"9ff52f3f_f24729bc","line":98,"updated":"2017-04-13 10:06:24.000000000","message":"as I mentioned above, this is a no-go. please move the functionality to the boot or management interface","commit_id":"b85ac92f1d19284ecce7faac32b6b4314a09a35c"}]}
