)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"0aac10cfef4532f2bb70437db543d6c9c0438ec7","unresolved":false,"context_lines":[{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Two new configuration options were added to the [agent] group:"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"* halt_node_on_deploy - Whether tell the agent to halt the"},{"line_number":18,"context_line":"  machines instead instead of powering them off when finishing the"},{"line_number":19,"context_line":"  deployment. Defaults to False."},{"line_number":20,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"3afc51ec_c84ef5c0","line":17,"updated":"2016-03-11 17:28:54.000000000","message":"Shoudn\u0027t this be more like \"force_bmc_power_off\" or something similar? I don\u0027t think this option name accurate reflects what it\u0027s being used for.","commit_id":"04807454d9d8b92b544bbf8a05fbb3d071cd516a"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"eec62943f14146ce41ad27b7bc81a9614a1e13db","unresolved":false,"context_lines":[{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Two new configuration options were added to the [agent] group:"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"* halt_node_on_deploy - Whether tell the agent to halt the"},{"line_number":18,"context_line":"  machines instead instead of powering them off when finishing the"},{"line_number":19,"context_line":"  deployment. Defaults to False."},{"line_number":20,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"3afc51ec_23cfbab1","line":17,"in_reply_to":"3afc51ec_c84ef5c0","updated":"2016-03-11 17:38:32.000000000","message":"Thanks yeah...\n\nAs discussed in the IRC, I won\u0027t halt at all instead we will have an command for IPA that does flush the data to the disk that Ironic will call. Thanks for the suggestion!\n\nIRC logs: http://paste.openstack.org/show/490204/","commit_id":"04807454d9d8b92b544bbf8a05fbb3d071cd516a"}],"doc/source/drivers/ipa.rst":[{"author":{"_account_id":13362,"name":"Tan Lin","email":"lin.tan@intel.com","username":"zero"},"change_message_id":"ddc9a6b087a128a1b59a45fdf9b8979dff11c5b0","unresolved":false,"context_lines":[{"line_number":117,"context_line":"ramdisk to power itself off."},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"Some hardware may have a problem with the default approach and would"},{"line_number":120,"context_line":"require Ironic to talk directly to the manager controller (BMC)"},{"line_number":121,"context_line":"to switch the power off and on again. In order to tell Ironic to do"},{"line_number":122,"context_line":"that you have to update the node\u0027s ``driver_info`` field and set the"},{"line_number":123,"context_line":"``oob_power_off_on_deploy`` parameter with the value of **True**. For"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1af94dfe_50e6e7b4","line":120,"range":{"start_line":120,"start_character":58,"end_line":120,"end_character":63},"updated":"2016-03-16 09:43:25.000000000","message":"out-of-band don\u0027t have to be BMC, we have many vendors platforms now. BMC could be an example","commit_id":"c534cf8c5ba7b422adf5c61a7a933d0c894f7dd9"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"33601858ee80f1345aec1f71c19c91252f5d4d48","unresolved":false,"context_lines":[{"line_number":117,"context_line":"ramdisk to power itself off."},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"Some hardware may have a problem with the default approach and would"},{"line_number":120,"context_line":"require Ironic to talk directly to the manager controller (BMC)"},{"line_number":121,"context_line":"to switch the power off and on again. In order to tell Ironic to do"},{"line_number":122,"context_line":"that you have to update the node\u0027s ``driver_info`` field and set the"},{"line_number":123,"context_line":"``oob_power_off_on_deploy`` parameter with the value of **True**. For"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1af94dfe_f3f61dd6","line":120,"range":{"start_line":120,"start_character":58,"end_line":120,"end_character":63},"in_reply_to":"1af94dfe_50e6e7b4","updated":"2016-03-16 09:49:17.000000000","message":"Yeah, I added it because of the \"manager controller\" but yes, it doesn\u0027t need to be a BMC. Thanks, I will fix it","commit_id":"c534cf8c5ba7b422adf5c61a7a933d0c894f7dd9"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"6c698bbdc6b3c40ca5e5298a33d5ac45e046c17c","unresolved":false,"context_lines":[{"line_number":117,"context_line":"ramdisk to power itself off."},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"Some hardware may have a problem with the default approach and"},{"line_number":120,"context_line":"would require Ironic to talk directly to the manager controller to"},{"line_number":121,"context_line":"switch the power off and on again. In order to tell Ironic to do"},{"line_number":122,"context_line":"that you have to update the node\u0027s ``driver_info`` field and set the"},{"line_number":123,"context_line":"``oob_power_off_on_deploy`` parameter with the value of **True**. For"}],"source_content_type":"text/x-rst","patch_set":8,"id":"1af94dfe_d69e6ab7","line":120,"updated":"2016-03-16 11:54:06.000000000","message":"nit - s/manager/management","commit_id":"336ba68226c787bdc142afa32d0e5f10f393a20b"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"d4b5573f57e406b984081a5333173d1c5c4dc68a","unresolved":false,"context_lines":[{"line_number":117,"context_line":"ramdisk to power itself off."},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"Some hardware may have a problem with the default approach and"},{"line_number":120,"context_line":"would require Ironic to talk directly to the manager controller to"},{"line_number":121,"context_line":"switch the power off and on again. In order to tell Ironic to do"},{"line_number":122,"context_line":"that you have to update the node\u0027s ``driver_info`` field and set the"},{"line_number":123,"context_line":"``oob_power_off_on_deploy`` parameter with the value of **True**. For"}],"source_content_type":"text/x-rst","patch_set":8,"id":"1af94dfe_9f698ec1","line":120,"in_reply_to":"1af94dfe_d69e6ab7","updated":"2016-03-16 13:51:14.000000000","message":"Done","commit_id":"336ba68226c787bdc142afa32d0e5f10f393a20b"}],"ironic/drivers/modules/agent_base_vendor.py":[{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"6290357a90b01b22f86698264b55c7ae235a5eef","unresolved":false,"context_lines":[{"line_number":54,"context_line":"               default\u003d5,"},{"line_number":55,"context_line":"               help\u003d_(\u0027Amount of time (in seconds) to wait between polling \u0027"},{"line_number":56,"context_line":"                      \u0027power state after trigger soft poweroff.\u0027)),"},{"line_number":57,"context_line":"    cfg.BoolOpt(\u0027force_power_off_on_deploy\u0027,"},{"line_number":58,"context_line":"                default\u003dFalse,"},{"line_number":59,"context_line":"                help\u003d_(\u0027Whether Ironic should force a power off on the node \u0027"},{"line_number":60,"context_line":"                       \u0027as part of the deployment or wait the node to power \u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"3afc51ec_27601801","line":57,"updated":"2016-03-14 16:28:29.000000000","message":"Maybe oob_power_off_on_deploy -- I don\u0027t think this config variable+description would be adequate for an operator to know what this does.","commit_id":"c6ca047b564496f27ea228bd8b790e3a7301c137"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"0daa20c87553d0c7e7b8910335fa1082d4daf6c1","unresolved":false,"context_lines":[{"line_number":54,"context_line":"               default\u003d5,"},{"line_number":55,"context_line":"               help\u003d_(\u0027Amount of time (in seconds) to wait between polling \u0027"},{"line_number":56,"context_line":"                      \u0027power state after trigger soft poweroff.\u0027)),"},{"line_number":57,"context_line":"    cfg.BoolOpt(\u0027force_power_off_on_deploy\u0027,"},{"line_number":58,"context_line":"                default\u003dFalse,"},{"line_number":59,"context_line":"                help\u003d_(\u0027Whether Ironic should force a power off on the node \u0027"},{"line_number":60,"context_line":"                       \u0027as part of the deployment or wait the node to power \u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"3afc51ec_5217e0ec","line":57,"in_reply_to":"3afc51ec_27601801","updated":"2016-03-14 16:31:54.000000000","message":"Yeah, naming is hard :-( \"oob_power_off_on_deploy\" sounds good to me.\n\n\"There are only two hard things in Computer Science: cache invalidation and naming things.\" -- Phil Karlton","commit_id":"c6ca047b564496f27ea228bd8b790e3a7301c137"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"6faa1d492b6e526cca87156351a58c108cacf04b","unresolved":false,"context_lines":[{"line_number":54,"context_line":"               default\u003d5,"},{"line_number":55,"context_line":"               help\u003d_(\u0027Amount of time (in seconds) to wait between polling \u0027"},{"line_number":56,"context_line":"                      \u0027power state after trigger soft poweroff.\u0027)),"},{"line_number":57,"context_line":"    cfg.BoolOpt(\u0027force_power_off_on_deploy\u0027,"},{"line_number":58,"context_line":"                default\u003dFalse,"},{"line_number":59,"context_line":"                help\u003d_(\u0027Whether Ironic should force a power off on the node \u0027"},{"line_number":60,"context_line":"                       \u0027as part of the deployment or wait the node to power \u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"3afc51ec_72f49c85","line":57,"in_reply_to":"3afc51ec_5217e0ec","updated":"2016-03-14 16:36:42.000000000","message":"Suggestion for help string:\n\n\"Whether Ironic should power off a node via out of band instead of in band methods after deployment; defaults to False.\"","commit_id":"c6ca047b564496f27ea228bd8b790e3a7301c137"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"878101e28efa97ba5731fc066a53845dfaffdfeb","unresolved":false,"context_lines":[{"line_number":54,"context_line":"               default\u003d5,"},{"line_number":55,"context_line":"               help\u003d_(\u0027Amount of time (in seconds) to wait between polling \u0027"},{"line_number":56,"context_line":"                      \u0027power state after trigger soft poweroff.\u0027)),"},{"line_number":57,"context_line":"    cfg.BoolOpt(\u0027force_power_off_on_deploy\u0027,"},{"line_number":58,"context_line":"                default\u003dFalse,"},{"line_number":59,"context_line":"                help\u003d_(\u0027Whether Ironic should force a power off on the node \u0027"},{"line_number":60,"context_line":"                       \u0027as part of the deployment or wait the node to power \u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"3afc51ec_b29624ee","line":57,"in_reply_to":"3afc51ec_72f49c85","updated":"2016-03-14 16:40:23.000000000","message":"Thanks for the suggestion! I will update the patch","commit_id":"c6ca047b564496f27ea228bd8b790e3a7301c137"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"6290357a90b01b22f86698264b55c7ae235a5eef","unresolved":false,"context_lines":[{"line_number":701,"context_line":"                    _wait_until_powered_off(task)"},{"line_number":702,"context_line":"                except Exception as e:"},{"line_number":703,"context_line":"                    LOG.warning("},{"line_number":704,"context_line":"                        _LW(\u0027Failed to soft power off node %(node_uuid)s \u0027"},{"line_number":705,"context_line":"                            \u0027in at least %(timeout)d seconds. \u0027"},{"line_number":706,"context_line":"                            \u0027Error: %(error)s\u0027),"},{"line_number":707,"context_line":"                        {\u0027node_uuid\u0027: node.uuid,"}],"source_content_type":"text/x-python","patch_set":2,"id":"3afc51ec_a719c88a","line":704,"updated":"2016-03-14 16:28:29.000000000","message":"I really dislike calling this \"soft\", what it does in the agent is very much not soft in the way it\u0027s implemented today.","commit_id":"c6ca047b564496f27ea228bd8b790e3a7301c137"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"0daa20c87553d0c7e7b8910335fa1082d4daf6c1","unresolved":false,"context_lines":[{"line_number":701,"context_line":"                    _wait_until_powered_off(task)"},{"line_number":702,"context_line":"                except Exception as e:"},{"line_number":703,"context_line":"                    LOG.warning("},{"line_number":704,"context_line":"                        _LW(\u0027Failed to soft power off node %(node_uuid)s \u0027"},{"line_number":705,"context_line":"                            \u0027in at least %(timeout)d seconds. \u0027"},{"line_number":706,"context_line":"                            \u0027Error: %(error)s\u0027),"},{"line_number":707,"context_line":"                        {\u0027node_uuid\u0027: node.uuid,"}],"source_content_type":"text/x-python","patch_set":2,"id":"3afc51ec_d245b017","line":704,"in_reply_to":"3afc51ec_a719c88a","updated":"2016-03-14 16:31:54.000000000","message":"Yeah, I would prefer to not touch it in this patch tho because it\u0027s out of the scope. We can address the soft/hard in a following patch, perhaps even changing it in IPA. What you think?","commit_id":"c6ca047b564496f27ea228bd8b790e3a7301c137"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"b60c33d0b752a3701333bd8ab029d528d927b0c3","unresolved":false,"context_lines":[{"line_number":701,"context_line":"                    _wait_until_powered_off(task)"},{"line_number":702,"context_line":"                except Exception as e:"},{"line_number":703,"context_line":"                    LOG.warning("},{"line_number":704,"context_line":"                        _LW(\u0027Failed to soft power off node %(node_uuid)s \u0027"},{"line_number":705,"context_line":"                            \u0027in at least %(timeout)d seconds. \u0027"},{"line_number":706,"context_line":"                            \u0027Error: %(error)s\u0027),"},{"line_number":707,"context_line":"                        {\u0027node_uuid\u0027: node.uuid,"}],"source_content_type":"text/x-python","patch_set":2,"id":"3afc51ec_524b60b0","line":704,"in_reply_to":"3afc51ec_b2de240f","updated":"2016-03-14 16:38:58.000000000","message":"lol\n\nIndeed... well the fact that you also do a sync with sysrq may explain it. The data get\u0027s flushed to the disk (tho it\u0027s async) prior to it reboot.\n\nAlso, the write_image.sh script calls \"sync\" at the end [0]\n\n[0] https://github.com/openstack/ironic-python-agent/blob/master/ironic_python_agent/shell/write_image.sh#L43","commit_id":"c6ca047b564496f27ea228bd8b790e3a7301c137"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"6faa1d492b6e526cca87156351a58c108cacf04b","unresolved":false,"context_lines":[{"line_number":701,"context_line":"                    _wait_until_powered_off(task)"},{"line_number":702,"context_line":"                except Exception as e:"},{"line_number":703,"context_line":"                    LOG.warning("},{"line_number":704,"context_line":"                        _LW(\u0027Failed to soft power off node %(node_uuid)s \u0027"},{"line_number":705,"context_line":"                            \u0027in at least %(timeout)d seconds. \u0027"},{"line_number":706,"context_line":"                            \u0027Error: %(error)s\u0027),"},{"line_number":707,"context_line":"                        {\u0027node_uuid\u0027: node.uuid,"}],"source_content_type":"text/x-python","patch_set":2,"id":"3afc51ec_b2de240f","line":704,"in_reply_to":"3afc51ec_d245b017","updated":"2016-03-14 16:36:42.000000000","message":"Yep; fully aware this already exists and am fine with it staying as such. I just am surprised we don\u0027t have an army of angry people with data loss given we\u0027ve called this \u0027soft\u0027 for so long when it\u0027s not :P.","commit_id":"c6ca047b564496f27ea228bd8b790e3a7301c137"},{"author":{"_account_id":6610,"name":"Zhenguo Niu","email":"Niu.ZGlinux@gmail.com","username":"niu-zglinux"},"change_message_id":"6280f50b2d0fe9bc74706c515d06383dc766b788","unresolved":false,"context_lines":[{"line_number":83,"context_line":"POST_CLEAN_STEP_HOOKS \u003d {}"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"VENDOR_PROPERTIES \u003d {"},{"line_number":86,"context_line":"    \u0027oob_power_off_on_deploy\u0027: _(\u0027Whether the node node should be powered \u0027"},{"line_number":87,"context_line":"                                 \u0027off via out-of-band instead of in-band \u0027"},{"line_number":88,"context_line":"                                 \u0027methods after deployment; defaults to \u0027"},{"line_number":89,"context_line":"                                 \u0027False. Optional\u0027)"}],"source_content_type":"text/x-python","patch_set":7,"id":"1af94dfe_32eecd22","line":86,"range":{"start_line":86,"start_character":50,"end_line":86,"end_character":55},"updated":"2016-03-16 04:22:40.000000000","message":"nit: duplicate \u0027node\u0027","commit_id":"c534cf8c5ba7b422adf5c61a7a933d0c894f7dd9"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"0f9995065236952a34c617b155ded73fa07055b2","unresolved":false,"context_lines":[{"line_number":83,"context_line":"POST_CLEAN_STEP_HOOKS \u003d {}"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"VENDOR_PROPERTIES \u003d {"},{"line_number":86,"context_line":"    \u0027oob_power_off_on_deploy\u0027: _(\u0027Whether the node node should be powered \u0027"},{"line_number":87,"context_line":"                                 \u0027off via out-of-band instead of in-band \u0027"},{"line_number":88,"context_line":"                                 \u0027methods after deployment; defaults to \u0027"},{"line_number":89,"context_line":"                                 \u0027False. Optional\u0027)"}],"source_content_type":"text/x-python","patch_set":7,"id":"1af94dfe_bdbbc471","line":86,"range":{"start_line":86,"start_character":50,"end_line":86,"end_character":55},"in_reply_to":"1af94dfe_32eecd22","updated":"2016-03-16 09:21:06.000000000","message":":-( indeed, will fix it","commit_id":"c534cf8c5ba7b422adf5c61a7a933d0c894f7dd9"},{"author":{"_account_id":6610,"name":"Zhenguo Niu","email":"Niu.ZGlinux@gmail.com","username":"niu-zglinux"},"change_message_id":"6280f50b2d0fe9bc74706c515d06383dc766b788","unresolved":false,"context_lines":[{"line_number":714,"context_line":"                # Flush the file system prior to hard rebooting the node"},{"line_number":715,"context_line":"                result \u003d self._client.sync(node)"},{"line_number":716,"context_line":"                error \u003d result.get(\u0027faultstring\u0027)"},{"line_number":717,"context_line":"                if error is not None and \u0027Unknown command\u0027 in error:"},{"line_number":718,"context_line":"                    LOG.warning(_LW("},{"line_number":719,"context_line":"                        \u0027Failed to flush the file system prior to hard \u0027"},{"line_number":720,"context_line":"                        \u0027rebooting the node %s. The version of the IPA \u0027"}],"source_content_type":"text/x-python","patch_set":7,"id":"1af94dfe_51c6f667","line":717,"range":{"start_line":717,"start_character":41,"end_line":717,"end_character":57},"updated":"2016-03-16 04:22:40.000000000","message":"should we also log a warning if result[\u0027command_status\u0027] is \u0027FAILED\u0027?","commit_id":"c534cf8c5ba7b422adf5c61a7a933d0c894f7dd9"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"0f9995065236952a34c617b155ded73fa07055b2","unresolved":false,"context_lines":[{"line_number":714,"context_line":"                # Flush the file system prior to hard rebooting the node"},{"line_number":715,"context_line":"                result \u003d self._client.sync(node)"},{"line_number":716,"context_line":"                error \u003d result.get(\u0027faultstring\u0027)"},{"line_number":717,"context_line":"                if error is not None and \u0027Unknown command\u0027 in error:"},{"line_number":718,"context_line":"                    LOG.warning(_LW("},{"line_number":719,"context_line":"                        \u0027Failed to flush the file system prior to hard \u0027"},{"line_number":720,"context_line":"                        \u0027rebooting the node %s. The version of the IPA \u0027"}],"source_content_type":"text/x-python","patch_set":7,"id":"1af94dfe_3d7fb4ab","line":717,"range":{"start_line":717,"start_character":41,"end_line":717,"end_character":57},"in_reply_to":"1af94dfe_51c6f667","updated":"2016-03-16 09:21:06.000000000","message":"++","commit_id":"c534cf8c5ba7b422adf5c61a7a933d0c894f7dd9"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"6c698bbdc6b3c40ca5e5298a33d5ac45e046c17c","unresolved":false,"context_lines":[{"line_number":695,"context_line":"        node \u003d task.node"},{"line_number":696,"context_line":"        # Whether ironic should power off the node via out-of-band or"},{"line_number":697,"context_line":"        # in-band methods"},{"line_number":698,"context_line":"        oob_power_off \u003d node.driver_info.get(\u0027oob_power_off_on_deploy\u0027, False)"},{"line_number":699,"context_line":""},{"line_number":700,"context_line":"        try:"},{"line_number":701,"context_line":"            if not oob_power_off:"}],"source_content_type":"text/x-python","patch_set":8,"id":"1af94dfe_f65e06e8","line":698,"updated":"2016-03-16 11:54:06.000000000","message":"Maybe worth using strutils.bool_from_string, just in case if a string was passed.","commit_id":"336ba68226c787bdc142afa32d0e5f10f393a20b"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"d4b5573f57e406b984081a5333173d1c5c4dc68a","unresolved":false,"context_lines":[{"line_number":695,"context_line":"        node \u003d task.node"},{"line_number":696,"context_line":"        # Whether ironic should power off the node via out-of-band or"},{"line_number":697,"context_line":"        # in-band methods"},{"line_number":698,"context_line":"        oob_power_off \u003d node.driver_info.get(\u0027oob_power_off_on_deploy\u0027, False)"},{"line_number":699,"context_line":""},{"line_number":700,"context_line":"        try:"},{"line_number":701,"context_line":"            if not oob_power_off:"}],"source_content_type":"text/x-python","patch_set":8,"id":"1af94dfe_9fb06e45","line":698,"in_reply_to":"1af94dfe_f65e06e8","updated":"2016-03-16 13:51:14.000000000","message":"That\u0027s a good call, agreed!","commit_id":"336ba68226c787bdc142afa32d0e5f10f393a20b"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"af8abe6d1b84f97aea419a185485ad22f67741ab","unresolved":false,"context_lines":[{"line_number":84,"context_line":"POST_CLEAN_STEP_HOOKS \u003d {}"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"VENDOR_PROPERTIES \u003d {"},{"line_number":87,"context_line":"    \u0027oob_power_off_on_deploy\u0027: _(\u0027Whether the node should be powered off via \u0027"},{"line_number":88,"context_line":"                                 \u0027out-of-band instead of in-band methods \u0027"},{"line_number":89,"context_line":"                                 \u0027after deployment; defaults to False. \u0027"},{"line_number":90,"context_line":"                                 \u0027Optional\u0027)"}],"source_content_type":"text/x-python","patch_set":9,"id":"1af94dfe_c013200c","line":87,"updated":"2016-03-16 19:53:33.000000000","message":"for consistency with other driver properties, I would suggest renaming this option to begin with the word \"deploy\". Eg, \"deploy_forces_reboot\"\n\nI would also change the help string to be more concise and to include a note about compatibility, eg:\n\n  Whether Ironic should force a reboot of the Node via the\n  out-of-band channel after deployment is complete. Provides compatiblity\n  with older deploy ramdisks. Defaults to False. Optional.","commit_id":"740e329156a526e838044b01887b75c39eca9b66"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"8bddece6aa04273aa154a3f1908ebdd01f8e1c90","unresolved":false,"context_lines":[{"line_number":84,"context_line":"POST_CLEAN_STEP_HOOKS \u003d {}"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"VENDOR_PROPERTIES \u003d {"},{"line_number":87,"context_line":"    \u0027oob_power_off_on_deploy\u0027: _(\u0027Whether the node should be powered off via \u0027"},{"line_number":88,"context_line":"                                 \u0027out-of-band instead of in-band methods \u0027"},{"line_number":89,"context_line":"                                 \u0027after deployment; defaults to False. \u0027"},{"line_number":90,"context_line":"                                 \u0027Optional\u0027)"}],"source_content_type":"text/x-python","patch_set":9,"id":"fa0719c6_279a1915","line":87,"in_reply_to":"1af94dfe_4d07f217","updated":"2016-03-21 17:12:04.000000000","message":"#2 makes the most sense to me, quickly followed by #3","commit_id":"740e329156a526e838044b01887b75c39eca9b66"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"4b38732caa098df349e3691c5eb70329d17a2dd8","unresolved":false,"context_lines":[{"line_number":84,"context_line":"POST_CLEAN_STEP_HOOKS \u003d {}"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"VENDOR_PROPERTIES \u003d {"},{"line_number":87,"context_line":"    \u0027oob_power_off_on_deploy\u0027: _(\u0027Whether the node should be powered off via \u0027"},{"line_number":88,"context_line":"                                 \u0027out-of-band instead of in-band methods \u0027"},{"line_number":89,"context_line":"                                 \u0027after deployment; defaults to False. \u0027"},{"line_number":90,"context_line":"                                 \u0027Optional\u0027)"}],"source_content_type":"text/x-python","patch_set":9,"id":"1af94dfe_4d07f217","line":87,"in_reply_to":"1af94dfe_58e06096","updated":"2016-03-18 09:47:36.000000000","message":"I agree with both points raised here (deva\u0027s and Jay\u0027s). And naming is hard, what about\n\n1. deploy_forces_external_reboot\n2. deploy_forces_oob_reboot\n3. deploy_forces_hard_reboot\n\n?","commit_id":"740e329156a526e838044b01887b75c39eca9b66"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"9e682812fba3cab6de5aa282d6ae027a80bce2d8","unresolved":false,"context_lines":[{"line_number":84,"context_line":"POST_CLEAN_STEP_HOOKS \u003d {}"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"VENDOR_PROPERTIES \u003d {"},{"line_number":87,"context_line":"    \u0027oob_power_off_on_deploy\u0027: _(\u0027Whether the node should be powered off via \u0027"},{"line_number":88,"context_line":"                                 \u0027out-of-band instead of in-band methods \u0027"},{"line_number":89,"context_line":"                                 \u0027after deployment; defaults to False. \u0027"},{"line_number":90,"context_line":"                                 \u0027Optional\u0027)"}],"source_content_type":"text/x-python","patch_set":9,"id":"1af94dfe_58e06096","line":87,"in_reply_to":"1af94dfe_6ac01ee1","updated":"2016-03-17 23:43:12.000000000","message":"I understand not wanting to put oob in here, but I think there should be something indicating that the *conductor* is doing the power off. deploy_forces_reboot doesn\u0027t tell that story well, IMO.\n\nI don\u0027t have a better suggestion (as this one was literally my exact suggestion, heh).","commit_id":"740e329156a526e838044b01887b75c39eca9b66"},{"author":{"_account_id":13362,"name":"Tan Lin","email":"lin.tan@intel.com","username":"zero"},"change_message_id":"b7b73ffdbc166b76f6d755b5caf358bd57ddb0f2","unresolved":false,"context_lines":[{"line_number":84,"context_line":"POST_CLEAN_STEP_HOOKS \u003d {}"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"VENDOR_PROPERTIES \u003d {"},{"line_number":87,"context_line":"    \u0027oob_power_off_on_deploy\u0027: _(\u0027Whether the node should be powered off via \u0027"},{"line_number":88,"context_line":"                                 \u0027out-of-band instead of in-band methods \u0027"},{"line_number":89,"context_line":"                                 \u0027after deployment; defaults to False. \u0027"},{"line_number":90,"context_line":"                                 \u0027Optional\u0027)"}],"source_content_type":"text/x-python","patch_set":9,"id":"1af94dfe_6ac01ee1","line":87,"in_reply_to":"1af94dfe_c013200c","updated":"2016-03-17 02:26:11.000000000","message":"Agree on a better name, it makes me confused about the name too.","commit_id":"740e329156a526e838044b01887b75c39eca9b66"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"58087673ce757cfb55f95fb1c7706310598480b5","unresolved":false,"context_lines":[{"line_number":84,"context_line":"POST_CLEAN_STEP_HOOKS \u003d {}"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"VENDOR_PROPERTIES \u003d {"},{"line_number":87,"context_line":"    \u0027oob_power_off_on_deploy\u0027: _(\u0027Whether the node should be powered off via \u0027"},{"line_number":88,"context_line":"                                 \u0027out-of-band instead of in-band methods \u0027"},{"line_number":89,"context_line":"                                 \u0027after deployment; defaults to False. \u0027"},{"line_number":90,"context_line":"                                 \u0027Optional\u0027)"}],"source_content_type":"text/x-python","patch_set":9,"id":"fa0719c6_c7251dc3","line":87,"in_reply_to":"fa0719c6_279a1915","updated":"2016-03-21 17:14:23.000000000","message":"#2 looks fine to me. It conveys intended OOB in it.","commit_id":"740e329156a526e838044b01887b75c39eca9b66"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"7bb021f96e3cf4317ca3b0e4d74e70237433e139","unresolved":false,"context_lines":[{"line_number":84,"context_line":"POST_CLEAN_STEP_HOOKS \u003d {}"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"VENDOR_PROPERTIES \u003d {"},{"line_number":87,"context_line":"    \u0027oob_power_off_on_deploy\u0027: _(\u0027Whether the node should be powered off via \u0027"},{"line_number":88,"context_line":"                                 \u0027out-of-band instead of in-band methods \u0027"},{"line_number":89,"context_line":"                                 \u0027after deployment; defaults to False. \u0027"},{"line_number":90,"context_line":"                                 \u0027Optional\u0027)"}],"source_content_type":"text/x-python","patch_set":9,"id":"fa0719c6_429bbbc9","line":87,"in_reply_to":"fa0719c6_c7251dc3","updated":"2016-03-21 17:17:36.000000000","message":"Thank you all!\n\nWe had a quick vote about the name here in the upstream meeting today and #2 seems to be the winner. I will update the patch soon\n\nhttp://eavesdrop.openstack.org/meetings/ironic/2016/ironic.2016-03-21-17.00.log.html","commit_id":"740e329156a526e838044b01887b75c39eca9b66"},{"author":{"_account_id":5805,"name":"Chris Krelle","email":"nobodycam@gmail.com","username":"nobodycam"},"change_message_id":"6c1bb769167297bda2a3231c4fb7c1fc412f0fcd","unresolved":false,"context_lines":[{"line_number":85,"context_line":""},{"line_number":86,"context_line":"VENDOR_PROPERTIES \u003d {"},{"line_number":87,"context_line":"    \u0027deploy_forces_oob_reboot\u0027: _("},{"line_number":88,"context_line":"        \u0027Whether Ironic should force a reboot of the Node via the out-of-band \u0027"},{"line_number":89,"context_line":"        \u0027channel after deployment is complete. Provides compatiblity with \u0027"},{"line_number":90,"context_line":"        \u0027older deploy ramdisks. Defaults to False. Optional.\u0027)"},{"line_number":91,"context_line":"}"}],"source_content_type":"text/x-python","patch_set":10,"id":"fa0719c6_81780091","line":88,"range":{"start_line":88,"start_character":53,"end_line":88,"end_character":54},"updated":"2016-03-22 16:37:33.000000000","message":"nit: s/N/n/","commit_id":"824ad1676bd8032fb4a4eb8ffc7625a376a64371"}],"ironic/drivers/modules/iscsi_deploy.py":[{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"6c698bbdc6b3c40ca5e5298a33d5ac45e046c17c","unresolved":false,"context_lines":[{"line_number":808,"context_line":"            task, manage_boot\u003dTrue)"},{"line_number":809,"context_line":""},{"line_number":810,"context_line":""},{"line_number":811,"context_line":"class VendorPassthru(agent_base_vendor.BaseAgentVendor):"},{"line_number":812,"context_line":"    \"\"\"Interface to mix IPMI and PXE vendor-specific interfaces.\"\"\""},{"line_number":813,"context_line":""},{"line_number":814,"context_line":"    def validate(self, task, method, **kwargs):"}],"source_content_type":"text/x-python","patch_set":8,"id":"1af94dfe_1610d2a7","line":811,"updated":"2016-03-16 11:54:06.000000000","message":"ilo.vendor.VendorPassthru also overrides get_properties, should it be removed too?","commit_id":"336ba68226c787bdc142afa32d0e5f10f393a20b"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"d4b5573f57e406b984081a5333173d1c5c4dc68a","unresolved":false,"context_lines":[{"line_number":808,"context_line":"            task, manage_boot\u003dTrue)"},{"line_number":809,"context_line":""},{"line_number":810,"context_line":""},{"line_number":811,"context_line":"class VendorPassthru(agent_base_vendor.BaseAgentVendor):"},{"line_number":812,"context_line":"    \"\"\"Interface to mix IPMI and PXE vendor-specific interfaces.\"\"\""},{"line_number":813,"context_line":""},{"line_number":814,"context_line":"    def validate(self, task, method, **kwargs):"}],"source_content_type":"text/x-python","patch_set":8,"id":"1af94dfe_3fe15aff","line":811,"in_reply_to":"1af94dfe_1610d2a7","updated":"2016-03-16 13:51:14.000000000","message":"Oh yeah I see it\u0027s inheriting from the this class, so I think it should not overwrite properties indeed.\n\nI will do it","commit_id":"336ba68226c787bdc142afa32d0e5f10f393a20b"}],"ironic/tests/unit/drivers/modules/test_agent_base_vendor.py":[{"author":{"_account_id":5805,"name":"Chris Krelle","email":"nobodycam@gmail.com","username":"nobodycam"},"change_message_id":"6c1bb769167297bda2a3231c4fb7c1fc412f0fcd","unresolved":false,"context_lines":[{"line_number":731,"context_line":"                task, states.REBOOT)"},{"line_number":732,"context_line":"            self.assertEqual(states.ACTIVE, task.node.provision_state)"},{"line_number":733,"context_line":"            self.assertEqual(states.NOSTATE, task.node.target_provision_state)"},{"line_number":734,"context_line":"            log_error \u003d (\u0027The version of the IPA ramdisk used in the \u0027"},{"line_number":735,"context_line":"                         \u0027deployment do not support the command \"sync\"\u0027)"},{"line_number":736,"context_line":"            log_mock.assert_called_once_with("},{"line_number":737,"context_line":"                \u0027Failed to flush the file system prior to hard rebooting the \u0027"}],"source_content_type":"text/x-python","patch_set":10,"id":"fa0719c6_f8d24dd1","line":734,"range":{"start_line":734,"start_character":23,"end_line":734,"end_character":24},"updated":"2016-03-22 16:37:33.000000000","message":"I have not tested, but looking at https://review.openstack.org/#/c/291829/10/ironic/drivers/modules/agent_base_vendor.py could localization cause false failures here?","commit_id":"824ad1676bd8032fb4a4eb8ffc7625a376a64371"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"143e0fdc1032742a24a45b15995b78c6705aa1c5","unresolved":false,"context_lines":[{"line_number":731,"context_line":"                task, states.REBOOT)"},{"line_number":732,"context_line":"            self.assertEqual(states.ACTIVE, task.node.provision_state)"},{"line_number":733,"context_line":"            self.assertEqual(states.NOSTATE, task.node.target_provision_state)"},{"line_number":734,"context_line":"            log_error \u003d (\u0027The version of the IPA ramdisk used in the \u0027"},{"line_number":735,"context_line":"                         \u0027deployment do not support the command \"sync\"\u0027)"},{"line_number":736,"context_line":"            log_mock.assert_called_once_with("},{"line_number":737,"context_line":"                \u0027Failed to flush the file system prior to hard rebooting the \u0027"}],"source_content_type":"text/x-python","patch_set":10,"id":"fa0719c6_34678d4e","line":734,"range":{"start_line":734,"start_character":23,"end_line":734,"end_character":24},"in_reply_to":"fa0719c6_f8d24dd1","updated":"2016-03-23 09:31:04.000000000","message":"Hi Chris,\n\nNo because we force it to be english in the tests [0]\n\n[0] https://github.com/openstack/ironic/blob/master/tox.ini#L13-L14","commit_id":"824ad1676bd8032fb4a4eb8ffc7625a376a64371"}],"releasenotes/notes/oob-power-off-7bbdf5947ed24bf8.yaml":[{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"40c27d58aa84a4e393bbb63455dc3318509df279","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - Fixes a problem where some hardware/firmware (specially faulty ones)"},{"line_number":4,"context_line":"    won\u0027t come back online after an in-band power off."}],"source_content_type":"text/x-yaml","patch_set":5,"id":"1af94dfe_1312d2b4","line":2,"updated":"2016-03-15 15:58:19.000000000","message":"This doesn\u0027t really describe the new option or how to use it. Not sure if a reno is the right place for that, but as it stands this new cool option appears to be completely undocumented unless you read the code.","commit_id":"78e15a1ad6407c41963ebff2b240e8553d1bb694"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"509c7d287623a1be398b38f79e63bf009407b7e4","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - Fixes a problem where some hardware/firmware (specially faulty ones)"},{"line_number":4,"context_line":"    won\u0027t come back online after an in-band power off."}],"source_content_type":"text/x-yaml","patch_set":5,"id":"1af94dfe_81204c4b","line":2,"in_reply_to":"1af94dfe_1312d2b4","updated":"2016-03-15 16:20:20.000000000","message":"+1\nYes. Option needs to be documented in more details along with its name.","commit_id":"78e15a1ad6407c41963ebff2b240e8553d1bb694"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"879a1b0e60792fdf8fc3b556e1de45552fd97e78","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - Fixes a problem where some hardware/firmware (specially faulty ones)"},{"line_number":4,"context_line":"    won\u0027t come back online after an in-band power off."}],"source_content_type":"text/x-yaml","patch_set":5,"id":"1af94dfe_fcd29333","line":2,"in_reply_to":"1af94dfe_81204c4b","updated":"2016-03-15 16:32:48.000000000","message":"Oh indeed... I will improve this release note and add some documentation about it","commit_id":"78e15a1ad6407c41963ebff2b240e8553d1bb694"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"eeb7fefada4d67986018f0994d6ca31037b67e76","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - Fixes a problem where some hardware/firmware (specially faulty ones)"},{"line_number":4,"context_line":"    won\u0027t come back online after an in-band power off by adding a new"},{"line_number":5,"context_line":"    driver property called \"oob_power_off_on_deploy\" that can be set to"},{"line_number":6,"context_line":"    the nodes being deployed by the IPA ramdisk. If the value of this"},{"line_number":7,"context_line":"    property is True, Ironic will power cycle the node via out-of-band."}],"source_content_type":"text/x-yaml","patch_set":7,"id":"1af94dfe_e65822fd","line":4,"updated":"2016-03-16 08:29:34.000000000","message":"s/in-band power off/in-band ACPI soft power off (On many systems we can deal with BMC also in-band, clarification required).","commit_id":"c534cf8c5ba7b422adf5c61a7a933d0c894f7dd9"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"4e4b443cfc8ffbc09e6df000e3fd91ae17458ed0","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - Fixes a problem where some hardware/firmware (specially faulty ones)"},{"line_number":4,"context_line":"    won\u0027t come back online after an in-band power off by adding a new"},{"line_number":5,"context_line":"    driver property called \"oob_power_off_on_deploy\" that can be set to"},{"line_number":6,"context_line":"    the nodes being deployed by the IPA ramdisk. If the value of this"},{"line_number":7,"context_line":"    property is True, Ironic will power cycle the node via out-of-band."}],"source_content_type":"text/x-yaml","patch_set":7,"id":"1af94dfe_cbd35337","line":4,"in_reply_to":"1af94dfe_1d2638ce","updated":"2016-03-16 15:54:13.000000000","message":"I don\u0027t mind the edit but to be clear again -- the shutdown initiated via IPA (until Lucas\u0027 patch merges there) was not a soft reboot. It was more akin to how a ctrl-alt-delete is handled in most distros.","commit_id":"c534cf8c5ba7b422adf5c61a7a933d0c894f7dd9"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"0f9995065236952a34c617b155ded73fa07055b2","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - Fixes a problem where some hardware/firmware (specially faulty ones)"},{"line_number":4,"context_line":"    won\u0027t come back online after an in-band power off by adding a new"},{"line_number":5,"context_line":"    driver property called \"oob_power_off_on_deploy\" that can be set to"},{"line_number":6,"context_line":"    the nodes being deployed by the IPA ramdisk. If the value of this"},{"line_number":7,"context_line":"    property is True, Ironic will power cycle the node via out-of-band."}],"source_content_type":"text/x-yaml","patch_set":7,"id":"1af94dfe_1d2638ce","line":4,"in_reply_to":"1af94dfe_e65822fd","updated":"2016-03-16 09:21:06.000000000","message":"Done","commit_id":"c534cf8c5ba7b422adf5c61a7a933d0c894f7dd9"}]}
