)]}'
{"ironic_inspector/process.py":[{"author":{"_account_id":18653,"name":"Milan Kováčik","email":"mkovacik@redhat.com","username":"dparalen"},"change_message_id":"2b4e349b132a1138ad88f8ab8b76a4db92555d11","unresolved":false,"context_lines":[{"line_number":281,"context_line":"        resp[\u0027ipmi_username\u0027] \u003d new_username"},{"line_number":282,"context_line":"        resp[\u0027ipmi_password\u0027] \u003d new_password"},{"line_number":283,"context_line":"    else:"},{"line_number":284,"context_line":"        if CONF.processing.long_running_ramdisk:"},{"line_number":285,"context_line":"            power_off \u003d False"},{"line_number":286,"context_line":"        else:"},{"line_number":287,"context_line":"            power_off \u003d True"},{"line_number":288,"context_line":"        utils.executor().submit(_finish, ironic, node_info,"},{"line_number":289,"context_line":"                                introspection_data, power_off\u003dpower_off)"},{"line_number":290,"context_line":""},{"line_number":291,"context_line":"    return resp"},{"line_number":292,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"dada55a8_94b4eef2","line":289,"range":{"start_line":284,"start_character":1,"end_line":289,"end_character":72},"updated":"2016-07-18 15:12:17.000000000","message":"This seems a bit verbose; maybe:\n    utils.executor().submit(_finish, ironic, node_info,\n                            introspection_data,\n                            power_off\u003dCONF.processing.long_running_ramdisk)","commit_id":"de13a837266356ef0c632cccc7e0f9b9159a1a04"},{"author":{"_account_id":18653,"name":"Milan Kováčik","email":"mkovacik@redhat.com","username":"dparalen"},"change_message_id":"27b147df1dbd369c80a32329b577cc4b4c413f47","unresolved":false,"context_lines":[{"line_number":281,"context_line":"        resp[\u0027ipmi_username\u0027] \u003d new_username"},{"line_number":282,"context_line":"        resp[\u0027ipmi_password\u0027] \u003d new_password"},{"line_number":283,"context_line":"    else:"},{"line_number":284,"context_line":"        if CONF.processing.long_running_ramdisk:"},{"line_number":285,"context_line":"            power_off \u003d False"},{"line_number":286,"context_line":"        else:"},{"line_number":287,"context_line":"            power_off \u003d True"},{"line_number":288,"context_line":"        utils.executor().submit(_finish, ironic, node_info,"},{"line_number":289,"context_line":"                                introspection_data, power_off\u003dpower_off)"},{"line_number":290,"context_line":""},{"line_number":291,"context_line":"    return resp"},{"line_number":292,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"dada55a8_8b97898f","line":289,"range":{"start_line":284,"start_character":1,"end_line":289,"end_character":72},"in_reply_to":"dada55a8_14a902e0","updated":"2016-07-19 06:43:03.000000000","message":"np, I\u0027ve missed the ``not`` negation operator there\n  (power_off\u003dnot CONF.processing.long_running_ramdisk)","commit_id":"de13a837266356ef0c632cccc7e0f9b9159a1a04"},{"author":{"_account_id":6610,"name":"Zhenguo Niu","email":"Niu.ZGlinux@gmail.com","username":"niu-zglinux"},"change_message_id":"4188214cb9b49d146162df1652139b108410b521","unresolved":false,"context_lines":[{"line_number":281,"context_line":"        resp[\u0027ipmi_username\u0027] \u003d new_username"},{"line_number":282,"context_line":"        resp[\u0027ipmi_password\u0027] \u003d new_password"},{"line_number":283,"context_line":"    else:"},{"line_number":284,"context_line":"        if CONF.processing.long_running_ramdisk:"},{"line_number":285,"context_line":"            power_off \u003d False"},{"line_number":286,"context_line":"        else:"},{"line_number":287,"context_line":"            power_off \u003d True"},{"line_number":288,"context_line":"        utils.executor().submit(_finish, ironic, node_info,"},{"line_number":289,"context_line":"                                introspection_data, power_off\u003dpower_off)"},{"line_number":290,"context_line":""},{"line_number":291,"context_line":"    return resp"},{"line_number":292,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"dada55a8_14a902e0","line":289,"range":{"start_line":284,"start_character":1,"end_line":289,"end_character":72},"in_reply_to":"dada55a8_94b4eef2","updated":"2016-07-19 02:58:39.000000000","message":"thanks for the review milan, will update soon!","commit_id":"de13a837266356ef0c632cccc7e0f9b9159a1a04"}],"ironic_inspector/test/unit/test_process.py":[{"author":{"_account_id":18653,"name":"Milan Kováčik","email":"mkovacik@redhat.com","username":"dparalen"},"change_message_id":"2b4e349b132a1138ad88f8ab8b76a4db92555d11","unresolved":false,"context_lines":[{"line_number":479,"context_line":"        finished_mock.assert_called_once_with(self.node_info)"},{"line_number":480,"context_line":""},{"line_number":481,"context_line":"    @mock.patch.object(node_cache.NodeInfo, \u0027finished\u0027, autospec\u003dTrue)"},{"line_number":482,"context_line":"    def test_no_power_off(self, finished_mock):"},{"line_number":483,"context_line":"        CONF.set_override(\u0027long_running_ramdisk\u0027, True, \u0027processing\u0027)"},{"line_number":484,"context_line":"        process._process_node(self.node, self.data, self.node_info)"},{"line_number":485,"context_line":""},{"line_number":486,"context_line":"        self.assertFalse(self.cli.node.set_power_state.called)"}],"source_content_type":"text/x-python","patch_set":1,"id":"dada55a8_d47ca622","line":483,"range":{"start_line":482,"start_character":0,"end_line":483,"end_character":48},"updated":"2016-07-18 15:12:17.000000000","message":"test name and conf name mismatch; how about renaming long_running_ramdisk to CONF.processing.power_off instead?","commit_id":"de13a837266356ef0c632cccc7e0f9b9159a1a04"},{"author":{"_account_id":6610,"name":"Zhenguo Niu","email":"Niu.ZGlinux@gmail.com","username":"niu-zglinux"},"change_message_id":"4188214cb9b49d146162df1652139b108410b521","unresolved":false,"context_lines":[{"line_number":479,"context_line":"        finished_mock.assert_called_once_with(self.node_info)"},{"line_number":480,"context_line":""},{"line_number":481,"context_line":"    @mock.patch.object(node_cache.NodeInfo, \u0027finished\u0027, autospec\u003dTrue)"},{"line_number":482,"context_line":"    def test_no_power_off(self, finished_mock):"},{"line_number":483,"context_line":"        CONF.set_override(\u0027long_running_ramdisk\u0027, True, \u0027processing\u0027)"},{"line_number":484,"context_line":"        process._process_node(self.node, self.data, self.node_info)"},{"line_number":485,"context_line":""},{"line_number":486,"context_line":"        self.assertFalse(self.cli.node.set_power_state.called)"}],"source_content_type":"text/x-python","patch_set":1,"id":"dada55a8_f4826e51","line":483,"range":{"start_line":482,"start_character":0,"end_line":483,"end_character":48},"in_reply_to":"dada55a8_d47ca622","updated":"2016-07-19 02:58:39.000000000","message":"after a second think, seems power_off_after_introspection is more proper here.","commit_id":"de13a837266356ef0c632cccc7e0f9b9159a1a04"},{"author":{"_account_id":18653,"name":"Milan Kováčik","email":"mkovacik@redhat.com","username":"dparalen"},"change_message_id":"27b147df1dbd369c80a32329b577cc4b4c413f47","unresolved":false,"context_lines":[{"line_number":479,"context_line":"        finished_mock.assert_called_once_with(self.node_info)"},{"line_number":480,"context_line":""},{"line_number":481,"context_line":"    @mock.patch.object(node_cache.NodeInfo, \u0027finished\u0027, autospec\u003dTrue)"},{"line_number":482,"context_line":"    def test_no_power_off(self, finished_mock):"},{"line_number":483,"context_line":"        CONF.set_override(\u0027long_running_ramdisk\u0027, True, \u0027processing\u0027)"},{"line_number":484,"context_line":"        process._process_node(self.node, self.data, self.node_info)"},{"line_number":485,"context_line":""},{"line_number":486,"context_line":"        self.assertFalse(self.cli.node.set_power_state.called)"}],"source_content_type":"text/x-python","patch_set":1,"id":"dada55a8_2b5c9dec","line":483,"range":{"start_line":482,"start_character":0,"end_line":483,"end_character":48},"in_reply_to":"dada55a8_f4826e51","updated":"2016-07-19 06:43:03.000000000","message":"Please note that the processing always happens after  the introspection. I think it\u0027s not necessary to emphasize that in the config variable name.","commit_id":"de13a837266356ef0c632cccc7e0f9b9159a1a04"}]}
