)]}'
{"ironic/drivers/modules/deploy_utils.py":[{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"2a5ba76b8aad54e38d15d6dd0605ca93d94946a7","unresolved":false,"context_lines":[{"line_number":402,"context_line":"            missing_info.append(param_prefix + label)"},{"line_number":403,"context_line":""},{"line_number":404,"context_line":"    if missing_info:"},{"line_number":405,"context_line":"        if \u0027image_source\u0027 in missing_info or \u0027root_gb\u0027 in missing_info:"},{"line_number":406,"context_line":"            exc_msg \u003d _(\"%(error_msg)s. The following parameters were \""},{"line_number":407,"context_line":"                        \"missing in node\u0027s instance_info: %(missing_info)s\")"},{"line_number":408,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":2,"id":"baa201ad_53cb6471","line":405,"updated":"2014-10-17 09:59:31.000000000","message":"IMO these hardcoded driver\u0027s params are\u0027nt look good here. What about adding new parameter to function (to pass \"driver\" or \"instance\")?","commit_id":"8720a8cddf37e01ac5a07d8ed0f34ba5a941addb"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"7bb61f0ac9446857ebcab1b17311e4d49ea9f55b","unresolved":false,"context_lines":[{"line_number":404,"context_line":"    if missing_info:"},{"line_number":405,"context_line":"        if \u0027image_source\u0027 in missing_info or \u0027root_gb\u0027 in missing_info:"},{"line_number":406,"context_line":"            exc_msg \u003d _(\"%(error_msg)s. The following parameters were \""},{"line_number":407,"context_line":"                        \"missing in node\u0027s instance_info: %(missing_info)s\")"},{"line_number":408,"context_line":"        else:"},{"line_number":409,"context_line":"            exc_msg \u003d _(\"%(error_msg)s. The following parameters were \""},{"line_number":410,"context_line":"                       \"missing in node\u0027s driver_info: %(missing_info)s\")"}],"source_content_type":"text/x-python","patch_set":2,"id":"baa201ad_33a500a2","line":407,"updated":"2014-10-17 09:59:29.000000000","message":"Judging by usages of this function, it\u0027s never used to check instance_info.","commit_id":"8720a8cddf37e01ac5a07d8ed0f34ba5a941addb"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"59bd284b6af1161b650d1fa055b66febe7b3abdb","unresolved":false,"context_lines":[{"line_number":404,"context_line":"    if missing_info:"},{"line_number":405,"context_line":"        if \u0027image_source\u0027 in missing_info or \u0027root_gb\u0027 in missing_info:"},{"line_number":406,"context_line":"            exc_msg \u003d _(\"%(error_msg)s. The following parameters were \""},{"line_number":407,"context_line":"                        \"missing in node\u0027s instance_info: %(missing_info)s\")"},{"line_number":408,"context_line":"        else:"},{"line_number":409,"context_line":"            exc_msg \u003d _(\"%(error_msg)s. The following parameters were \""},{"line_number":410,"context_line":"                       \"missing in node\u0027s driver_info: %(missing_info)s\")"}],"source_content_type":"text/x-python","patch_set":2,"id":"baa201ad_b3be5063","line":407,"in_reply_to":"baa201ad_33a500a2","updated":"2014-10-17 10:06:38.000000000","message":"Dmitry, https://github.com/openstack/ironic/blob/master/ironic/drivers/modules/iscsi_deploy.py#L120","commit_id":"8720a8cddf37e01ac5a07d8ed0f34ba5a941addb"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"60f90e79415f5d91fa20bf78634d87184e219bb9","unresolved":false,"context_lines":[{"line_number":404,"context_line":"    if missing_info:"},{"line_number":405,"context_line":"        if \u0027image_source\u0027 in missing_info or \u0027root_gb\u0027 in missing_info:"},{"line_number":406,"context_line":"            exc_msg \u003d _(\"%(error_msg)s. The following parameters were \""},{"line_number":407,"context_line":"                        \"missing in node\u0027s instance_info: %(missing_info)s\")"},{"line_number":408,"context_line":"        else:"},{"line_number":409,"context_line":"            exc_msg \u003d _(\"%(error_msg)s. The following parameters were \""},{"line_number":410,"context_line":"                       \"missing in node\u0027s driver_info: %(missing_info)s\")"}],"source_content_type":"text/x-python","patch_set":2,"id":"baa201ad_133d5cdd","line":407,"in_reply_to":"baa201ad_b3be5063","updated":"2014-10-17 10:10:51.000000000","message":"right, sorry. then I think we need to fix error_msg in callers. E.g. in your example instead of \"Cannot validate iSCSI deploy\" have \"Cannot validate iSCSI deploy: some parameters were missing in instance_info\". Then we can leave this code as it was.","commit_id":"8720a8cddf37e01ac5a07d8ed0f34ba5a941addb"}],"ironic/drivers/modules/iboot.py":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"23618d7096c89503f68d792db9cc25da499b539e","unresolved":false,"context_lines":[{"line_number":53,"context_line":"    if missing_info:"},{"line_number":54,"context_line":"        raise exception.MissingParameterValue(_("},{"line_number":55,"context_line":"              \"Missing iBoot credentials in node\u0027s driver_info. The following\""},{"line_number":56,"context_line":"              \"info is not supplied to iBoot PDU driver: %s.\") % missing_info)"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"    address \u003d info.get(\u0027iboot_address\u0027, None)"},{"line_number":59,"context_line":"    username \u003d info.get(\u0027iboot_username\u0027, None)"}],"source_content_type":"text/x-python","patch_set":1,"id":"baa201ad_cea18647","line":56,"updated":"2014-10-16 14:40:28.000000000","message":"I think the 2nd sentence can be dropped:\n\n \"Missing the following iBoot credentials in node\u0027s driver_info: %s","commit_id":"553a785c5fb204c63439be8ec3f33db1ebe31471"},{"author":{"_account_id":11278,"name":"Anusha Ramineni","email":"anusha.ramineni@india.nec.com","username":"anusha08"},"change_message_id":"b4ef748d6134aef8072e41ab5bb36cec25faf4aa","unresolved":false,"context_lines":[{"line_number":53,"context_line":"    if missing_info:"},{"line_number":54,"context_line":"        raise exception.MissingParameterValue(_("},{"line_number":55,"context_line":"              \"Missing iBoot credentials in node\u0027s driver_info. The following\""},{"line_number":56,"context_line":"              \"info is not supplied to iBoot PDU driver: %s.\") % missing_info)"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"    address \u003d info.get(\u0027iboot_address\u0027, None)"},{"line_number":59,"context_line":"    username \u003d info.get(\u0027iboot_username\u0027, None)"}],"source_content_type":"text/x-python","patch_set":1,"id":"baa201ad_b35bb752","line":56,"in_reply_to":"baa201ad_cea18647","updated":"2014-10-17 04:56:01.000000000","message":"will remove it","commit_id":"553a785c5fb204c63439be8ec3f33db1ebe31471"}],"ironic/drivers/modules/ipminative.py":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"23618d7096c89503f68d792db9cc25da499b539e","unresolved":false,"context_lines":[{"line_number":91,"context_line":"    if missing_info:"},{"line_number":92,"context_line":"        raise exception.MissingParameterValue(_("},{"line_number":93,"context_line":"            \"Missing IPMI credentials in node\u0027s driver_info. The following\""},{"line_number":94,"context_line":"            \"info is not supplied to IPMI driver: %s.\") % missing_info)"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"    bmc_info \u003d {}"},{"line_number":97,"context_line":"    bmc_info[\u0027address\u0027] \u003d info.get(\u0027ipmi_address\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"baa201ad_4e8d96d2","line":94,"updated":"2014-10-16 14:40:28.000000000","message":"ditto","commit_id":"553a785c5fb204c63439be8ec3f33db1ebe31471"},{"author":{"_account_id":11278,"name":"Anusha Ramineni","email":"anusha.ramineni@india.nec.com","username":"anusha08"},"change_message_id":"b4ef748d6134aef8072e41ab5bb36cec25faf4aa","unresolved":false,"context_lines":[{"line_number":91,"context_line":"    if missing_info:"},{"line_number":92,"context_line":"        raise exception.MissingParameterValue(_("},{"line_number":93,"context_line":"            \"Missing IPMI credentials in node\u0027s driver_info. The following\""},{"line_number":94,"context_line":"            \"info is not supplied to IPMI driver: %s.\") % missing_info)"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"    bmc_info \u003d {}"},{"line_number":97,"context_line":"    bmc_info[\u0027address\u0027] \u003d info.get(\u0027ipmi_address\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"baa201ad_f351bf30","line":94,"in_reply_to":"baa201ad_4e8d96d2","updated":"2014-10-17 04:56:01.000000000","message":"Done","commit_id":"553a785c5fb204c63439be8ec3f33db1ebe31471"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"883a3f00aa08779a064a9bcf0b632779293f52d1","unresolved":false,"context_lines":[{"line_number":491,"context_line":"        \"\"\""},{"line_number":492,"context_line":"        driver_info \u003d _parse_driver_info(task.node)"},{"line_number":493,"context_line":"        if not driver_info[\u0027port\u0027]:"},{"line_number":494,"context_line":"            raise exception.MissingParameterValue(_("},{"line_number":495,"context_line":"                \"IPMI terminal port not supplied to the IPMI driver.\"))"},{"line_number":496,"context_line":""},{"line_number":497,"context_line":"    def start_console(self, task):"}],"source_content_type":"text/x-python","patch_set":1,"id":"baa201ad_495cb019","line":494,"updated":"2014-10-16 14:51:42.000000000","message":"Please modify this message also.","commit_id":"553a785c5fb204c63439be8ec3f33db1ebe31471"},{"author":{"_account_id":11278,"name":"Anusha Ramineni","email":"anusha.ramineni@india.nec.com","username":"anusha08"},"change_message_id":"b4ef748d6134aef8072e41ab5bb36cec25faf4aa","unresolved":false,"context_lines":[{"line_number":491,"context_line":"        \"\"\""},{"line_number":492,"context_line":"        driver_info \u003d _parse_driver_info(task.node)"},{"line_number":493,"context_line":"        if not driver_info[\u0027port\u0027]:"},{"line_number":494,"context_line":"            raise exception.MissingParameterValue(_("},{"line_number":495,"context_line":"                \"IPMI terminal port not supplied to the IPMI driver.\"))"},{"line_number":496,"context_line":""},{"line_number":497,"context_line":"    def start_console(self, task):"}],"source_content_type":"text/x-python","patch_set":1,"id":"baa201ad_8ea5aca3","line":494,"in_reply_to":"baa201ad_495cb019","updated":"2014-10-17 04:56:01.000000000","message":"Done","commit_id":"553a785c5fb204c63439be8ec3f33db1ebe31471"}],"ironic/drivers/modules/ipmitool.py":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"23618d7096c89503f68d792db9cc25da499b539e","unresolved":false,"context_lines":[{"line_number":211,"context_line":"    if missing_info:"},{"line_number":212,"context_line":"        raise exception.MissingParameterValue(_("},{"line_number":213,"context_line":"            \"Missing IPMI credentials in node\u0027s driver_info. The following\""},{"line_number":214,"context_line":"            \"info is not supplied to IPMI driver: %s.\") % missing_info)"},{"line_number":215,"context_line":""},{"line_number":216,"context_line":"    address \u003d info.get(\u0027ipmi_address\u0027)"},{"line_number":217,"context_line":"    username \u003d info.get(\u0027ipmi_username\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"baa201ad_aeb36298","line":214,"updated":"2014-10-16 14:40:28.000000000","message":"ditto","commit_id":"553a785c5fb204c63439be8ec3f33db1ebe31471"},{"author":{"_account_id":11278,"name":"Anusha Ramineni","email":"anusha.ramineni@india.nec.com","username":"anusha08"},"change_message_id":"b4ef748d6134aef8072e41ab5bb36cec25faf4aa","unresolved":false,"context_lines":[{"line_number":211,"context_line":"    if missing_info:"},{"line_number":212,"context_line":"        raise exception.MissingParameterValue(_("},{"line_number":213,"context_line":"            \"Missing IPMI credentials in node\u0027s driver_info. The following\""},{"line_number":214,"context_line":"            \"info is not supplied to IPMI driver: %s.\") % missing_info)"},{"line_number":215,"context_line":""},{"line_number":216,"context_line":"    address \u003d info.get(\u0027ipmi_address\u0027)"},{"line_number":217,"context_line":"    username \u003d info.get(\u0027ipmi_username\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"baa201ad_331ee770","line":214,"in_reply_to":"baa201ad_aeb36298","updated":"2014-10-17 04:56:01.000000000","message":"Done","commit_id":"553a785c5fb204c63439be8ec3f33db1ebe31471"}],"ironic/drivers/modules/iscsi_deploy.py":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"23618d7096c89503f68d792db9cc25da499b539e","unresolved":false,"context_lines":[{"line_number":120,"context_line":"    missing_info \u003d []"},{"line_number":121,"context_line":"    for label, value in i_info.items():"},{"line_number":122,"context_line":"        if not value:"},{"line_number":123,"context_line":"            missing_info.append(label)"},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"    if missing_info:"},{"line_number":126,"context_line":"        exc_msg \u003d _(\"%(error_msg)s. The following parameters were \""}],"source_content_type":"text/x-python","patch_set":1,"id":"baa201ad_2ea77251","line":123,"updated":"2014-10-16 14:40:28.000000000","message":"I don\u0027t think you should be dropping call to deploy_utils.check_for_missing_params. Error message should be modified there","commit_id":"553a785c5fb204c63439be8ec3f33db1ebe31471"},{"author":{"_account_id":11278,"name":"Anusha Ramineni","email":"anusha.ramineni@india.nec.com","username":"anusha08"},"change_message_id":"b4ef748d6134aef8072e41ab5bb36cec25faf4aa","unresolved":false,"context_lines":[{"line_number":120,"context_line":"    missing_info \u003d []"},{"line_number":121,"context_line":"    for label, value in i_info.items():"},{"line_number":122,"context_line":"        if not value:"},{"line_number":123,"context_line":"            missing_info.append(label)"},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"    if missing_info:"},{"line_number":126,"context_line":"        exc_msg \u003d _(\"%(error_msg)s. The following parameters were \""}],"source_content_type":"text/x-python","patch_set":1,"id":"baa201ad_ce9df467","line":123,"in_reply_to":"baa201ad_2ea77251","updated":"2014-10-17 04:56:01.000000000","message":"Done","commit_id":"553a785c5fb204c63439be8ec3f33db1ebe31471"}],"ironic/drivers/modules/seamicro.py":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"23618d7096c89503f68d792db9cc25da499b539e","unresolved":false,"context_lines":[{"line_number":107,"context_line":"    missing_info \u003d [key for key in REQUIRED_PROPERTIES if not info.get(key)]"},{"line_number":108,"context_line":"    if missing_info:"},{"line_number":109,"context_line":"        raise exception.MissingParameterValue(_("},{"line_number":110,"context_line":"            \"SeaMicro driver requires the following to be set in node\u0027s\""},{"line_number":111,"context_line":"            \" driver_info: %s.\") % missing_info)"},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"    api_endpoint \u003d info.get(\u0027seamicro_api_endpoint\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"baa201ad_6e641a22","line":110,"updated":"2014-10-16 14:40:28.000000000","message":"the following -\u003e the following parameters","commit_id":"553a785c5fb204c63439be8ec3f33db1ebe31471"},{"author":{"_account_id":11278,"name":"Anusha Ramineni","email":"anusha.ramineni@india.nec.com","username":"anusha08"},"change_message_id":"b4ef748d6134aef8072e41ab5bb36cec25faf4aa","unresolved":false,"context_lines":[{"line_number":107,"context_line":"    missing_info \u003d [key for key in REQUIRED_PROPERTIES if not info.get(key)]"},{"line_number":108,"context_line":"    if missing_info:"},{"line_number":109,"context_line":"        raise exception.MissingParameterValue(_("},{"line_number":110,"context_line":"            \"SeaMicro driver requires the following to be set in node\u0027s\""},{"line_number":111,"context_line":"            \" driver_info: %s.\") % missing_info)"},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"    api_endpoint \u003d info.get(\u0027seamicro_api_endpoint\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"baa201ad_4e8104fa","line":110,"in_reply_to":"baa201ad_6e641a22","updated":"2014-10-17 04:56:01.000000000","message":"Done","commit_id":"553a785c5fb204c63439be8ec3f33db1ebe31471"}],"ironic/drivers/modules/snmp.py":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"23618d7096c89503f68d792db9cc25da499b539e","unresolved":false,"context_lines":[{"line_number":521,"context_line":"    missing_info \u003d [key for key in REQUIRED_PROPERTIES if not info.get(key)]"},{"line_number":522,"context_line":"    if missing_info:"},{"line_number":523,"context_line":"        raise exception.MissingParameterValue(_("},{"line_number":524,"context_line":"            \"SNMP driver requires the following to be set in node\u0027s\""},{"line_number":525,"context_line":"            \" driver_info: %s.\") % missing_info)"},{"line_number":526,"context_line":""},{"line_number":527,"context_line":"    snmp_info \u003d {}"}],"source_content_type":"text/x-python","patch_set":1,"id":"baa201ad_8e693efb","line":524,"updated":"2014-10-16 14:40:28.000000000","message":"ditto","commit_id":"553a785c5fb204c63439be8ec3f33db1ebe31471"},{"author":{"_account_id":11278,"name":"Anusha Ramineni","email":"anusha.ramineni@india.nec.com","username":"anusha08"},"change_message_id":"b4ef748d6134aef8072e41ab5bb36cec25faf4aa","unresolved":false,"context_lines":[{"line_number":521,"context_line":"    missing_info \u003d [key for key in REQUIRED_PROPERTIES if not info.get(key)]"},{"line_number":522,"context_line":"    if missing_info:"},{"line_number":523,"context_line":"        raise exception.MissingParameterValue(_("},{"line_number":524,"context_line":"            \"SNMP driver requires the following to be set in node\u0027s\""},{"line_number":525,"context_line":"            \" driver_info: %s.\") % missing_info)"},{"line_number":526,"context_line":""},{"line_number":527,"context_line":"    snmp_info \u003d {}"}],"source_content_type":"text/x-python","patch_set":1,"id":"baa201ad_6e84080b","line":524,"in_reply_to":"baa201ad_8e693efb","updated":"2014-10-17 04:56:01.000000000","message":"Done","commit_id":"553a785c5fb204c63439be8ec3f33db1ebe31471"}],"ironic/drivers/modules/ssh.py":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"23618d7096c89503f68d792db9cc25da499b539e","unresolved":false,"context_lines":[{"line_number":285,"context_line":"    missing_info \u003d [key for key in REQUIRED_PROPERTIES if not info.get(key)]"},{"line_number":286,"context_line":"    if missing_info:"},{"line_number":287,"context_line":"        raise exception.MissingParameterValue(_("},{"line_number":288,"context_line":"            \"SSHPowerDriver requires the following to be set in node\u0027s\""},{"line_number":289,"context_line":"            \" driver_info: %s.\") % missing_info)"},{"line_number":290,"context_line":""},{"line_number":291,"context_line":"    address \u003d info.get(\u0027ssh_address\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"baa201ad_ce6fc6fa","line":288,"updated":"2014-10-16 14:40:28.000000000","message":"ditto","commit_id":"553a785c5fb204c63439be8ec3f33db1ebe31471"},{"author":{"_account_id":11278,"name":"Anusha Ramineni","email":"anusha.ramineni@india.nec.com","username":"anusha08"},"change_message_id":"b4ef748d6134aef8072e41ab5bb36cec25faf4aa","unresolved":false,"context_lines":[{"line_number":285,"context_line":"    missing_info \u003d [key for key in REQUIRED_PROPERTIES if not info.get(key)]"},{"line_number":286,"context_line":"    if missing_info:"},{"line_number":287,"context_line":"        raise exception.MissingParameterValue(_("},{"line_number":288,"context_line":"            \"SSHPowerDriver requires the following to be set in node\u0027s\""},{"line_number":289,"context_line":"            \" driver_info: %s.\") % missing_info)"},{"line_number":290,"context_line":""},{"line_number":291,"context_line":"    address \u003d info.get(\u0027ssh_address\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"baa201ad_8e7e8c17","line":288,"in_reply_to":"baa201ad_ce6fc6fa","updated":"2014-10-17 04:56:01.000000000","message":"Done","commit_id":"553a785c5fb204c63439be8ec3f33db1ebe31471"}]}
