)]}'
{"doc/source/http-api.rst":[{"author":{"_account_id":14525,"name":"Vasyl Saienko","email":"vsaienko@mirantis.com","username":"vsaienko"},"change_message_id":"c2465a5d468e6baeb8aa8dc03da1850196bbe6a6","unresolved":false,"context_lines":[{"line_number":26,"context_line":"  set by ``new_ipmi_password``. Defaults to current ``ipmi_username`` in"},{"line_number":27,"context_line":"  node ``driver_info`` field."},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"* ``manage_boot`` boolean value, whether to manage boot (boot device, reboot"},{"line_number":30,"context_line":"  and firewall) for a node. Defaults to true."},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"Response:"}],"source_content_type":"text/x-rst","patch_set":7,"id":"bacf61ea_67900996","line":29,"range":{"start_line":29,"start_character":70,"end_line":29,"end_character":76},"updated":"2016-08-01 13:26:51.000000000","message":"Might be better replace reboot with power.","commit_id":"84e009df3a2ffdd52ed9ea60713e77e9b59e94b3"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"4d56f8c7c8c53a8e4aafbcd2e6d871368bdc39d0","unresolved":false,"context_lines":[{"line_number":26,"context_line":"  set by ``new_ipmi_password``. Defaults to current ``ipmi_username`` in"},{"line_number":27,"context_line":"  node ``driver_info`` field."},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"* ``manage_boot`` boolean value, whether to manage boot (boot device, reboot"},{"line_number":30,"context_line":"  and firewall) for a node. Defaults to true."},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"Response:"}],"source_content_type":"text/x-rst","patch_set":7,"id":"bacf61ea_7d537817","line":29,"range":{"start_line":29,"start_character":70,"end_line":29,"end_character":76},"in_reply_to":"bacf61ea_67900996","updated":"2016-08-01 13:46:14.000000000","message":"Done","commit_id":"84e009df3a2ffdd52ed9ea60713e77e9b59e94b3"}],"ironic_inspector/introspect.py":[{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"ccb77025e57a7e97aa4acb7b42266272b28e4e7b","unresolved":false,"context_lines":[{"line_number":164,"context_line":"            LOG.debug(\u0027Boot management was not requested\u0027, node_info\u003dnode_info)"},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"        try:"},{"line_number":167,"context_line":"            ironic.node.set_power_state(node_info.uuid, \u0027reboot\u0027)"},{"line_number":168,"context_line":"        except Exception as exc:"},{"line_number":169,"context_line":"            raise utils.Error(_(\u0027Failed to power on the node, check it\\\u0027s \u0027"},{"line_number":170,"context_line":"                                \u0027power management configuration: %s\u0027),"}],"source_content_type":"text/x-python","patch_set":6,"id":"dada55a8_2fea60db","line":167,"updated":"2016-07-27 10:23:00.000000000","message":"I thought we wouldn\u0027t even be doing the power control. I thought that passing manage_boot would tell inspector that I want to control the whole of boot, including power on. E.g. the changing the above if statement to: \n\nif not node_info.options.get(\u0027new_ipmi_credentials\u0027) and node_info.manage_boot:\n\nand then its down to the XXXXInspectionInterface calling out to inspector to power on the node.","commit_id":"58f0e672108d6bb68ee7cf13180ae9c65d967bfa"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"32e090a4fd2aa1bc04554e5de133b553993e4175","unresolved":false,"context_lines":[{"line_number":164,"context_line":"            LOG.debug(\u0027Boot management was not requested\u0027, node_info\u003dnode_info)"},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"        try:"},{"line_number":167,"context_line":"            ironic.node.set_power_state(node_info.uuid, \u0027reboot\u0027)"},{"line_number":168,"context_line":"        except Exception as exc:"},{"line_number":169,"context_line":"            raise utils.Error(_(\u0027Failed to power on the node, check it\\\u0027s \u0027"},{"line_number":170,"context_line":"                                \u0027power management configuration: %s\u0027),"}],"source_content_type":"text/x-python","patch_set":6,"id":"bacf61ea_afb81d76","line":167,"in_reply_to":"dada55a8_2fea60db","updated":"2016-08-01 12:44:52.000000000","message":"Hmm, makes sense","commit_id":"58f0e672108d6bb68ee7cf13180ae9c65d967bfa"},{"author":{"_account_id":14525,"name":"Vasyl Saienko","email":"vsaienko@mirantis.com","username":"vsaienko"},"change_message_id":"c2465a5d468e6baeb8aa8dc03da1850196bbe6a6","unresolved":false,"context_lines":[{"line_number":79,"context_line":"    ir_utils.check_provision_state(node, with_credentials\u003dnew_ipmi_credentials)"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"    if new_ipmi_credentials:"},{"line_number":82,"context_line":"        new_ipmi_credentials \u003d ("},{"line_number":83,"context_line":"            _validate_ipmi_credentials(node, new_ipmi_credentials))"},{"line_number":84,"context_line":"    else:"},{"line_number":85,"context_line":"        validation \u003d ironic.node.validate(node.uuid)"}],"source_content_type":"text/x-python","patch_set":7,"id":"bacf61ea_e7aa3984","line":82,"updated":"2016-08-01 13:26:51.000000000","message":"If we are not going to manage nodes power and boot, probably there is no need to set ipmi params and validate them?","commit_id":"84e009df3a2ffdd52ed9ea60713e77e9b59e94b3"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"4d56f8c7c8c53a8e4aafbcd2e6d871368bdc39d0","unresolved":false,"context_lines":[{"line_number":79,"context_line":"    ir_utils.check_provision_state(node, with_credentials\u003dnew_ipmi_credentials)"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"    if new_ipmi_credentials:"},{"line_number":82,"context_line":"        new_ipmi_credentials \u003d ("},{"line_number":83,"context_line":"            _validate_ipmi_credentials(node, new_ipmi_credentials))"},{"line_number":84,"context_line":"    else:"},{"line_number":85,"context_line":"        validation \u003d ironic.node.validate(node.uuid)"}],"source_content_type":"text/x-python","patch_set":7,"id":"bacf61ea_4a534c39","line":82,"in_reply_to":"bacf61ea_e7aa3984","updated":"2016-08-01 13:46:14.000000000","message":"these are unrelated features, so they might be used together","commit_id":"84e009df3a2ffdd52ed9ea60713e77e9b59e94b3"},{"author":{"_account_id":14525,"name":"Vasyl Saienko","email":"vsaienko@mirantis.com","username":"vsaienko"},"change_message_id":"c2465a5d468e6baeb8aa8dc03da1850196bbe6a6","unresolved":false,"context_lines":[{"line_number":217,"context_line":"    # finish the introspection"},{"line_number":218,"context_line":"    LOG.debug(\u0027Forcing power-off\u0027, node_info\u003dnode_info)"},{"line_number":219,"context_line":"    try:"},{"line_number":220,"context_line":"        ironic.node.set_power_state(node_info.uuid, \u0027off\u0027)"},{"line_number":221,"context_line":"    except Exception as exc:"},{"line_number":222,"context_line":"        LOG.warning(_LW(\u0027Failed to power off node: %s\u0027), exc,"},{"line_number":223,"context_line":"                    node_info\u003dnode_info)"}],"source_content_type":"text/x-python","patch_set":7,"id":"bacf61ea_07f82dc2","line":220,"updated":"2016-08-01 13:26:51.000000000","message":"we should take into account manage_boot flag here during abort as well.","commit_id":"84e009df3a2ffdd52ed9ea60713e77e9b59e94b3"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"4d56f8c7c8c53a8e4aafbcd2e6d871368bdc39d0","unresolved":false,"context_lines":[{"line_number":217,"context_line":"    # finish the introspection"},{"line_number":218,"context_line":"    LOG.debug(\u0027Forcing power-off\u0027, node_info\u003dnode_info)"},{"line_number":219,"context_line":"    try:"},{"line_number":220,"context_line":"        ironic.node.set_power_state(node_info.uuid, \u0027off\u0027)"},{"line_number":221,"context_line":"    except Exception as exc:"},{"line_number":222,"context_line":"        LOG.warning(_LW(\u0027Failed to power off node: %s\u0027), exc,"},{"line_number":223,"context_line":"                    node_info\u003dnode_info)"}],"source_content_type":"text/x-python","patch_set":7,"id":"bacf61ea_3d2f4089","line":220,"in_reply_to":"bacf61ea_07f82dc2","updated":"2016-08-01 13:46:14.000000000","message":"Done","commit_id":"84e009df3a2ffdd52ed9ea60713e77e9b59e94b3"}],"ironic_inspector/main.py":[{"author":{"_account_id":13636,"name":"aarefiev","display_name":"Anton","email":"arefyevanton@gmail.com","username":"aarefiev"},"change_message_id":"26634cde94867b30a47b086e2ffd7e125123a850","unresolved":false,"context_lines":[{"line_number":200,"context_line":"        else:"},{"line_number":201,"context_line":"            new_ipmi_credentials \u003d None"},{"line_number":202,"context_line":""},{"line_number":203,"context_line":"        manage_boot \u003d strutils.bool_from_string(args.get(\u0027manage_boot\u0027),"},{"line_number":204,"context_line":"                                                default\u003dTrue)"},{"line_number":205,"context_line":""},{"line_number":206,"context_line":"        introspect.introspect(node_id,"}],"source_content_type":"text/x-python","patch_set":5,"id":"dada55a8_9a038b0f","line":203,"range":{"start_line":203,"start_character":30,"end_line":203,"end_character":47},"updated":"2016-07-18 09:19:35.000000000","message":"In case ValueError, 500 seams to be here","commit_id":"dfb5b16e6f6fa0d80dd6841319226b94bf5609e0"}],"ironic_inspector/migrations/versions/2970d2d44edc_add_manage_boot_to_nodes.py":[{"author":{"_account_id":13636,"name":"aarefiev","display_name":"Anton","email":"arefyevanton@gmail.com","username":"aarefiev"},"change_message_id":"2fe0f65ed73b4414e23a46547c4821597891ab33","unresolved":false,"context_lines":[{"line_number":30,"context_line":""},{"line_number":31,"context_line":"def upgrade():"},{"line_number":32,"context_line":"    op.add_column(\u0027nodes\u0027, sa.Column(\u0027manage_boot\u0027, sa.Boolean(),"},{"line_number":33,"context_line":"                                     nullable\u003dTrue, default\u003dTrue))"}],"source_content_type":"text/x-python","patch_set":5,"id":"1aa78d24_499e24b9","line":33,"range":{"start_line":33,"start_character":37,"end_line":33,"end_character":45},"updated":"2016-07-11 13:49:25.000000000","message":"nit: looks like it\u0027s not needed, afair it\u0027s affected only on table creation, also true is default","commit_id":"dfb5b16e6f6fa0d80dd6841319226b94bf5609e0"}],"ironic_inspector/test/functional.py":[{"author":{"_account_id":14525,"name":"Vasyl Saienko","email":"vsaienko@mirantis.com","username":"vsaienko"},"change_message_id":"64a0df470c801c8b7a7e1a84c9e78e9a7bd43b67","unresolved":false,"context_lines":[{"line_number":218,"context_line":"    def test_manage_boot(self):"},{"line_number":219,"context_line":"        self.call_introspect(self.uuid, manage_boot\u003dFalse)"},{"line_number":220,"context_line":"        eventlet.greenthread.sleep(DEFAULT_SLEEP)"},{"line_number":221,"context_line":"        self.cli.node.set_power_state.assert_called_once_with(self.uuid,"},{"line_number":222,"context_line":"                                                              \u0027reboot\u0027)"},{"line_number":223,"context_line":""},{"line_number":224,"context_line":"        status \u003d self.call_get_status(self.uuid)"}],"source_content_type":"text/x-python","patch_set":8,"id":"bacf61ea_57ad88e7","line":221,"updated":"2016-08-02 08:03:29.000000000","message":"it should be called 0 times since manage_boot\u003dFalse","commit_id":"898b095c33acc53961a3753613eadf604ad01d59"}]}
