)]}'
{"ironic/common/pxe_utils.py":[{"author":{"_account_id":9315,"name":"ramesh","email":"rameshg87@gmail.com","username":"rameshg87"},"change_message_id":"fe813f25e4769d3f9673d933e2c178e471e415ea","unresolved":false,"context_lines":[{"line_number":191,"context_line":"    pxe_config \u003d _build_pxe_config(pxe_options, template)"},{"line_number":192,"context_line":"    utils.write_to_file(pxe_config_file_path, pxe_config)"},{"line_number":193,"context_line":""},{"line_number":194,"context_line":"    if driver_utils.get_boot_mode_for_deploy(task.node) \u003d\u003d \u0027uefi\u0027:"},{"line_number":195,"context_line":"        _link_ip_address_pxe_configs(task)"},{"line_number":196,"context_line":"    else:"},{"line_number":197,"context_line":"        _link_mac_pxe_configs(task)"}],"source_content_type":"text/x-python","patch_set":36,"id":"9a80dd14_7eb03043","line":194,"updated":"2015-03-20 08:52:34.000000000","message":"I am against this (I know we have already introduced this).  There is a hierarchy of our directory structure and we should import modules only from the top hierarchy.  If we want to import something from the below, we should move the common stuff to the top level hierarchy.\n\nFor me ironic.common comes first, then ironic.drivers, then ironic.drivers.modules.  So if we follow that common hierarchy, we would never run into circular import issues.  Since this is already there, I am not suggesting to change it, just wanted to put a note to get everyone\u0027s thoughts.","commit_id":"f6a9f430355cde43d2511cf180f2d41099471888"}],"ironic/drivers/modules/ilo/common.py":[{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"731898ab27af5dd8a79acfdb2097bd4bc87f2f5a","unresolved":false,"context_lines":[{"line_number":344,"context_line":"    # is available. This is useful, if we were to call this method again."},{"line_number":345,"context_line":"    boot_mode \u003d driver_internal_info.get(\u0027deploy_boot_mode\u0027, None)"},{"line_number":346,"context_line":"    if boot_mode is not None:"},{"line_number":347,"context_line":"        LOG.debug(\"Node %(uuid)s boot mode is set to %(boot_mode) using \""},{"line_number":348,"context_line":"                      \"driver_internal_info.\","},{"line_number":349,"context_line":"                  {\u0027uuid\u0027: node.uuid, \u0027boot_mode\u0027: boot_mode})"},{"line_number":350,"context_line":"        set_boot_mode(task.node, boot_mode.lower())"}],"source_content_type":"text/x-python","patch_set":2,"id":"da86d52c_7a7c77ec","line":347,"updated":"2015-02-13 15:50:54.000000000","message":"Missing symbol %(boot_mode)s","commit_id":"c8b3543078ab46527441750bd880c9ec8e46729d"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"f84e3febb95d9303d6ebf8b74214fcfa331d0677","unresolved":false,"context_lines":[{"line_number":344,"context_line":"    # is available. This is useful, if we were to call this method again."},{"line_number":345,"context_line":"    boot_mode \u003d driver_internal_info.get(\u0027deploy_boot_mode\u0027, None)"},{"line_number":346,"context_line":"    if boot_mode is not None:"},{"line_number":347,"context_line":"        LOG.debug(\"Node %(uuid)s boot mode is set to %(boot_mode) using \""},{"line_number":348,"context_line":"                      \"driver_internal_info.\","},{"line_number":349,"context_line":"                  {\u0027uuid\u0027: node.uuid, \u0027boot_mode\u0027: boot_mode})"},{"line_number":350,"context_line":"        set_boot_mode(task.node, boot_mode.lower())"}],"source_content_type":"text/x-python","patch_set":2,"id":"da86d52c_daec6d2c","line":347,"in_reply_to":"da86d52c_7a7c77ec","updated":"2015-02-14 03:39:53.000000000","message":"Done","commit_id":"c8b3543078ab46527441750bd880c9ec8e46729d"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"731898ab27af5dd8a79acfdb2097bd4bc87f2f5a","unresolved":false,"context_lines":[{"line_number":376,"context_line":"                p_boot_mode \u003d \u0027UEFI\u0027"},{"line_number":377,"context_line":"                ilo_object.set_pending_boot_mode(p_boot_mode)"},{"line_number":378,"context_line":""},{"line_number":379,"context_line":"        except ilo_error.IloCommandNotSupportedError:"},{"line_number":380,"context_line":"            p_boot_mode \u003d DEFAULT_BOOT_MODE"},{"line_number":381,"context_line":""},{"line_number":382,"context_line":"        p_boot_mode \u003d BOOT_MODE_ILO_TO_GENERIC[p_boot_mode.lower()]"}],"source_content_type":"text/x-python","patch_set":2,"id":"da86d52c_dd371de3","line":379,"updated":"2015-02-13 15:50:54.000000000","message":"LOG warning here?","commit_id":"c8b3543078ab46527441750bd880c9ec8e46729d"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"f84e3febb95d9303d6ebf8b74214fcfa331d0677","unresolved":false,"context_lines":[{"line_number":376,"context_line":"                p_boot_mode \u003d \u0027UEFI\u0027"},{"line_number":377,"context_line":"                ilo_object.set_pending_boot_mode(p_boot_mode)"},{"line_number":378,"context_line":""},{"line_number":379,"context_line":"        except ilo_error.IloCommandNotSupportedError:"},{"line_number":380,"context_line":"            p_boot_mode \u003d DEFAULT_BOOT_MODE"},{"line_number":381,"context_line":""},{"line_number":382,"context_line":"        p_boot_mode \u003d BOOT_MODE_ILO_TO_GENERIC[p_boot_mode.lower()]"}],"source_content_type":"text/x-python","patch_set":2,"id":"da86d52c_dad38d5d","line":379,"in_reply_to":"da86d52c_dd371de3","updated":"2015-02-14 03:39:53.000000000","message":"We do not need to provide any warning here. Since the user did not ask for specific boot_mode, it was our attempt to provide uefi boot mode, if supported by the given baremetal.\nIf uefi boot mode is not supported by the baremetal, will handle the exception and deploy using bios boot mode.","commit_id":"c8b3543078ab46527441750bd880c9ec8e46729d"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"0ae5db12e22003a7734d4c403df5e83b349b504a","unresolved":false,"context_lines":[{"line_number":344,"context_line":"    # is available. This is useful, if we were to call this method again."},{"line_number":345,"context_line":"    boot_mode \u003d instance_info.get(\u0027deploy_boot_mode\u0027, None)"},{"line_number":346,"context_line":"    if boot_mode is not None:"},{"line_number":347,"context_line":"        LOG.debug(\"Node %(uuid)s boot mode is set to %(boot_mode)s using \""},{"line_number":348,"context_line":"                  \"instance_info.\","},{"line_number":349,"context_line":"                  {\u0027uuid\u0027: node.uuid, \u0027boot_mode\u0027: boot_mode})"},{"line_number":350,"context_line":"        set_boot_mode(task.node, boot_mode.lower())"}],"source_content_type":"text/x-python","patch_set":7,"id":"ba7be1f8_19a4fea4","line":347,"updated":"2015-02-24 12:24:53.000000000","message":"nit - s/is set/is being set","commit_id":"5b7ea56b1e313e8ae9d88329011927751164484b"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"7ff4126e107493cfb531ec0b3a4167f93b6b0f35","unresolved":false,"context_lines":[{"line_number":344,"context_line":"    # is available. This is useful, if we were to call this method again."},{"line_number":345,"context_line":"    boot_mode \u003d instance_info.get(\u0027deploy_boot_mode\u0027, None)"},{"line_number":346,"context_line":"    if boot_mode is not None:"},{"line_number":347,"context_line":"        LOG.debug(\"Node %(uuid)s boot mode is set to %(boot_mode)s using \""},{"line_number":348,"context_line":"                  \"instance_info.\","},{"line_number":349,"context_line":"                  {\u0027uuid\u0027: node.uuid, \u0027boot_mode\u0027: boot_mode})"},{"line_number":350,"context_line":"        set_boot_mode(task.node, boot_mode.lower())"}],"source_content_type":"text/x-python","patch_set":7,"id":"ba7be1f8_01a3a04f","line":347,"in_reply_to":"ba7be1f8_19a4fea4","updated":"2015-02-24 16:18:14.000000000","message":"Done","commit_id":"5b7ea56b1e313e8ae9d88329011927751164484b"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"0ae5db12e22003a7734d4c403df5e83b349b504a","unresolved":false,"context_lines":[{"line_number":350,"context_line":"        set_boot_mode(task.node, boot_mode.lower())"},{"line_number":351,"context_line":"        return"},{"line_number":352,"context_line":""},{"line_number":353,"context_line":"    # Need to compute boot mode."},{"line_number":354,"context_line":"    p_boot_mode \u003d DEFAULT_BOOT_MODE"},{"line_number":355,"context_line":""},{"line_number":356,"context_line":"    boot_mode \u003d driver_utils.get_node_capability(task.node, \u0027boot_mode\u0027)"}],"source_content_type":"text/x-python","patch_set":7,"id":"ba7be1f8_784411b7","line":353,"updated":"2015-02-24 12:24:53.000000000","message":"Is it the comment for the else case on L365?","commit_id":"5b7ea56b1e313e8ae9d88329011927751164484b"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"7ff4126e107493cfb531ec0b3a4167f93b6b0f35","unresolved":false,"context_lines":[{"line_number":350,"context_line":"        set_boot_mode(task.node, boot_mode.lower())"},{"line_number":351,"context_line":"        return"},{"line_number":352,"context_line":""},{"line_number":353,"context_line":"    # Need to compute boot mode."},{"line_number":354,"context_line":"    p_boot_mode \u003d DEFAULT_BOOT_MODE"},{"line_number":355,"context_line":""},{"line_number":356,"context_line":"    boot_mode \u003d driver_utils.get_node_capability(task.node, \u0027boot_mode\u0027)"}],"source_content_type":"text/x-python","patch_set":7,"id":"ba7be1f8_612d3ca8","line":353,"in_reply_to":"ba7be1f8_784411b7","updated":"2015-02-24 16:18:14.000000000","message":"You mean comment on L353? If so, yes.\nThe comment is for the entire \u0027if/else\u0027 block L354-L382. The \u0027deploy_boot_mode\u0027 is calculated in the first call to this method if capability boot_mode was not set on the node.\nHave changed debug statement on L365, to avoid confusion.","commit_id":"5b7ea56b1e313e8ae9d88329011927751164484b"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"0ae5db12e22003a7734d4c403df5e83b349b504a","unresolved":false,"context_lines":[{"line_number":353,"context_line":"    # Need to compute boot mode."},{"line_number":354,"context_line":"    p_boot_mode \u003d DEFAULT_BOOT_MODE"},{"line_number":355,"context_line":""},{"line_number":356,"context_line":"    boot_mode \u003d driver_utils.get_node_capability(task.node, \u0027boot_mode\u0027)"},{"line_number":357,"context_line":"    if boot_mode is not None:"},{"line_number":358,"context_line":"        LOG.debug(\"Node %(uuid)s boot mode is set to %(boot_mode)s based on \""},{"line_number":359,"context_line":"                  \"node capability.\","}],"source_content_type":"text/x-python","patch_set":7,"id":"ba7be1f8_f99d6a5a","line":356,"updated":"2015-02-24 12:24:53.000000000","message":"You can call lower once here. Also, default boot mode is \u0027LEGACY\u0027 and in mapping from \u0027bios\u0027 it\u0027s \u0027legacy\u0027. Maybe make it consistent?","commit_id":"5b7ea56b1e313e8ae9d88329011927751164484b"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"7ff4126e107493cfb531ec0b3a4167f93b6b0f35","unresolved":false,"context_lines":[{"line_number":353,"context_line":"    # Need to compute boot mode."},{"line_number":354,"context_line":"    p_boot_mode \u003d DEFAULT_BOOT_MODE"},{"line_number":355,"context_line":""},{"line_number":356,"context_line":"    boot_mode \u003d driver_utils.get_node_capability(task.node, \u0027boot_mode\u0027)"},{"line_number":357,"context_line":"    if boot_mode is not None:"},{"line_number":358,"context_line":"        LOG.debug(\"Node %(uuid)s boot mode is set to %(boot_mode)s based on \""},{"line_number":359,"context_line":"                  \"node capability.\","}],"source_content_type":"text/x-python","patch_set":7,"id":"ba7be1f8_671e2cbd","line":356,"in_reply_to":"ba7be1f8_f99d6a5a","updated":"2015-02-24 16:18:14.000000000","message":"Addressed.","commit_id":"5b7ea56b1e313e8ae9d88329011927751164484b"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"0ae5db12e22003a7734d4c403df5e83b349b504a","unresolved":false,"context_lines":[{"line_number":355,"context_line":""},{"line_number":356,"context_line":"    boot_mode \u003d driver_utils.get_node_capability(task.node, \u0027boot_mode\u0027)"},{"line_number":357,"context_line":"    if boot_mode is not None:"},{"line_number":358,"context_line":"        LOG.debug(\"Node %(uuid)s boot mode is set to %(boot_mode)s based on \""},{"line_number":359,"context_line":"                  \"node capability.\","},{"line_number":360,"context_line":"                  {\u0027uuid\u0027: node.uuid, \u0027boot_mode\u0027: boot_mode})"},{"line_number":361,"context_line":"        set_boot_mode(task.node, boot_mode.lower())"}],"source_content_type":"text/x-python","patch_set":7,"id":"ba7be1f8_99b70ed8","line":358,"updated":"2015-02-24 12:24:53.000000000","message":"nit - s/is set/is being set","commit_id":"5b7ea56b1e313e8ae9d88329011927751164484b"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"7ff4126e107493cfb531ec0b3a4167f93b6b0f35","unresolved":false,"context_lines":[{"line_number":355,"context_line":""},{"line_number":356,"context_line":"    boot_mode \u003d driver_utils.get_node_capability(task.node, \u0027boot_mode\u0027)"},{"line_number":357,"context_line":"    if boot_mode is not None:"},{"line_number":358,"context_line":"        LOG.debug(\"Node %(uuid)s boot mode is set to %(boot_mode)s based on \""},{"line_number":359,"context_line":"                  \"node capability.\","},{"line_number":360,"context_line":"                  {\u0027uuid\u0027: node.uuid, \u0027boot_mode\u0027: boot_mode})"},{"line_number":361,"context_line":"        set_boot_mode(task.node, boot_mode.lower())"}],"source_content_type":"text/x-python","patch_set":7,"id":"ba7be1f8_8c4427b8","line":358,"in_reply_to":"ba7be1f8_99b70ed8","updated":"2015-02-24 16:18:14.000000000","message":"Done","commit_id":"5b7ea56b1e313e8ae9d88329011927751164484b"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"0ae5db12e22003a7734d4c403df5e83b349b504a","unresolved":false,"context_lines":[{"line_number":374,"context_line":"                # bootmode to UEFI and if it fails then we fall back to BIOS"},{"line_number":375,"context_line":"                # boot mode."},{"line_number":376,"context_line":"                p_boot_mode \u003d \u0027UEFI\u0027"},{"line_number":377,"context_line":"                ilo_object.set_pending_boot_mode(p_boot_mode)"},{"line_number":378,"context_line":""},{"line_number":379,"context_line":"        except ilo_error.IloCommandNotSupportedError:"},{"line_number":380,"context_line":"            p_boot_mode \u003d DEFAULT_BOOT_MODE"}],"source_content_type":"text/x-python","patch_set":7,"id":"ba7be1f8_188b15c4","line":377,"updated":"2015-02-24 12:24:53.000000000","message":"If you\u0027re logging boot_mode for other cases, maybe also add logging here?","commit_id":"5b7ea56b1e313e8ae9d88329011927751164484b"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"7ff4126e107493cfb531ec0b3a4167f93b6b0f35","unresolved":false,"context_lines":[{"line_number":374,"context_line":"                # bootmode to UEFI and if it fails then we fall back to BIOS"},{"line_number":375,"context_line":"                # boot mode."},{"line_number":376,"context_line":"                p_boot_mode \u003d \u0027UEFI\u0027"},{"line_number":377,"context_line":"                ilo_object.set_pending_boot_mode(p_boot_mode)"},{"line_number":378,"context_line":""},{"line_number":379,"context_line":"        except ilo_error.IloCommandNotSupportedError:"},{"line_number":380,"context_line":"            p_boot_mode \u003d DEFAULT_BOOT_MODE"}],"source_content_type":"text/x-python","patch_set":7,"id":"ba7be1f8_2c041b49","line":377,"in_reply_to":"ba7be1f8_188b15c4","updated":"2015-02-24 16:18:14.000000000","message":"Done","commit_id":"5b7ea56b1e313e8ae9d88329011927751164484b"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"0ae5db12e22003a7734d4c403df5e83b349b504a","unresolved":false,"context_lines":[{"line_number":382,"context_line":"        p_boot_mode \u003d BOOT_MODE_ILO_TO_GENERIC[p_boot_mode.lower()]"},{"line_number":383,"context_line":""},{"line_number":384,"context_line":"    p_boot_mode \u003d p_boot_mode.lower()"},{"line_number":385,"context_line":"    instance_info[\u0027deploy_boot_mode\u0027] \u003d p_boot_mode"},{"line_number":386,"context_line":"    node.instance_info \u003d instance_info"},{"line_number":387,"context_line":"    node.save()"},{"line_number":388,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"ba7be1f8_f8b9e179","line":385,"updated":"2015-02-24 12:24:53.000000000","message":"nit - can do just p_boot_mode.lower()","commit_id":"5b7ea56b1e313e8ae9d88329011927751164484b"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"7ff4126e107493cfb531ec0b3a4167f93b6b0f35","unresolved":false,"context_lines":[{"line_number":382,"context_line":"        p_boot_mode \u003d BOOT_MODE_ILO_TO_GENERIC[p_boot_mode.lower()]"},{"line_number":383,"context_line":""},{"line_number":384,"context_line":"    p_boot_mode \u003d p_boot_mode.lower()"},{"line_number":385,"context_line":"    instance_info[\u0027deploy_boot_mode\u0027] \u003d p_boot_mode"},{"line_number":386,"context_line":"    node.instance_info \u003d instance_info"},{"line_number":387,"context_line":"    node.save()"},{"line_number":388,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"ba7be1f8_6ce373a4","line":385,"in_reply_to":"ba7be1f8_f8b9e179","updated":"2015-02-24 16:18:14.000000000","message":"Done","commit_id":"5b7ea56b1e313e8ae9d88329011927751164484b"},{"author":{"_account_id":10765,"name":"Andre Aranha","email":"afaranha@lsd.ufcg.edu.br","username":"afaranha"},"change_message_id":"75c1b7368a235b64d994af59cfe6633bebc5dc43","unresolved":false,"context_lines":[{"line_number":387,"context_line":"                p_boot_mode \u003d BOOT_MODE_ILO_TO_GENERIC[p_boot_mode.lower()]"},{"line_number":388,"context_line":""},{"line_number":389,"context_line":"        except ilo_error.IloCommandNotSupportedError:"},{"line_number":390,"context_line":"            p_boot_mode \u003d \u0027bios\u0027"},{"line_number":391,"context_line":""},{"line_number":392,"context_line":"    instance_info[\u0027deploy_boot_mode\u0027] \u003d p_boot_mode"},{"line_number":393,"context_line":"    node.instance_info \u003d instance_info"}],"source_content_type":"text/x-python","patch_set":13,"id":"9a80dd14_4c6fef92","line":390,"updated":"2015-03-04 20:10:24.000000000","message":"Shouldn\u0027t it sets the boot_mode to the default one (DEFAULT_BOOT_MODE) ?","commit_id":"88e2737665d2155b6f3b45534cd8a903ddf0f5ed"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"e7915b03d8a19205f996d1b0bf4b8650143b30f3","unresolved":false,"context_lines":[{"line_number":387,"context_line":"                p_boot_mode \u003d BOOT_MODE_ILO_TO_GENERIC[p_boot_mode.lower()]"},{"line_number":388,"context_line":""},{"line_number":389,"context_line":"        except ilo_error.IloCommandNotSupportedError:"},{"line_number":390,"context_line":"            p_boot_mode \u003d \u0027bios\u0027"},{"line_number":391,"context_line":""},{"line_number":392,"context_line":"    instance_info[\u0027deploy_boot_mode\u0027] \u003d p_boot_mode"},{"line_number":393,"context_line":"    node.instance_info \u003d instance_info"}],"source_content_type":"text/x-python","patch_set":13,"id":"9a80dd14_feee778a","line":390,"in_reply_to":"9a80dd14_4c6fef92","updated":"2015-03-05 03:36:51.000000000","message":"No. \nDEFAULT_BOOT_MODE value is \u0027LEGACY\u0027. It is iLO convention for bios. In the Node instance_info it should be populated as per ironic convention. .","commit_id":"88e2737665d2155b6f3b45534cd8a903ddf0f5ed"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"e341807d4cd215e4429f2441502917ccaa36ca82","unresolved":false,"context_lines":[{"line_number":344,"context_line":""},{"line_number":345,"context_line":"    # We can directly set the boot mode based on instance_info, if it"},{"line_number":346,"context_line":"    # is available. This is useful, if we were to call this method again."},{"line_number":347,"context_line":"    boot_mode \u003d instance_info.get(\u0027deploy_boot_mode\u0027, None)"},{"line_number":348,"context_line":"    if boot_mode is not None:"},{"line_number":349,"context_line":"        LOG.debug(\"Node %(uuid)s boot mode is being set to %(boot_mode)s \""},{"line_number":350,"context_line":"                  \"using instance_info.\","}],"source_content_type":"text/x-python","patch_set":16,"id":"9a80dd14_7955d3f8","line":347,"updated":"2015-03-06 22:31:41.000000000","message":"nit: None is default for \u0027get\u0027 operation.  So not needed.","commit_id":"a8f744b578576ad5fb41ed4cfa8562dab1c9fd47"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"96d1f31096b51a5384cddb8e07d61582687e09d1","unresolved":false,"context_lines":[{"line_number":344,"context_line":""},{"line_number":345,"context_line":"    # We can directly set the boot mode based on instance_info, if it"},{"line_number":346,"context_line":"    # is available. This is useful, if we were to call this method again."},{"line_number":347,"context_line":"    boot_mode \u003d instance_info.get(\u0027deploy_boot_mode\u0027, None)"},{"line_number":348,"context_line":"    if boot_mode is not None:"},{"line_number":349,"context_line":"        LOG.debug(\"Node %(uuid)s boot mode is being set to %(boot_mode)s \""},{"line_number":350,"context_line":"                  \"using instance_info.\","}],"source_content_type":"text/x-python","patch_set":16,"id":"9a80dd14_9f8a62bd","line":347,"in_reply_to":"9a80dd14_7955d3f8","updated":"2015-03-07 06:27:40.000000000","message":"Done","commit_id":"a8f744b578576ad5fb41ed4cfa8562dab1c9fd47"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"e341807d4cd215e4429f2441502917ccaa36ca82","unresolved":false,"context_lines":[{"line_number":353,"context_line":"        return"},{"line_number":354,"context_line":""},{"line_number":355,"context_line":"    # Need to compute boot mode."},{"line_number":356,"context_line":"    p_boot_mode \u003d \u0027bios\u0027"},{"line_number":357,"context_line":""},{"line_number":358,"context_line":"    boot_mode \u003d driver_utils.get_node_capability(task.node,"},{"line_number":359,"context_line":"                                                 \u0027boot_mode\u0027)"}],"source_content_type":"text/x-python","patch_set":16,"id":"9a80dd14_995a8728","line":356,"updated":"2015-03-06 22:31:41.000000000","message":"What is the value of this?  It seems like it will always get overwritten.  Also curious why it is called p_boot_mode and not just boot_mode","commit_id":"a8f744b578576ad5fb41ed4cfa8562dab1c9fd47"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"96d1f31096b51a5384cddb8e07d61582687e09d1","unresolved":false,"context_lines":[{"line_number":353,"context_line":"        return"},{"line_number":354,"context_line":""},{"line_number":355,"context_line":"    # Need to compute boot mode."},{"line_number":356,"context_line":"    p_boot_mode \u003d \u0027bios\u0027"},{"line_number":357,"context_line":""},{"line_number":358,"context_line":"    boot_mode \u003d driver_utils.get_node_capability(task.node,"},{"line_number":359,"context_line":"                                                 \u0027boot_mode\u0027)"}],"source_content_type":"text/x-python","patch_set":16,"id":"9a80dd14_7fd4cebc","line":356,"in_reply_to":"9a80dd14_995a8728","updated":"2015-03-07 06:27:40.000000000","message":"Changed it to boot_mode","commit_id":"a8f744b578576ad5fb41ed4cfa8562dab1c9fd47"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"e341807d4cd215e4429f2441502917ccaa36ca82","unresolved":false,"context_lines":[{"line_number":355,"context_line":"    # Need to compute boot mode."},{"line_number":356,"context_line":"    p_boot_mode \u003d \u0027bios\u0027"},{"line_number":357,"context_line":""},{"line_number":358,"context_line":"    boot_mode \u003d driver_utils.get_node_capability(task.node,"},{"line_number":359,"context_line":"                                                 \u0027boot_mode\u0027)"},{"line_number":360,"context_line":"    if boot_mode is not None:"},{"line_number":361,"context_line":"        p_boot_mode \u003d boot_mode.lower()"}],"source_content_type":"text/x-python","patch_set":16,"id":"9a80dd14_b942eb3b","line":358,"updated":"2015-03-06 22:31:41.000000000","message":"Seems like this could be p_boot_mode","commit_id":"a8f744b578576ad5fb41ed4cfa8562dab1c9fd47"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"96d1f31096b51a5384cddb8e07d61582687e09d1","unresolved":false,"context_lines":[{"line_number":355,"context_line":"    # Need to compute boot mode."},{"line_number":356,"context_line":"    p_boot_mode \u003d \u0027bios\u0027"},{"line_number":357,"context_line":""},{"line_number":358,"context_line":"    boot_mode \u003d driver_utils.get_node_capability(task.node,"},{"line_number":359,"context_line":"                                                 \u0027boot_mode\u0027)"},{"line_number":360,"context_line":"    if boot_mode is not None:"},{"line_number":361,"context_line":"        p_boot_mode \u003d boot_mode.lower()"}],"source_content_type":"text/x-python","patch_set":16,"id":"9a80dd14_ff7b5ebb","line":358,"in_reply_to":"9a80dd14_b942eb3b","updated":"2015-03-07 06:27:40.000000000","message":"Done","commit_id":"a8f744b578576ad5fb41ed4cfa8562dab1c9fd47"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"1f49060e0ccedf3e781b27a543f6c851c0b2acb9","unresolved":false,"context_lines":[{"line_number":338,"context_line":""},{"line_number":339,"context_line":"    \"\"\""},{"line_number":340,"context_line":""},{"line_number":341,"context_line":"    # If instance_info is already updated, use it and set the boot mode"},{"line_number":342,"context_line":"    node \u003d task.node"},{"line_number":343,"context_line":"    instance_info \u003d node.instance_info"},{"line_number":344,"context_line":""}],"source_content_type":"text/x-python","patch_set":18,"id":"9a80dd14_44716443","line":341,"updated":"2015-03-11 18:46:08.000000000","message":"I would either get rid of this comment, or move it/combine it with your comment in L345.","commit_id":"e4769e76e52c1e998dcdc4dd318ecbbb1bbc32b3"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"e58064e0fd0a901393c7e222e1845eae70d347ee","unresolved":false,"context_lines":[{"line_number":338,"context_line":""},{"line_number":339,"context_line":"    \"\"\""},{"line_number":340,"context_line":""},{"line_number":341,"context_line":"    # If instance_info is already updated, use it and set the boot mode"},{"line_number":342,"context_line":"    node \u003d task.node"},{"line_number":343,"context_line":"    instance_info \u003d node.instance_info"},{"line_number":344,"context_line":""}],"source_content_type":"text/x-python","patch_set":18,"id":"9a80dd14_dec42a43","line":341,"in_reply_to":"9a80dd14_44716443","updated":"2015-03-12 05:31:08.000000000","message":"Done","commit_id":"e4769e76e52c1e998dcdc4dd318ecbbb1bbc32b3"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"1f49060e0ccedf3e781b27a543f6c851c0b2acb9","unresolved":false,"context_lines":[{"line_number":347,"context_line":"    boot_mode \u003d instance_info.get(\u0027deploy_boot_mode\u0027)"},{"line_number":348,"context_line":"    if boot_mode is not None:"},{"line_number":349,"context_line":"        LOG.debug(\"Node %(uuid)s boot mode is being set to %(boot_mode)s \""},{"line_number":350,"context_line":"                  \"using instance_info.\","},{"line_number":351,"context_line":"                  {\u0027uuid\u0027: node.uuid, \u0027boot_mode\u0027: boot_mode})"},{"line_number":352,"context_line":"        set_boot_mode(task.node, boot_mode.lower())"},{"line_number":353,"context_line":"        return"}],"source_content_type":"text/x-python","patch_set":18,"id":"9a80dd14_a4d140cf","line":350,"updated":"2015-03-11 18:46:08.000000000","message":"This makes it sound like you\u0027re using instance_info to set the node\u0027s boot mode.\n\nhow about s/using instance_info/(value from instance_info)/ or\ns/(using instance_info/(value from instance_info[\u0027deploy_boot_mode\u0027])/\nor\n\u0027Node .. will be set to boot mode value from node\u0027s instance_info[\u0027deploy_boot_mode\u0027]: %(boot_mode)s\u0027.","commit_id":"e4769e76e52c1e998dcdc4dd318ecbbb1bbc32b3"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"e58064e0fd0a901393c7e222e1845eae70d347ee","unresolved":false,"context_lines":[{"line_number":347,"context_line":"    boot_mode \u003d instance_info.get(\u0027deploy_boot_mode\u0027)"},{"line_number":348,"context_line":"    if boot_mode is not None:"},{"line_number":349,"context_line":"        LOG.debug(\"Node %(uuid)s boot mode is being set to %(boot_mode)s \""},{"line_number":350,"context_line":"                  \"using instance_info.\","},{"line_number":351,"context_line":"                  {\u0027uuid\u0027: node.uuid, \u0027boot_mode\u0027: boot_mode})"},{"line_number":352,"context_line":"        set_boot_mode(task.node, boot_mode.lower())"},{"line_number":353,"context_line":"        return"}],"source_content_type":"text/x-python","patch_set":18,"id":"9a80dd14_fec3ae35","line":350,"in_reply_to":"9a80dd14_a4d140cf","updated":"2015-03-12 05:31:08.000000000","message":"Done","commit_id":"e4769e76e52c1e998dcdc4dd318ecbbb1bbc32b3"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"1f49060e0ccedf3e781b27a543f6c851c0b2acb9","unresolved":false,"context_lines":[{"line_number":352,"context_line":"        set_boot_mode(task.node, boot_mode.lower())"},{"line_number":353,"context_line":"        return"},{"line_number":354,"context_line":""},{"line_number":355,"context_line":"    # Need to compute boot mode."},{"line_number":356,"context_line":"    boot_mode \u003d driver_utils.get_node_capability(task.node,"},{"line_number":357,"context_line":"                                                 \u0027boot_mode\u0027)"},{"line_number":358,"context_line":"    if boot_mode is not None:"}],"source_content_type":"text/x-python","patch_set":18,"id":"9a80dd14_e4afb829","line":355,"updated":"2015-03-11 18:46:08.000000000","message":"you\u0027re not really computing the boot mode? You\u0027re just getting the value from properties/capabilites.","commit_id":"e4769e76e52c1e998dcdc4dd318ecbbb1bbc32b3"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"e58064e0fd0a901393c7e222e1845eae70d347ee","unresolved":false,"context_lines":[{"line_number":352,"context_line":"        set_boot_mode(task.node, boot_mode.lower())"},{"line_number":353,"context_line":"        return"},{"line_number":354,"context_line":""},{"line_number":355,"context_line":"    # Need to compute boot mode."},{"line_number":356,"context_line":"    boot_mode \u003d driver_utils.get_node_capability(task.node,"},{"line_number":357,"context_line":"                                                 \u0027boot_mode\u0027)"},{"line_number":358,"context_line":"    if boot_mode is not None:"}],"source_content_type":"text/x-python","patch_set":18,"id":"9a80dd14_bed056f8","line":355,"in_reply_to":"9a80dd14_e4afb829","updated":"2015-03-12 05:31:08.000000000","message":"Done","commit_id":"e4769e76e52c1e998dcdc4dd318ecbbb1bbc32b3"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"1f49060e0ccedf3e781b27a543f6c851c0b2acb9","unresolved":false,"context_lines":[{"line_number":361,"context_line":"                  \"based on node capability.\","},{"line_number":362,"context_line":"                  {\u0027uuid\u0027: node.uuid, \u0027boot_mode\u0027: boot_mode})"},{"line_number":363,"context_line":"        set_boot_mode(task.node, boot_mode)"},{"line_number":364,"context_line":""},{"line_number":365,"context_line":"    else:"},{"line_number":366,"context_line":"        LOG.debug(\"Check pending boot mode for node %s.\", node.uuid)"},{"line_number":367,"context_line":"        ilo_object \u003d get_ilo_object(task.node)"}],"source_content_type":"text/x-python","patch_set":18,"id":"9a80dd14_44532439","line":364,"updated":"2015-03-11 18:46:08.000000000","message":"All the above is really a call to boot_mode \u003d .. get_effective_boot_mode(), if boot_mode:...\n\nDid you do this because you wanted to log where the value came from?","commit_id":"e4769e76e52c1e998dcdc4dd318ecbbb1bbc32b3"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"e58064e0fd0a901393c7e222e1845eae70d347ee","unresolved":false,"context_lines":[{"line_number":361,"context_line":"                  \"based on node capability.\","},{"line_number":362,"context_line":"                  {\u0027uuid\u0027: node.uuid, \u0027boot_mode\u0027: boot_mode})"},{"line_number":363,"context_line":"        set_boot_mode(task.node, boot_mode)"},{"line_number":364,"context_line":""},{"line_number":365,"context_line":"    else:"},{"line_number":366,"context_line":"        LOG.debug(\"Check pending boot mode for node %s.\", node.uuid)"},{"line_number":367,"context_line":"        ilo_object \u003d get_ilo_object(task.node)"}],"source_content_type":"text/x-python","patch_set":18,"id":"9a80dd14_decb4a48","line":364,"in_reply_to":"9a80dd14_44532439","updated":"2015-03-12 05:31:08.000000000","message":"Done","commit_id":"e4769e76e52c1e998dcdc4dd318ecbbb1bbc32b3"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"1f49060e0ccedf3e781b27a543f6c851c0b2acb9","unresolved":false,"context_lines":[{"line_number":378,"context_line":"                ilo_object.set_pending_boot_mode("},{"line_number":379,"context_line":"                                 BOOT_MODE_GENERIC_TO_ILO[boot_mode].upper())"},{"line_number":380,"context_line":"                LOG.debug(\"Node %(uuid)s boot mode is being set \""},{"line_number":381,"context_line":"                          \"to %(boot_mode)s based on pending boot mode.\","},{"line_number":382,"context_line":"                          {\u0027uuid\u0027: node.uuid,"},{"line_number":383,"context_line":"                           \u0027boot_mode\u0027: boot_mode})"},{"line_number":384,"context_line":"            else:"}],"source_content_type":"text/x-python","patch_set":18,"id":"9a80dd14_b86ec0c7","line":381,"updated":"2015-03-11 18:46:08.000000000","message":"do you want to mention that it is based on pending boot mode of \u0027UNKNOWN\u0027?","commit_id":"e4769e76e52c1e998dcdc4dd318ecbbb1bbc32b3"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"e58064e0fd0a901393c7e222e1845eae70d347ee","unresolved":false,"context_lines":[{"line_number":378,"context_line":"                ilo_object.set_pending_boot_mode("},{"line_number":379,"context_line":"                                 BOOT_MODE_GENERIC_TO_ILO[boot_mode].upper())"},{"line_number":380,"context_line":"                LOG.debug(\"Node %(uuid)s boot mode is being set \""},{"line_number":381,"context_line":"                          \"to %(boot_mode)s based on pending boot mode.\","},{"line_number":382,"context_line":"                          {\u0027uuid\u0027: node.uuid,"},{"line_number":383,"context_line":"                           \u0027boot_mode\u0027: boot_mode})"},{"line_number":384,"context_line":"            else:"}],"source_content_type":"text/x-python","patch_set":18,"id":"9a80dd14_3e04667d","line":381,"in_reply_to":"9a80dd14_b86ec0c7","updated":"2015-03-12 05:31:08.000000000","message":"Done","commit_id":"e4769e76e52c1e998dcdc4dd318ecbbb1bbc32b3"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"1f49060e0ccedf3e781b27a543f6c851c0b2acb9","unresolved":false,"context_lines":[{"line_number":389,"context_line":""},{"line_number":390,"context_line":"    instance_info[\u0027deploy_boot_mode\u0027] \u003d boot_mode"},{"line_number":391,"context_line":"    node.instance_info \u003d instance_info"},{"line_number":392,"context_line":"    node.save()"},{"line_number":393,"context_line":""},{"line_number":394,"context_line":""},{"line_number":395,"context_line":"def setup_vmedia_for_boot(task, boot_iso, parameters\u003dNone):"}],"source_content_type":"text/x-python","patch_set":18,"id":"9a80dd14_f8c3d887","line":392,"updated":"2015-03-11 18:46:08.000000000","message":"why do you need/want to save this in instance_info if it is already in properties/capabilities?","commit_id":"e4769e76e52c1e998dcdc4dd318ecbbb1bbc32b3"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"e58064e0fd0a901393c7e222e1845eae70d347ee","unresolved":false,"context_lines":[{"line_number":389,"context_line":""},{"line_number":390,"context_line":"    instance_info[\u0027deploy_boot_mode\u0027] \u003d boot_mode"},{"line_number":391,"context_line":"    node.instance_info \u003d instance_info"},{"line_number":392,"context_line":"    node.save()"},{"line_number":393,"context_line":""},{"line_number":394,"context_line":""},{"line_number":395,"context_line":"def setup_vmedia_for_boot(task, boot_iso, parameters\u003dNone):"}],"source_content_type":"text/x-python","patch_set":18,"id":"9a80dd14_de4eeac1","line":392,"in_reply_to":"9a80dd14_f8c3d887","updated":"2015-03-12 05:31:08.000000000","message":"Done","commit_id":"e4769e76e52c1e998dcdc4dd318ecbbb1bbc32b3"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"59b4ea78ce493b8a81238b1449e9c986f61502e2","unresolved":false,"context_lines":[{"line_number":375,"context_line":"            boot_mode \u003d \u0027bios\u0027"},{"line_number":376,"context_line":""},{"line_number":377,"context_line":"    cap_boot_mode \u003d driver_utils.get_node_capability(node, \u0027boot_mode\u0027)"},{"line_number":378,"context_line":"    if cap_boot_mode is None:"},{"line_number":379,"context_line":"        instance_info \u003d node.instance_info"},{"line_number":380,"context_line":"        instance_info[\u0027deploy_boot_mode\u0027] \u003d boot_mode"},{"line_number":381,"context_line":"        node.instance_info \u003d instance_info"}],"source_content_type":"text/x-python","patch_set":19,"id":"9a80dd14_9537d1af","line":378,"updated":"2015-03-12 17:32:43.000000000","message":"I don\u0027t think that this check is needed. We know it isn\u0027t specified because the call to get_boot_mode_for_deploy() above returned None.","commit_id":"f3aee7733deb5c3e046c27c73c6e56a97b862374"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"63503c74cc0f380801dd9b2035b52e21935c31ff","unresolved":false,"context_lines":[{"line_number":375,"context_line":"            boot_mode \u003d \u0027bios\u0027"},{"line_number":376,"context_line":""},{"line_number":377,"context_line":"    cap_boot_mode \u003d driver_utils.get_node_capability(node, \u0027boot_mode\u0027)"},{"line_number":378,"context_line":"    if cap_boot_mode is None:"},{"line_number":379,"context_line":"        instance_info \u003d node.instance_info"},{"line_number":380,"context_line":"        instance_info[\u0027deploy_boot_mode\u0027] \u003d boot_mode"},{"line_number":381,"context_line":"        node.instance_info \u003d instance_info"}],"source_content_type":"text/x-python","patch_set":19,"id":"9a80dd14_6c40c5a5","line":378,"in_reply_to":"9a80dd14_9537d1af","updated":"2015-03-13 01:58:59.000000000","message":"Done","commit_id":"f3aee7733deb5c3e046c27c73c6e56a97b862374"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"ddddf519a22e2c3cdb38489c2b2a710ca3aae79f","unresolved":false,"context_lines":[{"line_number":348,"context_line":"        set_boot_mode(node, boot_mode.lower())"},{"line_number":349,"context_line":"        return"},{"line_number":350,"context_line":""},{"line_number":351,"context_line":"    else:"},{"line_number":352,"context_line":"        LOG.debug(\"Check pending boot mode for node %s.\", node.uuid)"},{"line_number":353,"context_line":"        ilo_object \u003d get_ilo_object(node)"},{"line_number":354,"context_line":""}],"source_content_type":"text/x-python","patch_set":20,"id":"9a80dd14_d248635e","line":351,"updated":"2015-03-13 05:19:20.000000000","message":"No need of this else statement as if block returns.","commit_id":"ac66e59b9123f52f8a00f03d5d6b6b64e8e3ab12"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"05db0f769e391ca2500da05a3d46b97672024c3f","unresolved":false,"context_lines":[{"line_number":367,"context_line":"        else:"},{"line_number":368,"context_line":"            boot_mode \u003d BOOT_MODE_ILO_TO_GENERIC[boot_mode.lower()]"},{"line_number":369,"context_line":""},{"line_number":370,"context_line":"    except ilo_error.IloCommandNotSupportedError:"},{"line_number":371,"context_line":"        boot_mode \u003d \u0027bios\u0027"},{"line_number":372,"context_line":""},{"line_number":373,"context_line":"    instance_info \u003d node.instance_info"}],"source_content_type":"text/x-python","patch_set":28,"id":"9a80dd14_f2587a8c","line":370,"updated":"2015-03-17 10:46:41.000000000","message":"And ilo_error.IloError is possible from ilo_object.set_pending_boot_mode() l362, like l321.","commit_id":"7ad8c9ccbd8b29fe6926033a8c30eb83a4b1d6ce"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"87d1541d7585edcb555accd1dbf8daf62e1ad23c","unresolved":false,"context_lines":[{"line_number":367,"context_line":"        else:"},{"line_number":368,"context_line":"            boot_mode \u003d BOOT_MODE_ILO_TO_GENERIC[boot_mode.lower()]"},{"line_number":369,"context_line":""},{"line_number":370,"context_line":"    except ilo_error.IloCommandNotSupportedError:"},{"line_number":371,"context_line":"        boot_mode \u003d \u0027bios\u0027"},{"line_number":372,"context_line":""},{"line_number":373,"context_line":"    instance_info \u003d node.instance_info"}],"source_content_type":"text/x-python","patch_set":28,"id":"9a80dd14_f1478f75","line":370,"in_reply_to":"9a80dd14_f2587a8c","updated":"2015-03-17 14:21:11.000000000","message":"Done","commit_id":"7ad8c9ccbd8b29fe6926033a8c30eb83a4b1d6ce"},{"author":{"_account_id":9315,"name":"ramesh","email":"rameshg87@gmail.com","username":"rameshg87"},"change_message_id":"fe813f25e4769d3f9673d933e2c178e471e415ea","unresolved":false,"context_lines":[{"line_number":370,"context_line":""},{"line_number":371,"context_line":"    try:"},{"line_number":372,"context_line":"        boot_mode \u003d ilo_object.get_pending_boot_mode()"},{"line_number":373,"context_line":"        if boot_mode !\u003d \u0027UNKNOWN\u0027:"},{"line_number":374,"context_line":"            boot_mode \u003d BOOT_MODE_ILO_TO_GENERIC[boot_mode.lower()]"},{"line_number":375,"context_line":"    except ilo_error.IloCommandNotSupportedError:"},{"line_number":376,"context_line":"        boot_mode \u003d \u0027bios\u0027"}],"source_content_type":"text/x-python","patch_set":36,"id":"9a80dd14_1e0ad4d1","line":373,"updated":"2015-03-20 08:52:34.000000000","message":"nit: could have moved this out of try/except block.","commit_id":"f6a9f430355cde43d2511cf180f2d41099471888"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"97b3d11a735dc6380d29d4c0e6d5f803fca5766b","unresolved":false,"context_lines":[{"line_number":370,"context_line":""},{"line_number":371,"context_line":"    try:"},{"line_number":372,"context_line":"        boot_mode \u003d ilo_object.get_pending_boot_mode()"},{"line_number":373,"context_line":"        if boot_mode !\u003d \u0027UNKNOWN\u0027:"},{"line_number":374,"context_line":"            boot_mode \u003d BOOT_MODE_ILO_TO_GENERIC[boot_mode.lower()]"},{"line_number":375,"context_line":"    except ilo_error.IloCommandNotSupportedError:"},{"line_number":376,"context_line":"        boot_mode \u003d \u0027bios\u0027"}],"source_content_type":"text/x-python","patch_set":36,"id":"9a80dd14_057d1c6d","line":373,"in_reply_to":"9a80dd14_1e0ad4d1","updated":"2015-03-20 13:05:29.000000000","message":"Done","commit_id":"f6a9f430355cde43d2511cf180f2d41099471888"},{"author":{"_account_id":9315,"name":"ramesh","email":"rameshg87@gmail.com","username":"rameshg87"},"change_message_id":"fe813f25e4769d3f9673d933e2c178e471e415ea","unresolved":false,"context_lines":[{"line_number":384,"context_line":"            boot_mode \u003d \u0027uefi\u0027"},{"line_number":385,"context_line":"            ilo_object.set_pending_boot_mode("},{"line_number":386,"context_line":"                                   BOOT_MODE_GENERIC_TO_ILO[boot_mode].upper())"},{"line_number":387,"context_line":"            LOG.debug(\"Node %(uuid)s boot mode is being set to %(boot_mode)s \""},{"line_number":388,"context_line":"                      \"as pending boot mode is unknown.\","},{"line_number":389,"context_line":"                      {\u0027uuid\u0027: node.uuid, \u0027boot_mode\u0027: boot_mode})"},{"line_number":390,"context_line":"        except ilo_error.IloError as ilo_exception:"}],"source_content_type":"text/x-python","patch_set":36,"id":"9a80dd14_5e10ccff","line":387,"updated":"2015-03-20 08:52:34.000000000","message":"nit: could have moved this out of try/except block.","commit_id":"f6a9f430355cde43d2511cf180f2d41099471888"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"97b3d11a735dc6380d29d4c0e6d5f803fca5766b","unresolved":false,"context_lines":[{"line_number":384,"context_line":"            boot_mode \u003d \u0027uefi\u0027"},{"line_number":385,"context_line":"            ilo_object.set_pending_boot_mode("},{"line_number":386,"context_line":"                                   BOOT_MODE_GENERIC_TO_ILO[boot_mode].upper())"},{"line_number":387,"context_line":"            LOG.debug(\"Node %(uuid)s boot mode is being set to %(boot_mode)s \""},{"line_number":388,"context_line":"                      \"as pending boot mode is unknown.\","},{"line_number":389,"context_line":"                      {\u0027uuid\u0027: node.uuid, \u0027boot_mode\u0027: boot_mode})"},{"line_number":390,"context_line":"        except ilo_error.IloError as ilo_exception:"}],"source_content_type":"text/x-python","patch_set":36,"id":"9a80dd14_9afec704","line":387,"in_reply_to":"9a80dd14_5e10ccff","updated":"2015-03-20 13:05:29.000000000","message":"Done","commit_id":"f6a9f430355cde43d2511cf180f2d41099471888"},{"author":{"_account_id":9315,"name":"ramesh","email":"rameshg87@gmail.com","username":"rameshg87"},"change_message_id":"fe813f25e4769d3f9673d933e2c178e471e415ea","unresolved":false,"context_lines":[{"line_number":390,"context_line":"        except ilo_error.IloError as ilo_exception:"},{"line_number":391,"context_line":"            operation \u003d _(\"Setting %s as boot mode\") % boot_mode"},{"line_number":392,"context_line":"            raise exception.IloOperationError(operation\u003doperation,"},{"line_number":393,"context_line":"                                          error\u003dilo_exception)"},{"line_number":394,"context_line":""},{"line_number":395,"context_line":"    instance_info \u003d node.instance_info"},{"line_number":396,"context_line":"    instance_info[\u0027deploy_boot_mode\u0027] \u003d boot_mode"}],"source_content_type":"text/x-python","patch_set":36,"id":"9a80dd14_7e73d07f","line":393,"updated":"2015-03-20 08:52:34.000000000","message":"nit: indentation.","commit_id":"f6a9f430355cde43d2511cf180f2d41099471888"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"97b3d11a735dc6380d29d4c0e6d5f803fca5766b","unresolved":false,"context_lines":[{"line_number":390,"context_line":"        except ilo_error.IloError as ilo_exception:"},{"line_number":391,"context_line":"            operation \u003d _(\"Setting %s as boot mode\") % boot_mode"},{"line_number":392,"context_line":"            raise exception.IloOperationError(operation\u003doperation,"},{"line_number":393,"context_line":"                                          error\u003dilo_exception)"},{"line_number":394,"context_line":""},{"line_number":395,"context_line":"    instance_info \u003d node.instance_info"},{"line_number":396,"context_line":"    instance_info[\u0027deploy_boot_mode\u0027] \u003d boot_mode"}],"source_content_type":"text/x-python","patch_set":36,"id":"9a80dd14_e506481b","line":393,"in_reply_to":"9a80dd14_7e73d07f","updated":"2015-03-20 13:05:29.000000000","message":"Done","commit_id":"f6a9f430355cde43d2511cf180f2d41099471888"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"7eb19fcd454c4ad1e9381c61f9790acacce9e98e","unresolved":false,"context_lines":[{"line_number":386,"context_line":"            ilo_object.set_pending_boot_mode("},{"line_number":387,"context_line":"                                   BOOT_MODE_GENERIC_TO_ILO[boot_mode].upper())"},{"line_number":388,"context_line":"        except ilo_error.IloError as ilo_exception:"},{"line_number":389,"context_line":"            operation \u003d _(\"Setting %s as boot mode\") % boot_mode"},{"line_number":390,"context_line":"            raise exception.IloOperationError(operation\u003doperation,"},{"line_number":391,"context_line":"                                              error\u003dilo_exception)"},{"line_number":392,"context_line":""}],"source_content_type":"text/x-python","patch_set":39,"id":"1a6ced46_e668e089","line":389,"updated":"2015-03-21 19:57:29.000000000","message":"It\u0027s not new, same one is on L340.","commit_id":"710f4104f35aaec9adcbddb1c444b32821dd10ea"}],"ironic/drivers/modules/ilo/deploy.py":[{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"731898ab27af5dd8a79acfdb2097bd4bc87f2f5a","unresolved":false,"context_lines":[{"line_number":223,"context_line":"    manager_utils.node_power_action(task, states.REBOOT)"},{"line_number":224,"context_line":""},{"line_number":225,"context_line":""},{"line_number":226,"context_line":"def _clear_driver_internal_info(node):"},{"line_number":227,"context_line":"    \"\"\"Clears driver_internal_info in Node"},{"line_number":228,"context_line":""},{"line_number":229,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"da86d52c_7abd57d7","line":226,"updated":"2015-02-13 15:50:54.000000000","message":"This function only clear \u0027deploy_boot_mode\u0027.","commit_id":"c8b3543078ab46527441750bd880c9ec8e46729d"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"f84e3febb95d9303d6ebf8b74214fcfa331d0677","unresolved":false,"context_lines":[{"line_number":223,"context_line":"    manager_utils.node_power_action(task, states.REBOOT)"},{"line_number":224,"context_line":""},{"line_number":225,"context_line":""},{"line_number":226,"context_line":"def _clear_driver_internal_info(node):"},{"line_number":227,"context_line":"    \"\"\"Clears driver_internal_info in Node"},{"line_number":228,"context_line":""},{"line_number":229,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"da86d52c_5a46bd22","line":226,"in_reply_to":"da86d52c_7abd57d7","updated":"2015-02-14 03:39:53.000000000","message":"This would be  a common method to clear all the fields in driver_internal_info during tear_down operation. Currentlly it only clears \u0027deploy_boot_mode\u0027 field.\n\nHave added that explicitly in the docstring.","commit_id":"c8b3543078ab46527441750bd880c9ec8e46729d"}],"ironic/drivers/utils.py":[{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"731898ab27af5dd8a79acfdb2097bd4bc87f2f5a","unresolved":false,"context_lines":[{"line_number":250,"context_line":""},{"line_number":251,"context_line":"    :param node: an ironic node object."},{"line_number":252,"context_line":"    :returns: Value of boot mode that would be used for deploy."},{"line_number":253,"context_line":"              Possible values are \u0027bios\u0027, \u0027uefi\u0027 None."},{"line_number":254,"context_line":""},{"line_number":255,"context_line":"    \"\"\""},{"line_number":256,"context_line":"    driver_internal_info \u003d node.driver_internal_info"}],"source_content_type":"text/x-python","patch_set":2,"id":"da86d52c_3ad67ff2","line":253,"updated":"2015-02-13 15:50:54.000000000","message":"Or None, \u0027If capability is not present, then return \"None\"\u0027.","commit_id":"c8b3543078ab46527441750bd880c9ec8e46729d"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"f84e3febb95d9303d6ebf8b74214fcfa331d0677","unresolved":false,"context_lines":[{"line_number":250,"context_line":""},{"line_number":251,"context_line":"    :param node: an ironic node object."},{"line_number":252,"context_line":"    :returns: Value of boot mode that would be used for deploy."},{"line_number":253,"context_line":"              Possible values are \u0027bios\u0027, \u0027uefi\u0027 None."},{"line_number":254,"context_line":""},{"line_number":255,"context_line":"    \"\"\""},{"line_number":256,"context_line":"    driver_internal_info \u003d node.driver_internal_info"}],"source_content_type":"text/x-python","patch_set":2,"id":"da86d52c_5af4fdce","line":253,"in_reply_to":"da86d52c_3ad67ff2","updated":"2015-02-14 03:39:53.000000000","message":"Done","commit_id":"c8b3543078ab46527441750bd880c9ec8e46729d"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"1f49060e0ccedf3e781b27a543f6c851c0b2acb9","unresolved":false,"context_lines":[{"line_number":241,"context_line":"    validate_capability(node, \u0027boot_option\u0027, (\u0027local\u0027, \u0027netboot\u0027))"},{"line_number":242,"context_line":""},{"line_number":243,"context_line":""},{"line_number":244,"context_line":"def get_effective_boot_mode(node):"},{"line_number":245,"context_line":"    \"\"\"Returns the effective boot mode that would be used for deploy."},{"line_number":246,"context_line":""},{"line_number":247,"context_line":"    This method returns deploy_boot_mode available in node field"}],"source_content_type":"text/x-python","patch_set":18,"id":"9a80dd14_c9380d40","line":244,"updated":"2015-03-11 18:46:08.000000000","message":"interesting. I probably would have just called it \u0027get_boot_mode\u0027 or \u0027get_boot_mode_for_deploy\u0027. (You can leave it with \u0027effective\u0027; it just made me wonder whether it was needed or not.)","commit_id":"e4769e76e52c1e998dcdc4dd318ecbbb1bbc32b3"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"e58064e0fd0a901393c7e222e1845eae70d347ee","unresolved":false,"context_lines":[{"line_number":241,"context_line":"    validate_capability(node, \u0027boot_option\u0027, (\u0027local\u0027, \u0027netboot\u0027))"},{"line_number":242,"context_line":""},{"line_number":243,"context_line":""},{"line_number":244,"context_line":"def get_effective_boot_mode(node):"},{"line_number":245,"context_line":"    \"\"\"Returns the effective boot mode that would be used for deploy."},{"line_number":246,"context_line":""},{"line_number":247,"context_line":"    This method returns deploy_boot_mode available in node field"}],"source_content_type":"text/x-python","patch_set":18,"id":"9a80dd14_9eeb9277","line":244,"in_reply_to":"9a80dd14_c9380d40","updated":"2015-03-12 05:31:08.000000000","message":"get_boot_mode_for_deploy() sounds better.","commit_id":"e4769e76e52c1e998dcdc4dd318ecbbb1bbc32b3"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"1f49060e0ccedf3e781b27a543f6c851c0b2acb9","unresolved":false,"context_lines":[{"line_number":246,"context_line":""},{"line_number":247,"context_line":"    This method returns deploy_boot_mode available in node field"},{"line_number":248,"context_line":"    instance_info, otherwise returns boot_mode from capabilities"},{"line_number":249,"context_line":"    property of node."},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"    :param node: an ironic node object."},{"line_number":252,"context_line":"    :returns: Value of boot mode that would be used for deploy."}],"source_content_type":"text/x-python","patch_set":18,"id":"9a80dd14_04aa0cd2","line":249,"updated":"2015-03-11 18:46:08.000000000","message":"Is the assumption then, that if it is specified in instance_info, that\u0027s the boot mode and that the driver/node supports that boot mode, regardless of what the node\u0027s properties[\u0027capabilities\u0027][\u0027boot_mode\u0027] is set to?\n\nEg, What if instance_info has \u0027uefi\u0027 and the properties... has \u0027bios\u0027? Maybe that cannot happen? (But I may be digressing here.)","commit_id":"e4769e76e52c1e998dcdc4dd318ecbbb1bbc32b3"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"e58064e0fd0a901393c7e222e1845eae70d347ee","unresolved":false,"context_lines":[{"line_number":246,"context_line":""},{"line_number":247,"context_line":"    This method returns deploy_boot_mode available in node field"},{"line_number":248,"context_line":"    instance_info, otherwise returns boot_mode from capabilities"},{"line_number":249,"context_line":"    property of node."},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"    :param node: an ironic node object."},{"line_number":252,"context_line":"    :returns: Value of boot mode that would be used for deploy."}],"source_content_type":"text/x-python","patch_set":18,"id":"9a80dd14_7e9fbe03","line":249,"in_reply_to":"9a80dd14_04aa0cd2","updated":"2015-03-12 05:31:08.000000000","message":"Initially I was always overwriting instance_info. But now with the changed logic instance_info is updated only if the properties[\u0027capabilities\u0027][\u0027boot_mode\u0027] is not set. Will swap the order.","commit_id":"e4769e76e52c1e998dcdc4dd318ecbbb1bbc32b3"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"59b4ea78ce493b8a81238b1449e9c986f61502e2","unresolved":false,"context_lines":[{"line_number":246,"context_line":""},{"line_number":247,"context_line":"    This method returns deploy_boot_mode available in node field"},{"line_number":248,"context_line":"    boot_mode from \u0027capabilities\u0027 of node \u0027properties\u0027."},{"line_number":249,"context_line":"    Otherwise returns boot mode using \u0027instance_info\u0027."},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"    :param node: an ironic node object."},{"line_number":252,"context_line":"    :returns: Value of boot mode that would be used for deploy."}],"source_content_type":"text/x-python","patch_set":19,"id":"9a80dd14_356385de","line":249,"updated":"2015-03-12 17:32:43.000000000","message":"s/using/specified in the node\u0027s/","commit_id":"f3aee7733deb5c3e046c27c73c6e56a97b862374"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"63503c74cc0f380801dd9b2035b52e21935c31ff","unresolved":false,"context_lines":[{"line_number":246,"context_line":""},{"line_number":247,"context_line":"    This method returns deploy_boot_mode available in node field"},{"line_number":248,"context_line":"    boot_mode from \u0027capabilities\u0027 of node \u0027properties\u0027."},{"line_number":249,"context_line":"    Otherwise returns boot mode using \u0027instance_info\u0027."},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"    :param node: an ironic node object."},{"line_number":252,"context_line":"    :returns: Value of boot mode that would be used for deploy."}],"source_content_type":"text/x-python","patch_set":19,"id":"9a80dd14_0c8029bf","line":249,"in_reply_to":"9a80dd14_356385de","updated":"2015-03-13 01:58:59.000000000","message":"Done","commit_id":"f3aee7733deb5c3e046c27c73c6e56a97b862374"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"59b4ea78ce493b8a81238b1449e9c986f61502e2","unresolved":false,"context_lines":[{"line_number":252,"context_line":"    :returns: Value of boot mode that would be used for deploy."},{"line_number":253,"context_line":"              Possible values are \u0027bios\u0027, \u0027uefi\u0027."},{"line_number":254,"context_line":"              It would return None if boot mode is present neither"},{"line_number":255,"context_line":"              in \u0027capabilities\u0027 of node \u0027properties\u0027 nor in \u0027instance_info\u0027."},{"line_number":256,"context_line":""},{"line_number":257,"context_line":"    \"\"\""},{"line_number":258,"context_line":"    boot_mode \u003d get_node_capability(node, \u0027boot_mode\u0027)"}],"source_content_type":"text/x-python","patch_set":19,"id":"9a80dd14_7546dd50","line":255,"updated":"2015-03-12 17:32:43.000000000","message":"how about \u0027if boot mode is not specified in the node\u0027s properties[\u0027capabiliities\u0027] and not specified in the node\u0027s instance_info.\u0027","commit_id":"f3aee7733deb5c3e046c27c73c6e56a97b862374"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"63503c74cc0f380801dd9b2035b52e21935c31ff","unresolved":false,"context_lines":[{"line_number":252,"context_line":"    :returns: Value of boot mode that would be used for deploy."},{"line_number":253,"context_line":"              Possible values are \u0027bios\u0027, \u0027uefi\u0027."},{"line_number":254,"context_line":"              It would return None if boot mode is present neither"},{"line_number":255,"context_line":"              in \u0027capabilities\u0027 of node \u0027properties\u0027 nor in \u0027instance_info\u0027."},{"line_number":256,"context_line":""},{"line_number":257,"context_line":"    \"\"\""},{"line_number":258,"context_line":"    boot_mode \u003d get_node_capability(node, \u0027boot_mode\u0027)"}],"source_content_type":"text/x-python","patch_set":19,"id":"9a80dd14_ecef5585","line":255,"in_reply_to":"9a80dd14_7546dd50","updated":"2015-03-13 01:58:59.000000000","message":"This sentence covers it as below. Did you mean anything else here?\n\n\"It would return None if boot mode is present neither in \u0027capabilities\u0027 of node \u0027properties\u0027 nor in node\u0027s \u0027instance_info\u0027.\"","commit_id":"f3aee7733deb5c3e046c27c73c6e56a97b862374"},{"author":{"_account_id":9315,"name":"ramesh","email":"rameshg87@gmail.com","username":"rameshg87"},"change_message_id":"fe813f25e4769d3f9673d933e2c178e471e415ea","unresolved":false,"context_lines":[{"line_number":272,"context_line":"        instance_info \u003d node.instance_info"},{"line_number":273,"context_line":"        boot_mode \u003d instance_info.get(\u0027deploy_boot_mode\u0027, None)"},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"    LOG.debug(\"Deploy boot mode is \u0027%s\u0027.\", boot_mode)"},{"line_number":276,"context_line":"    return boot_mode"}],"source_content_type":"text/x-python","patch_set":36,"id":"9a80dd14_de12fcfb","line":275,"updated":"2015-03-20 08:52:34.000000000","message":"nit: may be log node.uuid here.","commit_id":"f6a9f430355cde43d2511cf180f2d41099471888"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"97b3d11a735dc6380d29d4c0e6d5f803fca5766b","unresolved":false,"context_lines":[{"line_number":272,"context_line":"        instance_info \u003d node.instance_info"},{"line_number":273,"context_line":"        boot_mode \u003d instance_info.get(\u0027deploy_boot_mode\u0027, None)"},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"    LOG.debug(\"Deploy boot mode is \u0027%s\u0027.\", boot_mode)"},{"line_number":276,"context_line":"    return boot_mode"}],"source_content_type":"text/x-python","patch_set":36,"id":"9a80dd14_45e39404","line":275,"in_reply_to":"9a80dd14_de12fcfb","updated":"2015-03-20 13:05:29.000000000","message":"Done","commit_id":"f6a9f430355cde43d2511cf180f2d41099471888"}],"ironic/tests/drivers/ilo/test_deploy.py":[{"author":{"_account_id":9315,"name":"ramesh","email":"rameshg87@gmail.com","username":"rameshg87"},"change_message_id":"fe813f25e4769d3f9673d933e2c178e471e415ea","unresolved":false,"context_lines":[{"line_number":770,"context_line":""},{"line_number":771,"context_line":"    @mock.patch.object(pxe.PXEDeploy, \u0027prepare\u0027)"},{"line_number":772,"context_line":"    @mock.patch.object(ilo_common, \u0027update_boot_mode\u0027)"},{"line_number":773,"context_line":"    def test_prepare_boot_mode_doesnt_exist(self,"},{"line_number":774,"context_line":"                                            update_boot_mode_mock,"},{"line_number":775,"context_line":"                                            pxe_prepare_mock):"},{"line_number":776,"context_line":"        with task_manager.acquire(self.context, self.node.uuid,"}],"source_content_type":"text/x-python","patch_set":36,"id":"9a80dd14_3cbfa0d1","line":773,"updated":"2015-03-20 08:52:34.000000000","message":"Since we are mocking update_boot_mode, test_prepare and test_prepare_boot_mode_doesnt_exist are essentially the same (assertions are same here). So I guess this is a duplicate test case.","commit_id":"f6a9f430355cde43d2511cf180f2d41099471888"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"97b3d11a735dc6380d29d4c0e6d5f803fca5766b","unresolved":false,"context_lines":[{"line_number":770,"context_line":""},{"line_number":771,"context_line":"    @mock.patch.object(pxe.PXEDeploy, \u0027prepare\u0027)"},{"line_number":772,"context_line":"    @mock.patch.object(ilo_common, \u0027update_boot_mode\u0027)"},{"line_number":773,"context_line":"    def test_prepare_boot_mode_doesnt_exist(self,"},{"line_number":774,"context_line":"                                            update_boot_mode_mock,"},{"line_number":775,"context_line":"                                            pxe_prepare_mock):"},{"line_number":776,"context_line":"        with task_manager.acquire(self.context, self.node.uuid,"}],"source_content_type":"text/x-python","patch_set":36,"id":"9a80dd14_65d8981e","line":773,"in_reply_to":"9a80dd14_3cbfa0d1","updated":"2015-03-20 13:05:29.000000000","message":"Done","commit_id":"f6a9f430355cde43d2511cf180f2d41099471888"}],"ironic/tests/test_pxe_utils.py":[{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"0ae5db12e22003a7734d4c403df5e83b349b504a","unresolved":false,"context_lines":[{"line_number":309,"context_line":"            rmtree_mock.assert_called_once_with("},{"line_number":310,"context_line":"                os.path.join(CONF.pxe.tftp_root, self.node.uuid))"},{"line_number":311,"context_line":""},{"line_number":312,"context_line":"    @mock.patch(\u0027ironic.common.utils.rmtree_without_raise\u0027, autospec\u003dTrue)"},{"line_number":313,"context_line":"    @mock.patch(\u0027ironic.common.utils.unlink_without_raise\u0027, autospec\u003dTrue)"},{"line_number":314,"context_line":"    @mock.patch(\u0027ironic.common.dhcp_factory.DHCPFactory.provider\u0027)"},{"line_number":315,"context_line":"    def test_clean_up_pxe_config_uefi_instance_info(self,"}],"source_content_type":"text/x-python","patch_set":7,"id":"ba7be1f8_2ad7a2c0","line":312,"updated":"2015-02-24 12:24:53.000000000","message":"You dont need autospec for these mocks.","commit_id":"5b7ea56b1e313e8ae9d88329011927751164484b"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"7ff4126e107493cfb531ec0b3a4167f93b6b0f35","unresolved":false,"context_lines":[{"line_number":309,"context_line":"            rmtree_mock.assert_called_once_with("},{"line_number":310,"context_line":"                os.path.join(CONF.pxe.tftp_root, self.node.uuid))"},{"line_number":311,"context_line":""},{"line_number":312,"context_line":"    @mock.patch(\u0027ironic.common.utils.rmtree_without_raise\u0027, autospec\u003dTrue)"},{"line_number":313,"context_line":"    @mock.patch(\u0027ironic.common.utils.unlink_without_raise\u0027, autospec\u003dTrue)"},{"line_number":314,"context_line":"    @mock.patch(\u0027ironic.common.dhcp_factory.DHCPFactory.provider\u0027)"},{"line_number":315,"context_line":"    def test_clean_up_pxe_config_uefi_instance_info(self,"}],"source_content_type":"text/x-python","patch_set":7,"id":"ba7be1f8_9fe0c497","line":312,"in_reply_to":"ba7be1f8_2ad7a2c0","updated":"2015-02-24 16:18:14.000000000","message":"Done","commit_id":"5b7ea56b1e313e8ae9d88329011927751164484b"}]}
