)]}'
{"ironic/drivers/modules/ilo/common.py":[{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"f3de3519f9c81891e9c434431af90ccdf1c138df","unresolved":false,"context_lines":[{"line_number":345,"context_line":""},{"line_number":346,"context_line":""},{"line_number":347,"context_line":"def get_server_capabilities_thru_ilo(node):"},{"line_number":348,"context_line":"    \"\"\"Gets server capabilities."},{"line_number":349,"context_line":""},{"line_number":350,"context_line":"    :param node: Node object."},{"line_number":351,"context_line":"    :returns : a dict of capabilities or None (in case of exception)."}],"source_content_type":"text/x-python","patch_set":4,"id":"5f201791_30fb75c1","line":348,"range":{"start_line":348,"start_character":12,"end_line":348,"end_character":31},"updated":"2017-06-28 10:28:24.000000000","message":"s/ server capabilities / optional server capabilities","commit_id":"adda6fc20ff4434590b03dcd360c05f04a8837dd"},{"author":{"_account_id":16635,"name":"deray","email":"debayan.ray@gmail.com","username":"deray"},"change_message_id":"adc681cbbf41c9c639181e6e03ae3355687875bd","unresolved":false,"context_lines":[{"line_number":345,"context_line":""},{"line_number":346,"context_line":""},{"line_number":347,"context_line":"def get_server_capabilities_thru_ilo(node):"},{"line_number":348,"context_line":"    \"\"\"Gets server capabilities."},{"line_number":349,"context_line":""},{"line_number":350,"context_line":"    :param node: Node object."},{"line_number":351,"context_line":"    :returns : a dict of capabilities or None (in case of exception)."}],"source_content_type":"text/x-python","patch_set":4,"id":"3f1d235d_3ab7b989","line":348,"range":{"start_line":348,"start_character":12,"end_line":348,"end_character":31},"in_reply_to":"5f201791_30fb75c1","updated":"2017-06-29 07:21:21.000000000","message":"hmm.. it not optional. It\u0027s fetching the full set of capabilities from iLO.","commit_id":"adda6fc20ff4434590b03dcd360c05f04a8837dd"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"f3de3519f9c81891e9c434431af90ccdf1c138df","unresolved":false,"context_lines":[{"line_number":851,"context_line":"            node_properties.get(\u0027capabilities\u0027), valid_capabilities)"},{"line_number":852,"context_line":"        if capabilities:"},{"line_number":853,"context_line":"            node_properties[\u0027capabilities\u0027] \u003d capabilities"},{"line_number":854,"context_line":"            task.node.properties \u003d node_properties"},{"line_number":855,"context_line":""},{"line_number":856,"context_line":"    LOG.debug(\"Values of following keys: %(set_of_keys) freshened up as \""},{"line_number":857,"context_line":"              \"part of ``properties.capabilities`` for node: %(node)s.\","}],"source_content_type":"text/x-python","patch_set":4,"id":"5f201791_306ff52b","line":854,"range":{"start_line":854,"start_character":12,"end_line":854,"end_character":50},"updated":"2017-06-28 10:28:24.000000000","message":"Need to save here.\n task.node.save()","commit_id":"adda6fc20ff4434590b03dcd360c05f04a8837dd"},{"author":{"_account_id":16635,"name":"deray","email":"debayan.ray@gmail.com","username":"deray"},"change_message_id":"adc681cbbf41c9c639181e6e03ae3355687875bd","unresolved":false,"context_lines":[{"line_number":851,"context_line":"            node_properties.get(\u0027capabilities\u0027), valid_capabilities)"},{"line_number":852,"context_line":"        if capabilities:"},{"line_number":853,"context_line":"            node_properties[\u0027capabilities\u0027] \u003d capabilities"},{"line_number":854,"context_line":"            task.node.properties \u003d node_properties"},{"line_number":855,"context_line":""},{"line_number":856,"context_line":"    LOG.debug(\"Values of following keys: %(set_of_keys) freshened up as \""},{"line_number":857,"context_line":"              \"part of ``properties.capabilities`` for node: %(node)s.\","}],"source_content_type":"text/x-python","patch_set":4,"id":"3f1d235d_ba2d09aa","line":854,"range":{"start_line":854,"start_character":12,"end_line":854,"end_character":50},"in_reply_to":"5f201791_306ff52b","updated":"2017-06-29 07:21:21.000000000","message":"As discussed, will do it here.","commit_id":"adda6fc20ff4434590b03dcd360c05f04a8837dd"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"31ef2541255a8ad2ec2d3724d7b5fe49e2e36a45","unresolved":false,"context_lines":[{"line_number":355,"context_line":"    try:"},{"line_number":356,"context_line":"        capabilities \u003d ilo_object.get_server_capabilities()"},{"line_number":357,"context_line":"    except ilo_error.IloError:"},{"line_number":358,"context_line":"        LOG.debug((\"Node %s did not return any additional capabilities.\"),"},{"line_number":359,"context_line":"                  node.uuid)"},{"line_number":360,"context_line":""},{"line_number":361,"context_line":"    return capabilities"}],"source_content_type":"text/x-python","patch_set":5,"id":"3f1d235d_c6c82ea7","line":358,"range":{"start_line":358,"start_character":47,"end_line":358,"end_character":57},"updated":"2017-07-06 06:32:10.000000000","message":"Should it be \u0027server\u0027?","commit_id":"2f3a7dcaf0b1b5ee81c7dd7722f126988cac0991"},{"author":{"_account_id":16635,"name":"deray","email":"debayan.ray@gmail.com","username":"deray"},"change_message_id":"4b7dad6d08fff367d654fed1d11651dc76e2ec24","unresolved":false,"context_lines":[{"line_number":355,"context_line":"    try:"},{"line_number":356,"context_line":"        capabilities \u003d ilo_object.get_server_capabilities()"},{"line_number":357,"context_line":"    except ilo_error.IloError:"},{"line_number":358,"context_line":"        LOG.debug((\"Node %s did not return any additional capabilities.\"),"},{"line_number":359,"context_line":"                  node.uuid)"},{"line_number":360,"context_line":""},{"line_number":361,"context_line":"    return capabilities"}],"source_content_type":"text/x-python","patch_set":5,"id":"1f1a1f67_aae9e01a","line":358,"range":{"start_line":358,"start_character":47,"end_line":358,"end_character":57},"in_reply_to":"3f1d235d_c6c82ea7","updated":"2017-07-14 10:05:40.000000000","message":"yeah.. just wondering what made me write \u0027additional\u0027 here!!\n\nDone","commit_id":"2f3a7dcaf0b1b5ee81c7dd7722f126988cac0991"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"31ef2541255a8ad2ec2d3724d7b5fe49e2e36a45","unresolved":false,"context_lines":[{"line_number":853,"context_line":"            node_properties[\u0027capabilities\u0027] \u003d capabilities"},{"line_number":854,"context_line":"            task.node.properties \u003d node_properties"},{"line_number":855,"context_line":""},{"line_number":856,"context_line":"    task.node.save()"},{"line_number":857,"context_line":"    LOG.debug(\"Values of following keys: %(set_of_keys)s freshened up as \""},{"line_number":858,"context_line":"              \"part of ``properties.capabilities`` for node: %(node)s.\","},{"line_number":859,"context_line":"              {\u0027set_of_keys\u0027: filtered_set_of_keys, \u0027node\u0027: node.uuid})"}],"source_content_type":"text/x-python","patch_set":5,"id":"3f1d235d_e629ea36","line":856,"range":{"start_line":856,"start_character":4,"end_line":856,"end_character":20},"updated":"2017-07-06 06:32:10.000000000","message":"May be we can move this within \u0027if\u0027 block @ L855 to save only if the capabilities are updated.","commit_id":"2f3a7dcaf0b1b5ee81c7dd7722f126988cac0991"},{"author":{"_account_id":16635,"name":"deray","email":"debayan.ray@gmail.com","username":"deray"},"change_message_id":"4b7dad6d08fff367d654fed1d11651dc76e2ec24","unresolved":false,"context_lines":[{"line_number":853,"context_line":"            node_properties[\u0027capabilities\u0027] \u003d capabilities"},{"line_number":854,"context_line":"            task.node.properties \u003d node_properties"},{"line_number":855,"context_line":""},{"line_number":856,"context_line":"    task.node.save()"},{"line_number":857,"context_line":"    LOG.debug(\"Values of following keys: %(set_of_keys)s freshened up as \""},{"line_number":858,"context_line":"              \"part of ``properties.capabilities`` for node: %(node)s.\","},{"line_number":859,"context_line":"              {\u0027set_of_keys\u0027: filtered_set_of_keys, \u0027node\u0027: node.uuid})"}],"source_content_type":"text/x-python","patch_set":5,"id":"1f1a1f67_2a74b067","line":856,"range":{"start_line":856,"start_character":4,"end_line":856,"end_character":20},"in_reply_to":"3f1d235d_e629ea36","updated":"2017-07-14 10:05:40.000000000","message":"Done","commit_id":"2f3a7dcaf0b1b5ee81c7dd7722f126988cac0991"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"0982bca376f45773f58c32b0ef04e5fb223bc805","unresolved":false,"context_lines":[{"line_number":355,"context_line":"    try:"},{"line_number":356,"context_line":"        capabilities \u003d ilo_object.get_server_capabilities()"},{"line_number":357,"context_line":"    except ilo_error.IloError:"},{"line_number":358,"context_line":"        LOG.debug((\"Node %s did not return any server capabilities.\"),"},{"line_number":359,"context_line":"                  node.uuid)"},{"line_number":360,"context_line":""},{"line_number":361,"context_line":"    return capabilities"}],"source_content_type":"text/x-python","patch_set":6,"id":"1f1a1f67_427c1e1e","line":358,"updated":"2017-07-18 08:41:20.000000000","message":"redundant brackets","commit_id":"64632a55e0b6d20de4d0a494d331c31f20dfeb79"},{"author":{"_account_id":16635,"name":"deray","email":"debayan.ray@gmail.com","username":"deray"},"change_message_id":"233903d9729fe678da2a6e3e6a9643942d274eb2","unresolved":false,"context_lines":[{"line_number":355,"context_line":"    try:"},{"line_number":356,"context_line":"        capabilities \u003d ilo_object.get_server_capabilities()"},{"line_number":357,"context_line":"    except ilo_error.IloError:"},{"line_number":358,"context_line":"        LOG.debug((\"Node %s did not return any server capabilities.\"),"},{"line_number":359,"context_line":"                  node.uuid)"},{"line_number":360,"context_line":""},{"line_number":361,"context_line":"    return capabilities"}],"source_content_type":"text/x-python","patch_set":6,"id":"1f1a1f67_e6cf9926","line":358,"in_reply_to":"1f1a1f67_427c1e1e","updated":"2017-07-19 08:00:46.000000000","message":"removed","commit_id":"64632a55e0b6d20de4d0a494d331c31f20dfeb79"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"0982bca376f45773f58c32b0ef04e5fb223bc805","unresolved":false,"context_lines":[{"line_number":818,"context_line":"    \"\"\""},{"line_number":819,"context_line":"    if isinstance(referred_dict, dict) and isinstance(filtering_keys_set, set):"},{"line_number":820,"context_line":"        return {k: referred_dict[k] for k in"},{"line_number":821,"context_line":"                filtering_keys_set.intersection(referred_dict)}"},{"line_number":822,"context_line":""},{"line_number":823,"context_line":"    LOG.debug(\"Cannot get subset of dict. Invalid argument type/s provided: \""},{"line_number":824,"context_line":"              \"%(referred_dict)s, %(filtering_keys_set)s. Expected type: \""}],"source_content_type":"text/x-python","patch_set":6,"id":"1f1a1f67_2275a232","line":821,"updated":"2017-07-18 08:41:20.000000000","message":"simpler:\n\n return {k: v for (k, v) in referred_dict.items() if k in filtering_keys}\n\nthis way you don\u0027t need filtering_keys to be a set, any sequence will do","commit_id":"64632a55e0b6d20de4d0a494d331c31f20dfeb79"},{"author":{"_account_id":16635,"name":"deray","email":"debayan.ray@gmail.com","username":"deray"},"change_message_id":"233903d9729fe678da2a6e3e6a9643942d274eb2","unresolved":false,"context_lines":[{"line_number":818,"context_line":"    \"\"\""},{"line_number":819,"context_line":"    if isinstance(referred_dict, dict) and isinstance(filtering_keys_set, set):"},{"line_number":820,"context_line":"        return {k: referred_dict[k] for k in"},{"line_number":821,"context_line":"                filtering_keys_set.intersection(referred_dict)}"},{"line_number":822,"context_line":""},{"line_number":823,"context_line":"    LOG.debug(\"Cannot get subset of dict. Invalid argument type/s provided: \""},{"line_number":824,"context_line":"              \"%(referred_dict)s, %(filtering_keys_set)s. Expected type: \""}],"source_content_type":"text/x-python","patch_set":6,"id":"1f1a1f67_9c4152ac","line":821,"in_reply_to":"1f1a1f67_2275a232","updated":"2017-07-19 08:00:46.000000000","message":"Agreed. Also changed the type of filtering_keys argument to any iterable type. Thanks for the snippet.","commit_id":"64632a55e0b6d20de4d0a494d331c31f20dfeb79"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"0982bca376f45773f58c32b0ef04e5fb223bc805","unresolved":false,"context_lines":[{"line_number":820,"context_line":"        return {k: referred_dict[k] for k in"},{"line_number":821,"context_line":"                filtering_keys_set.intersection(referred_dict)}"},{"line_number":822,"context_line":""},{"line_number":823,"context_line":"    LOG.debug(\"Cannot get subset of dict. Invalid argument type/s provided: \""},{"line_number":824,"context_line":"              \"%(referred_dict)s, %(filtering_keys_set)s. Expected type: \""},{"line_number":825,"context_line":"              \"\u003ctype \u0027dict\u0027\u003e, \u003ctype \u0027set\u0027\u003e\","},{"line_number":826,"context_line":"              {\u0027referred_dict\u0027: referred_dict,"}],"source_content_type":"text/x-python","patch_set":6,"id":"1f1a1f67_0272a649","line":823,"updated":"2017-07-18 08:41:20.000000000","message":"this has to be a ValueError/TypeError exception","commit_id":"64632a55e0b6d20de4d0a494d331c31f20dfeb79"},{"author":{"_account_id":16635,"name":"deray","email":"debayan.ray@gmail.com","username":"deray"},"change_message_id":"233903d9729fe678da2a6e3e6a9643942d274eb2","unresolved":false,"context_lines":[{"line_number":820,"context_line":"        return {k: referred_dict[k] for k in"},{"line_number":821,"context_line":"                filtering_keys_set.intersection(referred_dict)}"},{"line_number":822,"context_line":""},{"line_number":823,"context_line":"    LOG.debug(\"Cannot get subset of dict. Invalid argument type/s provided: \""},{"line_number":824,"context_line":"              \"%(referred_dict)s, %(filtering_keys_set)s. Expected type: \""},{"line_number":825,"context_line":"              \"\u003ctype \u0027dict\u0027\u003e, \u003ctype \u0027set\u0027\u003e\","},{"line_number":826,"context_line":"              {\u0027referred_dict\u0027: referred_dict,"}],"source_content_type":"text/x-python","patch_set":6,"id":"1f1a1f67_7c3c362e","line":823,"in_reply_to":"1f1a1f67_0272a649","updated":"2017-07-19 08:00:46.000000000","message":"Done","commit_id":"64632a55e0b6d20de4d0a494d331c31f20dfeb79"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"0982bca376f45773f58c32b0ef04e5fb223bc805","unresolved":false,"context_lines":[{"line_number":828,"context_line":"    return {}"},{"line_number":829,"context_line":""},{"line_number":830,"context_line":""},{"line_number":831,"context_line":"def update_node_prop_capabilities_for_specified_keyset("},{"line_number":832,"context_line":"        task, filtered_set_of_keys):"},{"line_number":833,"context_line":"    \"\"\"Freshly updates node\u0027s properties.capabilities for given keyset."},{"line_number":834,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"1f1a1f67_e290ca45","line":831,"updated":"2017-07-18 08:41:20.000000000","message":"nit: I\u0027d just call it update_node_capabilities","commit_id":"64632a55e0b6d20de4d0a494d331c31f20dfeb79"},{"author":{"_account_id":16635,"name":"deray","email":"debayan.ray@gmail.com","username":"deray"},"change_message_id":"233903d9729fe678da2a6e3e6a9643942d274eb2","unresolved":false,"context_lines":[{"line_number":828,"context_line":"    return {}"},{"line_number":829,"context_line":""},{"line_number":830,"context_line":""},{"line_number":831,"context_line":"def update_node_prop_capabilities_for_specified_keyset("},{"line_number":832,"context_line":"        task, filtered_set_of_keys):"},{"line_number":833,"context_line":"    \"\"\"Freshly updates node\u0027s properties.capabilities for given keyset."},{"line_number":834,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"1f1a1f67_865d8548","line":831,"in_reply_to":"1f1a1f67_e290ca45","updated":"2017-07-19 08:00:46.000000000","message":"Done","commit_id":"64632a55e0b6d20de4d0a494d331c31f20dfeb79"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"0982bca376f45773f58c32b0ef04e5fb223bc805","unresolved":false,"context_lines":[{"line_number":830,"context_line":""},{"line_number":831,"context_line":"def update_node_prop_capabilities_for_specified_keyset("},{"line_number":832,"context_line":"        task, filtered_set_of_keys):"},{"line_number":833,"context_line":"    \"\"\"Freshly updates node\u0027s properties.capabilities for given keyset."},{"line_number":834,"context_line":""},{"line_number":835,"context_line":"    Updates node\u0027s properties.capabilities freshly for the specified set of"},{"line_number":836,"context_line":"    keys. Saving the node\u0027s new abilities in the db is also done as part of"}],"source_content_type":"text/x-python","patch_set":6,"id":"1f1a1f67_c295ce34","line":833,"updated":"2017-07-18 08:41:20.000000000","message":"s/Freshly updates/Updates/ s/given keyset/a given set of keys/","commit_id":"64632a55e0b6d20de4d0a494d331c31f20dfeb79"},{"author":{"_account_id":16635,"name":"deray","email":"debayan.ray@gmail.com","username":"deray"},"change_message_id":"233903d9729fe678da2a6e3e6a9643942d274eb2","unresolved":false,"context_lines":[{"line_number":830,"context_line":""},{"line_number":831,"context_line":"def update_node_prop_capabilities_for_specified_keyset("},{"line_number":832,"context_line":"        task, filtered_set_of_keys):"},{"line_number":833,"context_line":"    \"\"\"Freshly updates node\u0027s properties.capabilities for given keyset."},{"line_number":834,"context_line":""},{"line_number":835,"context_line":"    Updates node\u0027s properties.capabilities freshly for the specified set of"},{"line_number":836,"context_line":"    keys. Saving the node\u0027s new abilities in the db is also done as part of"}],"source_content_type":"text/x-python","patch_set":6,"id":"1f1a1f67_6606e922","line":833,"in_reply_to":"1f1a1f67_c295ce34","updated":"2017-07-19 08:00:46.000000000","message":"Done","commit_id":"64632a55e0b6d20de4d0a494d331c31f20dfeb79"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"0982bca376f45773f58c32b0ef04e5fb223bc805","unresolved":false,"context_lines":[{"line_number":837,"context_line":"    this method."},{"line_number":838,"context_line":""},{"line_number":839,"context_line":"    :param task: a TaskManager instance."},{"line_number":840,"context_line":"    :param filtered_set_of_keys: set of specified keys to be freshened up."},{"line_number":841,"context_line":"    :returns: None"},{"line_number":842,"context_line":"    \"\"\""},{"line_number":843,"context_line":"    node \u003d task.node"}],"source_content_type":"text/x-python","patch_set":6,"id":"1f1a1f67_a296523d","line":840,"updated":"2017-07-18 08:41:20.000000000","message":"s/freshened up/refreshed/ (sounds more natural to me)","commit_id":"64632a55e0b6d20de4d0a494d331c31f20dfeb79"},{"author":{"_account_id":16635,"name":"deray","email":"debayan.ray@gmail.com","username":"deray"},"change_message_id":"233903d9729fe678da2a6e3e6a9643942d274eb2","unresolved":false,"context_lines":[{"line_number":837,"context_line":"    this method."},{"line_number":838,"context_line":""},{"line_number":839,"context_line":"    :param task: a TaskManager instance."},{"line_number":840,"context_line":"    :param filtered_set_of_keys: set of specified keys to be freshened up."},{"line_number":841,"context_line":"    :returns: None"},{"line_number":842,"context_line":"    \"\"\""},{"line_number":843,"context_line":"    node \u003d task.node"}],"source_content_type":"text/x-python","patch_set":6,"id":"1f1a1f67_e9552afb","line":840,"in_reply_to":"1f1a1f67_a296523d","updated":"2017-07-19 08:00:46.000000000","message":"Done","commit_id":"64632a55e0b6d20de4d0a494d331c31f20dfeb79"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"0982bca376f45773f58c32b0ef04e5fb223bc805","unresolved":false,"context_lines":[{"line_number":854,"context_line":"            task.node.properties \u003d node_properties"},{"line_number":855,"context_line":"            task.node.save()"},{"line_number":856,"context_line":""},{"line_number":857,"context_line":"    LOG.debug(\"Values of following keys: %(set_of_keys)s freshened up as \""},{"line_number":858,"context_line":"              \"part of ``properties.capabilities`` for node: %(node)s.\","},{"line_number":859,"context_line":"              {\u0027set_of_keys\u0027: filtered_set_of_keys, \u0027node\u0027: node.uuid})"}],"source_content_type":"text/x-python","patch_set":6,"id":"1f1a1f67_829b5664","line":857,"updated":"2017-07-18 08:41:20.000000000","message":"ditto\n\nalso I think this debug should be moved under the \"if\" statement","commit_id":"64632a55e0b6d20de4d0a494d331c31f20dfeb79"},{"author":{"_account_id":16635,"name":"deray","email":"debayan.ray@gmail.com","username":"deray"},"change_message_id":"233903d9729fe678da2a6e3e6a9643942d274eb2","unresolved":false,"context_lines":[{"line_number":854,"context_line":"            task.node.properties \u003d node_properties"},{"line_number":855,"context_line":"            task.node.save()"},{"line_number":856,"context_line":""},{"line_number":857,"context_line":"    LOG.debug(\"Values of following keys: %(set_of_keys)s freshened up as \""},{"line_number":858,"context_line":"              \"part of ``properties.capabilities`` for node: %(node)s.\","},{"line_number":859,"context_line":"              {\u0027set_of_keys\u0027: filtered_set_of_keys, \u0027node\u0027: node.uuid})"}],"source_content_type":"text/x-python","patch_set":6,"id":"1f1a1f67_9fe944e7","line":857,"in_reply_to":"1f1a1f67_829b5664","updated":"2017-07-19 08:00:46.000000000","message":"Done. Done.","commit_id":"64632a55e0b6d20de4d0a494d331c31f20dfeb79"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"fe3e812f6aa1cbb682fac121f6485df40846d130","unresolved":false,"context_lines":[{"line_number":356,"context_line":"    try:"},{"line_number":357,"context_line":"        capabilities \u003d ilo_object.get_server_capabilities()"},{"line_number":358,"context_line":"    except ilo_error.IloError:"},{"line_number":359,"context_line":"        LOG.debug(\"Node %s did not return any server capabilities.\","},{"line_number":360,"context_line":"                  node.uuid)"},{"line_number":361,"context_line":""},{"line_number":362,"context_line":"    return capabilities"}],"source_content_type":"text/x-python","patch_set":7,"id":"bf3e73b7_98dc6047","line":359,"updated":"2017-08-07 10:32:09.000000000","message":"I think this should be a warning. And in any case, the real error message should also be included","commit_id":"fb7a4c30f3b29a700577238f80a7abc1159302a2"},{"author":{"_account_id":16635,"name":"deray","email":"debayan.ray@gmail.com","username":"deray"},"change_message_id":"8df54e65b0a26cbc56b315c2038b4b92d2e9771a","unresolved":false,"context_lines":[{"line_number":356,"context_line":"    try:"},{"line_number":357,"context_line":"        capabilities \u003d ilo_object.get_server_capabilities()"},{"line_number":358,"context_line":"    except ilo_error.IloError:"},{"line_number":359,"context_line":"        LOG.debug(\"Node %s did not return any server capabilities.\","},{"line_number":360,"context_line":"                  node.uuid)"},{"line_number":361,"context_line":""},{"line_number":362,"context_line":"    return capabilities"}],"source_content_type":"text/x-python","patch_set":7,"id":"9f436f4f_be6285d7","line":359,"in_reply_to":"bf3e73b7_98dc6047","updated":"2017-08-08 10:15:03.000000000","message":"Done. Done","commit_id":"fb7a4c30f3b29a700577238f80a7abc1159302a2"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"fe3e812f6aa1cbb682fac121f6485df40846d130","unresolved":false,"context_lines":[{"line_number":811,"context_line":"    the keys in ``filtering_keys_seq``, provided the keys actually exist."},{"line_number":812,"context_line":""},{"line_number":813,"context_line":"    :param referred_dict: a dictionary obj to be referenced to get the subset."},{"line_number":814,"context_line":"    :param filtering_keys_seq: sequence of keys to filter out the dict subset."},{"line_number":815,"context_line":"    :raises: TypeError, if invalid argument type provided."},{"line_number":816,"context_line":"    :returns: a subset of dictionary obj, ``referred_dict``, that actually"},{"line_number":817,"context_line":"              exist based on the keys present in ``filtering_keys_seq``."}],"source_content_type":"text/x-python","patch_set":7,"id":"bf3e73b7_78e1bcfe","line":814,"updated":"2017-08-07 10:32:09.000000000","message":"nit: wrong order of params","commit_id":"fb7a4c30f3b29a700577238f80a7abc1159302a2"},{"author":{"_account_id":16635,"name":"deray","email":"debayan.ray@gmail.com","username":"deray"},"change_message_id":"8df54e65b0a26cbc56b315c2038b4b92d2e9771a","unresolved":false,"context_lines":[{"line_number":811,"context_line":"    the keys in ``filtering_keys_seq``, provided the keys actually exist."},{"line_number":812,"context_line":""},{"line_number":813,"context_line":"    :param referred_dict: a dictionary obj to be referenced to get the subset."},{"line_number":814,"context_line":"    :param filtering_keys_seq: sequence of keys to filter out the dict subset."},{"line_number":815,"context_line":"    :raises: TypeError, if invalid argument type provided."},{"line_number":816,"context_line":"    :returns: a subset of dictionary obj, ``referred_dict``, that actually"},{"line_number":817,"context_line":"              exist based on the keys present in ``filtering_keys_seq``."}],"source_content_type":"text/x-python","patch_set":7,"id":"9f436f4f_fe6b6d1c","line":814,"in_reply_to":"bf3e73b7_78e1bcfe","updated":"2017-08-08 10:15:03.000000000","message":"Done","commit_id":"fb7a4c30f3b29a700577238f80a7abc1159302a2"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"fe3e812f6aa1cbb682fac121f6485df40846d130","unresolved":false,"context_lines":[{"line_number":812,"context_line":""},{"line_number":813,"context_line":"    :param referred_dict: a dictionary obj to be referenced to get the subset."},{"line_number":814,"context_line":"    :param filtering_keys_seq: sequence of keys to filter out the dict subset."},{"line_number":815,"context_line":"    :raises: TypeError, if invalid argument type provided."},{"line_number":816,"context_line":"    :returns: a subset of dictionary obj, ``referred_dict``, that actually"},{"line_number":817,"context_line":"              exist based on the keys present in ``filtering_keys_seq``."},{"line_number":818,"context_line":"    \"\"\""}],"source_content_type":"text/x-python","patch_set":7,"id":"bf3e73b7_58e6f818","line":815,"updated":"2017-08-07 10:32:09.000000000","message":"\"if an argument of an invalid type is provided\"","commit_id":"fb7a4c30f3b29a700577238f80a7abc1159302a2"},{"author":{"_account_id":16635,"name":"deray","email":"debayan.ray@gmail.com","username":"deray"},"change_message_id":"8df54e65b0a26cbc56b315c2038b4b92d2e9771a","unresolved":false,"context_lines":[{"line_number":812,"context_line":""},{"line_number":813,"context_line":"    :param referred_dict: a dictionary obj to be referenced to get the subset."},{"line_number":814,"context_line":"    :param filtering_keys_seq: sequence of keys to filter out the dict subset."},{"line_number":815,"context_line":"    :raises: TypeError, if invalid argument type provided."},{"line_number":816,"context_line":"    :returns: a subset of dictionary obj, ``referred_dict``, that actually"},{"line_number":817,"context_line":"              exist based on the keys present in ``filtering_keys_seq``."},{"line_number":818,"context_line":"    \"\"\""}],"source_content_type":"text/x-python","patch_set":7,"id":"9f436f4f_7ec65d19","line":815,"in_reply_to":"bf3e73b7_58e6f818","updated":"2017-08-08 10:15:03.000000000","message":"Done. thx","commit_id":"fb7a4c30f3b29a700577238f80a7abc1159302a2"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"fe3e812f6aa1cbb682fac121f6485df40846d130","unresolved":false,"context_lines":[{"line_number":816,"context_line":"    :returns: a subset of dictionary obj, ``referred_dict``, that actually"},{"line_number":817,"context_line":"              exist based on the keys present in ``filtering_keys_seq``."},{"line_number":818,"context_line":"    \"\"\""},{"line_number":819,"context_line":"    if (isinstance(referred_dict, dict)"},{"line_number":820,"context_line":"            and isinstance(filtering_keys_seq, collections.Iterable)"},{"line_number":821,"context_line":"            and not isinstance(filtering_keys_seq, six.string_types)):"},{"line_number":822,"context_line":"        return {k: v for (k, v) in referred_dict.items()"}],"source_content_type":"text/x-python","patch_set":7,"id":"bf3e73b7_38e33408","line":819,"updated":"2017-08-07 10:32:09.000000000","message":"I wonder why you don\u0027t use collections.Mapping, given that you use collections.Iterable just below..","commit_id":"fb7a4c30f3b29a700577238f80a7abc1159302a2"},{"author":{"_account_id":16635,"name":"deray","email":"debayan.ray@gmail.com","username":"deray"},"change_message_id":"8df54e65b0a26cbc56b315c2038b4b92d2e9771a","unresolved":false,"context_lines":[{"line_number":816,"context_line":"    :returns: a subset of dictionary obj, ``referred_dict``, that actually"},{"line_number":817,"context_line":"              exist based on the keys present in ``filtering_keys_seq``."},{"line_number":818,"context_line":"    \"\"\""},{"line_number":819,"context_line":"    if (isinstance(referred_dict, dict)"},{"line_number":820,"context_line":"            and isinstance(filtering_keys_seq, collections.Iterable)"},{"line_number":821,"context_line":"            and not isinstance(filtering_keys_seq, six.string_types)):"},{"line_number":822,"context_line":"        return {k: v for (k, v) in referred_dict.items()"}],"source_content_type":"text/x-python","patch_set":7,"id":"9f436f4f_3e457571","line":819,"in_reply_to":"bf3e73b7_38e33408","updated":"2017-08-08 10:15:03.000000000","message":"sigh.. silly mistake","commit_id":"fb7a4c30f3b29a700577238f80a7abc1159302a2"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"fe3e812f6aa1cbb682fac121f6485df40846d130","unresolved":false,"context_lines":[{"line_number":820,"context_line":"            and isinstance(filtering_keys_seq, collections.Iterable)"},{"line_number":821,"context_line":"            and not isinstance(filtering_keys_seq, six.string_types)):"},{"line_number":822,"context_line":"        return {k: v for (k, v) in referred_dict.items()"},{"line_number":823,"context_line":"                if k in filtering_keys_seq}"},{"line_number":824,"context_line":""},{"line_number":825,"context_line":"    raise TypeError("},{"line_number":826,"context_line":"        (\"\u0027filtering_keys_seq\u0027 and \u0027referred_dict\u0027 must be a non-string \""}],"source_content_type":"text/x-python","patch_set":7,"id":"bf3e73b7_18f070c9","line":823,"updated":"2017-08-07 10:32:09.000000000","message":"the flow of this method is a bit unusual. I\u0027d expect something like:\n\n if not (... validation ...):\n     raise TypeError(...)\n\n return ... correct result ...","commit_id":"fb7a4c30f3b29a700577238f80a7abc1159302a2"},{"author":{"_account_id":16635,"name":"deray","email":"debayan.ray@gmail.com","username":"deray"},"change_message_id":"8df54e65b0a26cbc56b315c2038b4b92d2e9771a","unresolved":false,"context_lines":[{"line_number":820,"context_line":"            and isinstance(filtering_keys_seq, collections.Iterable)"},{"line_number":821,"context_line":"            and not isinstance(filtering_keys_seq, six.string_types)):"},{"line_number":822,"context_line":"        return {k: v for (k, v) in referred_dict.items()"},{"line_number":823,"context_line":"                if k in filtering_keys_seq}"},{"line_number":824,"context_line":""},{"line_number":825,"context_line":"    raise TypeError("},{"line_number":826,"context_line":"        (\"\u0027filtering_keys_seq\u0027 and \u0027referred_dict\u0027 must be a non-string \""}],"source_content_type":"text/x-python","patch_set":7,"id":"9f436f4f_fe5ecd43","line":823,"in_reply_to":"bf3e73b7_18f070c9","updated":"2017-08-08 10:15:03.000000000","message":"Agreed. Done.","commit_id":"fb7a4c30f3b29a700577238f80a7abc1159302a2"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"fe3e812f6aa1cbb682fac121f6485df40846d130","unresolved":false,"context_lines":[{"line_number":839,"context_line":""},{"line_number":840,"context_line":"    :param task: a TaskManager instance."},{"line_number":841,"context_line":"    :param filtering_keys: specified keys to be refreshed."},{"line_number":842,"context_line":"    :returns: a dict containing the filtered keys and their current values."},{"line_number":843,"context_line":"    \"\"\""},{"line_number":844,"context_line":"    node \u003d task.node"},{"line_number":845,"context_line":"    node_properties \u003d task.node.properties"}],"source_content_type":"text/x-python","patch_set":7,"id":"bf3e73b7_f8ec8cf4","line":842,"updated":"2017-08-07 10:32:09.000000000","message":"it can also return None","commit_id":"fb7a4c30f3b29a700577238f80a7abc1159302a2"},{"author":{"_account_id":16635,"name":"deray","email":"debayan.ray@gmail.com","username":"deray"},"change_message_id":"8df54e65b0a26cbc56b315c2038b4b92d2e9771a","unresolved":false,"context_lines":[{"line_number":839,"context_line":""},{"line_number":840,"context_line":"    :param task: a TaskManager instance."},{"line_number":841,"context_line":"    :param filtering_keys: specified keys to be refreshed."},{"line_number":842,"context_line":"    :returns: a dict containing the filtered keys and their current values."},{"line_number":843,"context_line":"    \"\"\""},{"line_number":844,"context_line":"    node \u003d task.node"},{"line_number":845,"context_line":"    node_properties \u003d task.node.properties"}],"source_content_type":"text/x-python","patch_set":7,"id":"9f436f4f_f846e021","line":842,"in_reply_to":"bf3e73b7_f8ec8cf4","updated":"2017-08-08 10:15:03.000000000","message":"Done","commit_id":"fb7a4c30f3b29a700577238f80a7abc1159302a2"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"fe3e812f6aa1cbb682fac121f6485df40846d130","unresolved":false,"context_lines":[{"line_number":846,"context_line":""},{"line_number":847,"context_line":"    valid_capabilities \u003d None"},{"line_number":848,"context_line":"    capabilities \u003d get_server_capabilities_thru_ilo(node)"},{"line_number":849,"context_line":"    if capabilities:"},{"line_number":850,"context_line":"        valid_capabilities \u003d get_dict_subset_filtered_by("},{"line_number":851,"context_line":"            filtering_keys, capabilities)"},{"line_number":852,"context_line":"        capabilities \u003d utils.get_updated_capabilities("}],"source_content_type":"text/x-python","patch_set":7,"id":"bf3e73b7_d8bb08e3","line":849,"updated":"2017-08-07 10:32:09.000000000","message":"nit:\n\n if not capabilities:\n     return None","commit_id":"fb7a4c30f3b29a700577238f80a7abc1159302a2"},{"author":{"_account_id":16635,"name":"deray","email":"debayan.ray@gmail.com","username":"deray"},"change_message_id":"8df54e65b0a26cbc56b315c2038b4b92d2e9771a","unresolved":false,"context_lines":[{"line_number":846,"context_line":""},{"line_number":847,"context_line":"    valid_capabilities \u003d None"},{"line_number":848,"context_line":"    capabilities \u003d get_server_capabilities_thru_ilo(node)"},{"line_number":849,"context_line":"    if capabilities:"},{"line_number":850,"context_line":"        valid_capabilities \u003d get_dict_subset_filtered_by("},{"line_number":851,"context_line":"            filtering_keys, capabilities)"},{"line_number":852,"context_line":"        capabilities \u003d utils.get_updated_capabilities("}],"source_content_type":"text/x-python","patch_set":7,"id":"9f436f4f_1b12be59","line":849,"in_reply_to":"bf3e73b7_d8bb08e3","updated":"2017-08-08 10:15:03.000000000","message":"Done","commit_id":"fb7a4c30f3b29a700577238f80a7abc1159302a2"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"fe3e812f6aa1cbb682fac121f6485df40846d130","unresolved":false,"context_lines":[{"line_number":854,"context_line":"        if capabilities:"},{"line_number":855,"context_line":"            node_properties[\u0027capabilities\u0027] \u003d capabilities"},{"line_number":856,"context_line":"            task.node.properties \u003d node_properties"},{"line_number":857,"context_line":"            LOG.debug(\"Values of following items: %(set_of_keys)s refreshed \""},{"line_number":858,"context_line":"                      \"as part of capabilities for node: %(node)s.\","},{"line_number":859,"context_line":"                      {\u0027set_of_keys\u0027: filtering_keys, \u0027node\u0027: node.uuid})"},{"line_number":860,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"bf3e73b7_b8c04452","line":857,"updated":"2017-08-07 10:32:09.000000000","message":"mmm, s/debug/info/, as this is quite important for an operator, I think","commit_id":"fb7a4c30f3b29a700577238f80a7abc1159302a2"},{"author":{"_account_id":16635,"name":"deray","email":"debayan.ray@gmail.com","username":"deray"},"change_message_id":"8df54e65b0a26cbc56b315c2038b4b92d2e9771a","unresolved":false,"context_lines":[{"line_number":854,"context_line":"        if capabilities:"},{"line_number":855,"context_line":"            node_properties[\u0027capabilities\u0027] \u003d capabilities"},{"line_number":856,"context_line":"            task.node.properties \u003d node_properties"},{"line_number":857,"context_line":"            LOG.debug(\"Values of following items: %(set_of_keys)s refreshed \""},{"line_number":858,"context_line":"                      \"as part of capabilities for node: %(node)s.\","},{"line_number":859,"context_line":"                      {\u0027set_of_keys\u0027: filtering_keys, \u0027node\u0027: node.uuid})"},{"line_number":860,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"9f436f4f_bb3172ef","line":857,"in_reply_to":"bf3e73b7_b8c04452","updated":"2017-08-08 10:15:03.000000000","message":"Okay. Changed it as suggested.","commit_id":"fb7a4c30f3b29a700577238f80a7abc1159302a2"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"fe3e812f6aa1cbb682fac121f6485df40846d130","unresolved":false,"context_lines":[{"line_number":856,"context_line":"            task.node.properties \u003d node_properties"},{"line_number":857,"context_line":"            LOG.debug(\"Values of following items: %(set_of_keys)s refreshed \""},{"line_number":858,"context_line":"                      \"as part of capabilities for node: %(node)s.\","},{"line_number":859,"context_line":"                      {\u0027set_of_keys\u0027: filtering_keys, \u0027node\u0027: node.uuid})"},{"line_number":860,"context_line":""},{"line_number":861,"context_line":"    return valid_capabilities"}],"source_content_type":"text/x-python","patch_set":7,"id":"bf3e73b7_98b580f1","line":859,"updated":"2017-08-07 10:32:09.000000000","message":"what about logging valid_capabilities instead? IIUC it contains both the updated keys and the new values","commit_id":"fb7a4c30f3b29a700577238f80a7abc1159302a2"},{"author":{"_account_id":16635,"name":"deray","email":"debayan.ray@gmail.com","username":"deray"},"change_message_id":"8df54e65b0a26cbc56b315c2038b4b92d2e9771a","unresolved":false,"context_lines":[{"line_number":856,"context_line":"            task.node.properties \u003d node_properties"},{"line_number":857,"context_line":"            LOG.debug(\"Values of following items: %(set_of_keys)s refreshed \""},{"line_number":858,"context_line":"                      \"as part of capabilities for node: %(node)s.\","},{"line_number":859,"context_line":"                      {\u0027set_of_keys\u0027: filtering_keys, \u0027node\u0027: node.uuid})"},{"line_number":860,"context_line":""},{"line_number":861,"context_line":"    return valid_capabilities"}],"source_content_type":"text/x-python","patch_set":7,"id":"9f436f4f_9bd10e5b","line":859,"in_reply_to":"bf3e73b7_98b580f1","updated":"2017-08-08 10:15:03.000000000","message":"Done","commit_id":"fb7a4c30f3b29a700577238f80a7abc1159302a2"}],"ironic/drivers/modules/ilo/inspect.py":[{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"31ef2541255a8ad2ec2d3724d7b5fe49e2e36a45","unresolved":false,"context_lines":[{"line_number":255,"context_line":"                node_properties[\u0027capabilities\u0027] \u003d capabilities"},{"line_number":256,"context_line":"                task.node.properties \u003d node_properties"},{"line_number":257,"context_line":""},{"line_number":258,"context_line":"        task.node.save()"},{"line_number":259,"context_line":""},{"line_number":260,"context_line":"        # Create ports for the nics detected."},{"line_number":261,"context_line":"        _create_ports_if_not_exist(task, result[\u0027macs\u0027])"}],"source_content_type":"text/x-python","patch_set":5,"id":"3f1d235d_468d3e30","side":"PARENT","line":258,"range":{"start_line":258,"start_character":8,"end_line":258,"end_character":24},"updated":"2017-07-06 06:32:10.000000000","message":"This line needs to be retained as node is getting updated @ L241-L243.","commit_id":"352120378f471214d51a71db9fbcb7586b9a5457"},{"author":{"_account_id":16635,"name":"deray","email":"debayan.ray@gmail.com","username":"deray"},"change_message_id":"4b7dad6d08fff367d654fed1d11651dc76e2ec24","unresolved":false,"context_lines":[{"line_number":255,"context_line":"                node_properties[\u0027capabilities\u0027] \u003d capabilities"},{"line_number":256,"context_line":"                task.node.properties \u003d node_properties"},{"line_number":257,"context_line":""},{"line_number":258,"context_line":"        task.node.save()"},{"line_number":259,"context_line":""},{"line_number":260,"context_line":"        # Create ports for the nics detected."},{"line_number":261,"context_line":"        _create_ports_if_not_exist(task, result[\u0027macs\u0027])"}],"source_content_type":"text/x-python","patch_set":5,"id":"1f1a1f67_8ad62427","side":"PARENT","line":258,"range":{"start_line":258,"start_character":8,"end_line":258,"end_character":24},"in_reply_to":"3f1d235d_468d3e30","updated":"2017-07-14 10:05:40.000000000","message":"Altho it was getting done invariably inside ``update_node_prop_capabilities_for_specified_keyset()`` but when I am moving that node saving (to db) inside a condition there, then it makes perfect sense to do it here as well.\n\nDone","commit_id":"352120378f471214d51a71db9fbcb7586b9a5457"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"0982bca376f45773f58c32b0ef04e5fb223bc805","unresolved":false,"context_lines":[{"line_number":205,"context_line":"        node_properties \u003d task.node.properties"},{"line_number":206,"context_line":"        node_properties.update(inspected_properties)"},{"line_number":207,"context_line":"        task.node.properties \u003d node_properties"},{"line_number":208,"context_line":"        task.node.save()"},{"line_number":209,"context_line":""},{"line_number":210,"context_line":"        # Inspect the hardware for additional hardware capabilities."},{"line_number":211,"context_line":"        # Since additional hardware capabilities may not apply to all the"}],"source_content_type":"text/x-python","patch_set":6,"id":"1f1a1f67_e28b2a1c","line":208,"updated":"2017-07-18 08:41:20.000000000","message":"if you move task.node.save out of update_node_......, then you won\u0027t need to do it twice","commit_id":"64632a55e0b6d20de4d0a494d331c31f20dfeb79"},{"author":{"_account_id":16635,"name":"deray","email":"debayan.ray@gmail.com","username":"deray"},"change_message_id":"233903d9729fe678da2a6e3e6a9643942d274eb2","unresolved":false,"context_lines":[{"line_number":205,"context_line":"        node_properties \u003d task.node.properties"},{"line_number":206,"context_line":"        node_properties.update(inspected_properties)"},{"line_number":207,"context_line":"        task.node.properties \u003d node_properties"},{"line_number":208,"context_line":"        task.node.save()"},{"line_number":209,"context_line":""},{"line_number":210,"context_line":"        # Inspect the hardware for additional hardware capabilities."},{"line_number":211,"context_line":"        # Since additional hardware capabilities may not apply to all the"}],"source_content_type":"text/x-python","patch_set":6,"id":"1f1a1f67_1f02d40a","line":208,"in_reply_to":"1f1a1f67_e28b2a1c","updated":"2017-07-19 08:00:46.000000000","message":"yeah.. I was a little doubtful about where to keep the ``task.node.save()`` and also did a couple of shuffles in the earlier patch-sets. As you can see in this patch-set #2 [0] I had kept it outside the update_node_... function but then again moved it in. Anyway, let me bring it out and let the caller invoke ``task.node.save()`` to bring the changes to effect in db.\n\n[0] https://review.openstack.org/#/c/346683/2/ironic/drivers/modules/ilo/common.py","commit_id":"64632a55e0b6d20de4d0a494d331c31f20dfeb79"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"0982bca376f45773f58c32b0ef04e5fb223bc805","unresolved":false,"context_lines":[{"line_number":213,"context_line":"        # for these capabilities."},{"line_number":214,"context_line":"        ilo_common.update_node_prop_capabilities_for_specified_keyset("},{"line_number":215,"context_line":"            task, CAPABILITIES_KEYS)"},{"line_number":216,"context_line":""},{"line_number":217,"context_line":"        LOG.info(\"Node %(node)s is updated with essential properties and \""},{"line_number":218,"context_line":"                 \"capabilities as part of inspection.\","},{"line_number":219,"context_line":"                 {\u0027node\u0027: task.node.uuid})"}],"source_content_type":"text/x-python","patch_set":6,"id":"1f1a1f67_c2902e4d","line":216,"updated":"2017-07-18 08:41:20.000000000","message":"... i.e. you can still keep only one task.node.save here","commit_id":"64632a55e0b6d20de4d0a494d331c31f20dfeb79"},{"author":{"_account_id":16635,"name":"deray","email":"debayan.ray@gmail.com","username":"deray"},"change_message_id":"233903d9729fe678da2a6e3e6a9643942d274eb2","unresolved":false,"context_lines":[{"line_number":213,"context_line":"        # for these capabilities."},{"line_number":214,"context_line":"        ilo_common.update_node_prop_capabilities_for_specified_keyset("},{"line_number":215,"context_line":"            task, CAPABILITIES_KEYS)"},{"line_number":216,"context_line":""},{"line_number":217,"context_line":"        LOG.info(\"Node %(node)s is updated with essential properties and \""},{"line_number":218,"context_line":"                 \"capabilities as part of inspection.\","},{"line_number":219,"context_line":"                 {\u0027node\u0027: task.node.uuid})"}],"source_content_type":"text/x-python","patch_set":6,"id":"1f1a1f67_7f10a84e","line":216,"in_reply_to":"1f1a1f67_c2902e4d","updated":"2017-07-19 08:00:46.000000000","message":"see my reply above","commit_id":"64632a55e0b6d20de4d0a494d331c31f20dfeb79"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"0982bca376f45773f58c32b0ef04e5fb223bc805","unresolved":false,"context_lines":[{"line_number":216,"context_line":""},{"line_number":217,"context_line":"        LOG.info(\"Node %(node)s is updated with essential properties and \""},{"line_number":218,"context_line":"                 \"capabilities as part of inspection.\","},{"line_number":219,"context_line":"                 {\u0027node\u0027: task.node.uuid})"},{"line_number":220,"context_line":""},{"line_number":221,"context_line":"        # Create ports for the nics detected."},{"line_number":222,"context_line":"        _create_ports_if_not_exist(task, result[\u0027macs\u0027])"}],"source_content_type":"text/x-python","patch_set":6,"id":"1f1a1f67_a281b2fd","line":219,"updated":"2017-07-18 08:41:20.000000000","message":"this duplicates 2 logging lines below","commit_id":"64632a55e0b6d20de4d0a494d331c31f20dfeb79"},{"author":{"_account_id":16635,"name":"deray","email":"debayan.ray@gmail.com","username":"deray"},"change_message_id":"233903d9729fe678da2a6e3e6a9643942d274eb2","unresolved":false,"context_lines":[{"line_number":216,"context_line":""},{"line_number":217,"context_line":"        LOG.info(\"Node %(node)s is updated with essential properties and \""},{"line_number":218,"context_line":"                 \"capabilities as part of inspection.\","},{"line_number":219,"context_line":"                 {\u0027node\u0027: task.node.uuid})"},{"line_number":220,"context_line":""},{"line_number":221,"context_line":"        # Create ports for the nics detected."},{"line_number":222,"context_line":"        _create_ports_if_not_exist(task, result[\u0027macs\u0027])"}],"source_content_type":"text/x-python","patch_set":6,"id":"1f1a1f67_bff400f2","line":219,"in_reply_to":"1f1a1f67_a281b2fd","updated":"2017-07-19 08:00:46.000000000","message":"right. added the capabilities info to the lower log statement.","commit_id":"64632a55e0b6d20de4d0a494d331c31f20dfeb79"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"fe3e812f6aa1cbb682fac121f6485df40846d130","unresolved":false,"context_lines":[{"line_number":222,"context_line":"                  \"are updated as %(properties)s and %(capabilities)s \""},{"line_number":223,"context_line":"                  \"respectively.\", {\u0027properties\u0027: inspected_properties,"},{"line_number":224,"context_line":"                                    \u0027capabilities\u0027: new_capabilities,"},{"line_number":225,"context_line":"                                    \u0027node\u0027: task.node.uuid})"},{"line_number":226,"context_line":""},{"line_number":227,"context_line":"        LOG.info(\"Node %s inspected.\", task.node.uuid)"},{"line_number":228,"context_line":"        if power_turned_on:"}],"source_content_type":"text/x-python","patch_set":7,"id":"bf3e73b7_d8d2e834","line":225,"updated":"2017-08-07 10:32:09.000000000","message":"new_capabilities can be None, and in this case nothing is actually updated","commit_id":"fb7a4c30f3b29a700577238f80a7abc1159302a2"},{"author":{"_account_id":16635,"name":"deray","email":"debayan.ray@gmail.com","username":"deray"},"change_message_id":"8df54e65b0a26cbc56b315c2038b4b92d2e9771a","unresolved":false,"context_lines":[{"line_number":222,"context_line":"                  \"are updated as %(properties)s and %(capabilities)s \""},{"line_number":223,"context_line":"                  \"respectively.\", {\u0027properties\u0027: inspected_properties,"},{"line_number":224,"context_line":"                                    \u0027capabilities\u0027: new_capabilities,"},{"line_number":225,"context_line":"                                    \u0027node\u0027: task.node.uuid})"},{"line_number":226,"context_line":""},{"line_number":227,"context_line":"        LOG.info(\"Node %s inspected.\", task.node.uuid)"},{"line_number":228,"context_line":"        if power_turned_on:"}],"source_content_type":"text/x-python","patch_set":7,"id":"9f436f4f_d1e5373a","line":225,"in_reply_to":"bf3e73b7_d8d2e834","updated":"2017-08-08 10:15:03.000000000","message":"taken care of. Please check.","commit_id":"fb7a4c30f3b29a700577238f80a7abc1159302a2"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"a8afebd315c1b2c2ca9f469ea13c10c9b7b4e039","unresolved":false,"context_lines":[{"line_number":225,"context_line":"            LOG.info(\"Node capabilities for %(node)s are also updated as \""},{"line_number":226,"context_line":"                     \"%(capabilities)s\", {\u0027capabilities\u0027: new_capabilities,"},{"line_number":227,"context_line":"                                          \u0027node\u0027: task.node.uuid})"},{"line_number":228,"context_line":"        LOG.info(\"Node %s inspected.\", task.node.uuid)"},{"line_number":229,"context_line":"        if power_turned_on:"},{"line_number":230,"context_line":"            conductor_utils.node_power_action(task, states.POWER_OFF)"},{"line_number":231,"context_line":"            LOG.info(\"The node %s was powered on for inspection. \""}],"source_content_type":"text/x-python","patch_set":8,"id":"9f436f4f_ed5ff73e","line":228,"range":{"start_line":228,"start_character":8,"end_line":228,"end_character":54},"updated":"2017-08-10 13:43:40.000000000","message":"Better to club this info message with one in L221.","commit_id":"dcc858419fdea5c07bd9c8fbde32996cf1866fe7"},{"author":{"_account_id":16635,"name":"deray","email":"debayan.ray@gmail.com","username":"deray"},"change_message_id":"c7c41796424ab16daf153e598e4e7938b64927e5","unresolved":false,"context_lines":[{"line_number":225,"context_line":"            LOG.info(\"Node capabilities for %(node)s are also updated as \""},{"line_number":226,"context_line":"                     \"%(capabilities)s\", {\u0027capabilities\u0027: new_capabilities,"},{"line_number":227,"context_line":"                                          \u0027node\u0027: task.node.uuid})"},{"line_number":228,"context_line":"        LOG.info(\"Node %s inspected.\", task.node.uuid)"},{"line_number":229,"context_line":"        if power_turned_on:"},{"line_number":230,"context_line":"            conductor_utils.node_power_action(task, states.POWER_OFF)"},{"line_number":231,"context_line":"            LOG.info(\"The node %s was powered on for inspection. \""}],"source_content_type":"text/x-python","patch_set":8,"id":"9f436f4f_ba2c3eac","line":228,"range":{"start_line":228,"start_character":8,"end_line":228,"end_character":54},"in_reply_to":"9f436f4f_ed5ff73e","updated":"2017-08-14 04:33:55.000000000","message":"Okay. Done","commit_id":"dcc858419fdea5c07bd9c8fbde32996cf1866fe7"}],"ironic/drivers/modules/ilo/management.py":[{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"f3de3519f9c81891e9c434431af90ccdf1c138df","unresolved":false,"context_lines":[{"line_number":428,"context_line":"        ilo_common.update_node_prop_capabilities_for_specified_keyset("},{"line_number":429,"context_line":"            task, FIRMWARE_CAPABILITIES_KEYS)"},{"line_number":430,"context_line":""},{"line_number":431,"context_line":"        task.node.save()"},{"line_number":432,"context_line":"        LOG.info(\"Firmware version/s of \u0027ilo\u0027 and/or \u0027rom\u0027 have been \""},{"line_number":433,"context_line":"                 \"updated as part of \u0027properties.capabilities\u0027 of \""},{"line_number":434,"context_line":"                 \"node: %s.\", node.uuid)"}],"source_content_type":"text/x-python","patch_set":4,"id":"5f201791_9067e94d","line":431,"range":{"start_line":431,"start_character":8,"end_line":431,"end_character":24},"updated":"2017-06-28 10:28:24.000000000","message":"Better to move this call inside ilo_common.update_node_prop_capabilities_for_specified_keyset()","commit_id":"adda6fc20ff4434590b03dcd360c05f04a8837dd"},{"author":{"_account_id":16635,"name":"deray","email":"debayan.ray@gmail.com","username":"deray"},"change_message_id":"adc681cbbf41c9c639181e6e03ae3355687875bd","unresolved":false,"context_lines":[{"line_number":428,"context_line":"        ilo_common.update_node_prop_capabilities_for_specified_keyset("},{"line_number":429,"context_line":"            task, FIRMWARE_CAPABILITIES_KEYS)"},{"line_number":430,"context_line":""},{"line_number":431,"context_line":"        task.node.save()"},{"line_number":432,"context_line":"        LOG.info(\"Firmware version/s of \u0027ilo\u0027 and/or \u0027rom\u0027 have been \""},{"line_number":433,"context_line":"                 \"updated as part of \u0027properties.capabilities\u0027 of \""},{"line_number":434,"context_line":"                 \"node: %s.\", node.uuid)"}],"source_content_type":"text/x-python","patch_set":4,"id":"3f1d235d_9db48737","line":431,"range":{"start_line":431,"start_character":8,"end_line":431,"end_character":24},"in_reply_to":"5f201791_9067e94d","updated":"2017-06-29 07:21:21.000000000","message":"Will do.","commit_id":"adda6fc20ff4434590b03dcd360c05f04a8837dd"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"f3de3519f9c81891e9c434431af90ccdf1c138df","unresolved":false,"context_lines":[{"line_number":429,"context_line":"            task, FIRMWARE_CAPABILITIES_KEYS)"},{"line_number":430,"context_line":""},{"line_number":431,"context_line":"        task.node.save()"},{"line_number":432,"context_line":"        LOG.info(\"Firmware version/s of \u0027ilo\u0027 and/or \u0027rom\u0027 have been \""},{"line_number":433,"context_line":"                 \"updated as part of \u0027properties.capabilities\u0027 of \""},{"line_number":434,"context_line":"                 \"node: %s.\", node.uuid)"}],"source_content_type":"text/x-python","patch_set":4,"id":"5f201791_105d1946","line":433,"range":{"start_line":432,"start_character":18,"end_line":433,"end_character":67},"updated":"2017-06-28 10:28:24.000000000","message":"Better to indicate exact capabilities being updated in this message.","commit_id":"adda6fc20ff4434590b03dcd360c05f04a8837dd"},{"author":{"_account_id":16635,"name":"deray","email":"debayan.ray@gmail.com","username":"deray"},"change_message_id":"adc681cbbf41c9c639181e6e03ae3355687875bd","unresolved":false,"context_lines":[{"line_number":429,"context_line":"            task, FIRMWARE_CAPABILITIES_KEYS)"},{"line_number":430,"context_line":""},{"line_number":431,"context_line":"        task.node.save()"},{"line_number":432,"context_line":"        LOG.info(\"Firmware version/s of \u0027ilo\u0027 and/or \u0027rom\u0027 have been \""},{"line_number":433,"context_line":"                 \"updated as part of \u0027properties.capabilities\u0027 of \""},{"line_number":434,"context_line":"                 \"node: %s.\", node.uuid)"}],"source_content_type":"text/x-python","patch_set":4,"id":"3f1d235d_7dd1ab57","line":433,"range":{"start_line":432,"start_character":18,"end_line":433,"end_character":67},"in_reply_to":"5f201791_105d1946","updated":"2017-06-29 07:21:21.000000000","message":"Done","commit_id":"adda6fc20ff4434590b03dcd360c05f04a8837dd"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"0982bca376f45773f58c32b0ef04e5fb223bc805","unresolved":false,"context_lines":[{"line_number":430,"context_line":""},{"line_number":431,"context_line":"        LOG.info(\"Firmware version/s of \u0027ilo\u0027 and/or \u0027rom\u0027 have been \""},{"line_number":432,"context_line":"                 \"updated on %(set_of_keys)s respectively of \""},{"line_number":433,"context_line":"                 \"properties[\u0027capabilities\u0027] for node: %(node)s.\","},{"line_number":434,"context_line":"                 {\u0027set_of_keys\u0027: FIRMWARE_CAPABILITIES_KEYS,"},{"line_number":435,"context_line":"                  \u0027node\u0027: node.uuid})"}],"source_content_type":"text/x-python","patch_set":6,"id":"1f1a1f67_627f1a15","line":433,"updated":"2017-07-18 08:41:20.000000000","message":"I don\u0027t think you need to explain where capabilities live on a node, but instead I\u0027d prefer to see new versions here","commit_id":"64632a55e0b6d20de4d0a494d331c31f20dfeb79"},{"author":{"_account_id":16635,"name":"deray","email":"debayan.ray@gmail.com","username":"deray"},"change_message_id":"233903d9729fe678da2a6e3e6a9643942d274eb2","unresolved":false,"context_lines":[{"line_number":430,"context_line":""},{"line_number":431,"context_line":"        LOG.info(\"Firmware version/s of \u0027ilo\u0027 and/or \u0027rom\u0027 have been \""},{"line_number":432,"context_line":"                 \"updated on %(set_of_keys)s respectively of \""},{"line_number":433,"context_line":"                 \"properties[\u0027capabilities\u0027] for node: %(node)s.\","},{"line_number":434,"context_line":"                 {\u0027set_of_keys\u0027: FIRMWARE_CAPABILITIES_KEYS,"},{"line_number":435,"context_line":"                  \u0027node\u0027: node.uuid})"}],"source_content_type":"text/x-python","patch_set":6,"id":"1f1a1f67_9f8024f7","line":433,"in_reply_to":"1f1a1f67_627f1a15","updated":"2017-07-19 08:00:46.000000000","message":"Done","commit_id":"64632a55e0b6d20de4d0a494d331c31f20dfeb79"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"fe3e812f6aa1cbb682fac121f6485df40846d130","unresolved":false,"context_lines":[{"line_number":432,"context_line":"        LOG.info(\"Firmware version/s of \u0027ilo\u0027 and/or \u0027rom\u0027 have been \""},{"line_number":433,"context_line":"                 \"updated respectively as: %(capabilities)s in capabilities \""},{"line_number":434,"context_line":"                 \"for node: %(node)s.\","},{"line_number":435,"context_line":"                 {\u0027capabilities\u0027: new_capabilities,"},{"line_number":436,"context_line":"                  \u0027node\u0027: node.uuid})"}],"source_content_type":"text/x-python","patch_set":7,"id":"bf3e73b7_b8d72424","line":435,"updated":"2017-08-07 10:32:09.000000000","message":"ditto, new_capabilities \u003d\u003d None means that the capabilities were not updated","commit_id":"fb7a4c30f3b29a700577238f80a7abc1159302a2"},{"author":{"_account_id":16635,"name":"deray","email":"debayan.ray@gmail.com","username":"deray"},"change_message_id":"8df54e65b0a26cbc56b315c2038b4b92d2e9771a","unresolved":false,"context_lines":[{"line_number":432,"context_line":"        LOG.info(\"Firmware version/s of \u0027ilo\u0027 and/or \u0027rom\u0027 have been \""},{"line_number":433,"context_line":"                 \"updated respectively as: %(capabilities)s in capabilities \""},{"line_number":434,"context_line":"                 \"for node: %(node)s.\","},{"line_number":435,"context_line":"                 {\u0027capabilities\u0027: new_capabilities,"},{"line_number":436,"context_line":"                  \u0027node\u0027: node.uuid})"}],"source_content_type":"text/x-python","patch_set":7,"id":"9f436f4f_5bb5e6ed","line":435,"in_reply_to":"bf3e73b7_b8d72424","updated":"2017-08-08 10:15:03.000000000","message":"taken care of. Please check.","commit_id":"fb7a4c30f3b29a700577238f80a7abc1159302a2"}],"releasenotes/notes/ilo-refresh-firmware-version-on-firmware-update-d6fd02d6b292c906.yaml":[{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"f3de3519f9c81891e9c434431af90ccdf1c138df","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - iLO drivers now refreshes the firmware versions of 2 components, ilo and"},{"line_number":4,"context_line":"    rom, once firmware update, as a manual cleaning step, happens successfully."}],"source_content_type":"text/x-yaml","patch_set":4,"id":"5f201791_100bd929","line":4,"range":{"start_line":3,"start_character":16,"end_line":4,"end_character":29},"updated":"2017-06-28 10:28:24.000000000","message":"Better to be elaborate that values of capabilities \u0027ilo_firmware_version\u0027 and \u0027rom_firmware_version\u0027 are updated in the node.properties[\u0027capabilities\u0027]","commit_id":"adda6fc20ff4434590b03dcd360c05f04a8837dd"},{"author":{"_account_id":16635,"name":"deray","email":"debayan.ray@gmail.com","username":"deray"},"change_message_id":"adc681cbbf41c9c639181e6e03ae3355687875bd","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - iLO drivers now refreshes the firmware versions of 2 components, ilo and"},{"line_number":4,"context_line":"    rom, once firmware update, as a manual cleaning step, happens successfully."}],"source_content_type":"text/x-yaml","patch_set":4,"id":"3f1d235d_9d8da77d","line":4,"range":{"start_line":3,"start_character":16,"end_line":4,"end_character":29},"in_reply_to":"5f201791_100bd929","updated":"2017-06-29 07:21:21.000000000","message":"Done","commit_id":"adda6fc20ff4434590b03dcd360c05f04a8837dd"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"0982bca376f45773f58c32b0ef04e5fb223bc805","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - iLO drivers now refreshes the firmware versions of 2 components, ilo and"},{"line_number":4,"context_line":"    rom, once firmware update, as a manual cleaning step, happens successfully."},{"line_number":5,"context_line":"    As a result, keys \u0027ilo_firmware_version\u0027 and \u0027rom_firmware_version\u0027 of"},{"line_number":6,"context_line":"    node\u0027s properties[\u0027capabilities\u0027] will be updated with new versions."}],"source_content_type":"text/x-yaml","patch_set":6,"id":"1f1a1f67_8286b612","line":4,"updated":"2017-07-18 08:41:20.000000000","message":"I\u0027d even rephrase it as \"The iLO drivers now support fetching firmware versions of iLO and ROM as part of both inspection process and the ``update_firmware`` manual clean step. The versions are stored in the ``ilo_firmware_version`` and ``rom_firmware_version`` capabilities in node\u0027s properties.\"","commit_id":"64632a55e0b6d20de4d0a494d331c31f20dfeb79"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"82762e30e035ab23bf8762abc6331b2a167f1b49","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - iLO drivers now refreshes the firmware versions of 2 components, ilo and"},{"line_number":4,"context_line":"    rom, once firmware update, as a manual cleaning step, happens successfully."},{"line_number":5,"context_line":"    As a result, keys \u0027ilo_firmware_version\u0027 and \u0027rom_firmware_version\u0027 of"},{"line_number":6,"context_line":"    node\u0027s properties[\u0027capabilities\u0027] will be updated with new versions."}],"source_content_type":"text/x-yaml","patch_set":6,"id":"1f1a1f67_16656d1e","line":4,"range":{"start_line":4,"start_character":14,"end_line":4,"end_character":29},"updated":"2017-07-17 10:24:47.000000000","message":"s/ \u0027once firmware update, as a manual cleaning step,\u0027 / \u0027once manual cleaning step \u0027update_firmware\u0027, \u0027/","commit_id":"64632a55e0b6d20de4d0a494d331c31f20dfeb79"},{"author":{"_account_id":16635,"name":"deray","email":"debayan.ray@gmail.com","username":"deray"},"change_message_id":"233903d9729fe678da2a6e3e6a9643942d274eb2","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - iLO drivers now refreshes the firmware versions of 2 components, ilo and"},{"line_number":4,"context_line":"    rom, once firmware update, as a manual cleaning step, happens successfully."},{"line_number":5,"context_line":"    As a result, keys \u0027ilo_firmware_version\u0027 and \u0027rom_firmware_version\u0027 of"},{"line_number":6,"context_line":"    node\u0027s properties[\u0027capabilities\u0027] will be updated with new versions."}],"source_content_type":"text/x-yaml","patch_set":6,"id":"1f1a1f67_4e78c5c2","line":4,"in_reply_to":"1f1a1f67_8286b612","updated":"2017-07-19 08:00:46.000000000","message":"Thanks Shiv and Dmitry for suggesting. Documenting is hard, I agree :-). Done","commit_id":"64632a55e0b6d20de4d0a494d331c31f20dfeb79"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"2ce8ac76aaad509bdb27a100a9904b4a85fc82f0","unresolved":false,"context_lines":[{"line_number":3,"context_line":"  - The iLO drivers now support fetching firmware versions of iLO and ROM"},{"line_number":4,"context_line":"    as part of both inspection process and the ``update_firmware`` manual clean"},{"line_number":5,"context_line":"    step. The versions are stored in the ``ilo_firmware_version`` and"},{"line_number":6,"context_line":"    ``rom_firmware_version`` capabilities in node\u0027s properties."}],"source_content_type":"text/x-yaml","patch_set":9,"id":"9f436f4f_d32b5b92","line":6,"range":{"start_line":6,"start_character":45,"end_line":6,"end_character":63},"updated":"2017-08-14 19:06:50.000000000","message":"I\u0027m trying to understand why or the use case, and I\u0027m not getting that from the entry in launchpad.  Could we get an explanation of why this is useful? or how it helps an operator or user in their every day life?","commit_id":"2f76f561086b53742daebb3c4b2877506285b8b8"},{"author":{"_account_id":16635,"name":"deray","email":"debayan.ray@gmail.com","username":"deray"},"change_message_id":"2671bbf3ddb3408441ab2556df7ffb290026a12b","unresolved":false,"context_lines":[{"line_number":3,"context_line":"  - The iLO drivers now support fetching firmware versions of iLO and ROM"},{"line_number":4,"context_line":"    as part of both inspection process and the ``update_firmware`` manual clean"},{"line_number":5,"context_line":"    step. The versions are stored in the ``ilo_firmware_version`` and"},{"line_number":6,"context_line":"    ``rom_firmware_version`` capabilities in node\u0027s properties."}],"source_content_type":"text/x-yaml","patch_set":9,"id":"9f436f4f_c6438441","line":6,"range":{"start_line":6,"start_character":45,"end_line":6,"end_character":63},"in_reply_to":"9f436f4f_d32b5b92","updated":"2017-08-15 14:10:00.000000000","message":"At present, ``ilo_firmware_version`` and ``rom_firmware_version`` are updated as part of the node capabilities when node inspection happens. And if the operator wishes to update firmware of any of those 2 components via manual cleaning\u0027s \u0027update_firmware\u0027 method, then the latest updated firmware versions are not getting reflected in node capabilities. So, this patch ensures that the firmware version information is up-to-date even after updating the firmware via manual cleaning.\n\nPlease let me know if this clarifies the significance of this patch.","commit_id":"2f76f561086b53742daebb3c4b2877506285b8b8"}]}
