)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"b5d7a20dda4d1fbd4d9a2b4e18728d555bb44ef1","unresolved":false,"context_lines":[{"line_number":15,"context_line":"contains 20 octets."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: I614fe63236985438d2f354d17a15d17649e72912"},{"line_number":18,"context_line":"Closes-Bug: #1561137"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"ba5da102_084c179d","line":18,"updated":"2016-11-01 12:03:49.000000000","message":"Looks like wrong bug number.","commit_id":"3e7bde9bcf752f76d52b405aef6129d23b6b3e23"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"34ebbd769e77f29049f0cd33611dc4e58e6ce3ce","unresolved":false,"context_lines":[{"line_number":15,"context_line":"contains 20 octets."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: I614fe63236985438d2f354d17a15d17649e72912"},{"line_number":18,"context_line":"Closes-Bug: #1561137"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"ba5da102_775aca2b","line":18,"in_reply_to":"ba5da102_084c179d","updated":"2016-11-01 13:31:48.000000000","message":"oh, ops! My bad here","commit_id":"3e7bde9bcf752f76d52b405aef6129d23b6b3e23"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"b1112cb5289146f507d2d938a2052d9676c4feb9","unresolved":false,"context_lines":[{"line_number":12,"context_line":"node would fail because the ramdisk wouldn\u0027t be able to lookup which"},{"line_number":13,"context_line":"node it was in the Ironic database. One way to trigger this problem was"},{"line_number":14,"context_line":"to deploy a node with an Infiniband Card which the MAC address (or GID)"},{"line_number":15,"context_line":"contains 20 octets."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"The ListOfMacAdresses type was also deleted as part of this patch"},{"line_number":18,"context_line":"because it wasn\u0027t used anywhere else."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"ba5da102_5e2dda93","line":15,"updated":"2016-11-01 16:23:19.000000000","message":"worth emphasizing, that a card will cause deploy to fail, even if it\u0027s not the card used for PXE and enrolled in port list.","commit_id":"072cd2e3827f5996c506fd04b870b0a5ba85c8bc"}],"ironic/api/controllers/v1/ramdisk.py":[{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"b5d7a20dda4d1fbd4d9a2b4e18728d555bb44ef1","unresolved":false,"context_lines":[{"line_number":78,"context_line":"class LookupController(rest.RestController):"},{"line_number":79,"context_line":"    \"\"\"Controller handling node lookup for a deploy ramdisk.\"\"\""},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"    @expose.expose(LookupResult, types.list_of_macaddress, types.uuid)"},{"line_number":82,"context_line":"    def get_all(self, addresses\u003dNone, node_uuid\u003dNone):"},{"line_number":83,"context_line":"        \"\"\"Look up a node by its MAC addresses and optionally UUID."},{"line_number":84,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5da102_281f1b6d","side":"PARENT","line":81,"updated":"2016-11-01 12:03:49.000000000","message":"list_of_macaddress used only here. Maybe change validation code in types?","commit_id":"f750bcd52124951db1beac95a00572c0548a01a6"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"4a5e826cf1534f101967e8c39ed41be5dc501945","unresolved":false,"context_lines":[{"line_number":78,"context_line":"class LookupController(rest.RestController):"},{"line_number":79,"context_line":"    \"\"\"Controller handling node lookup for a deploy ramdisk.\"\"\""},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"    @expose.expose(LookupResult, types.list_of_macaddress, types.uuid)"},{"line_number":82,"context_line":"    def get_all(self, addresses\u003dNone, node_uuid\u003dNone):"},{"line_number":83,"context_line":"        \"\"\"Look up a node by its MAC addresses and optionally UUID."},{"line_number":84,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5da102_8e158f41","side":"PARENT","line":81,"in_reply_to":"ba5da102_281f1b6d","updated":"2016-11-01 12:28:46.000000000","message":"+1, seems pretty doable.","commit_id":"f750bcd52124951db1beac95a00572c0548a01a6"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"34ebbd769e77f29049f0cd33611dc4e58e6ce3ce","unresolved":false,"context_lines":[{"line_number":78,"context_line":"class LookupController(rest.RestController):"},{"line_number":79,"context_line":"    \"\"\"Controller handling node lookup for a deploy ramdisk.\"\"\""},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"    @expose.expose(LookupResult, types.list_of_macaddress, types.uuid)"},{"line_number":82,"context_line":"    def get_all(self, addresses\u003dNone, node_uuid\u003dNone):"},{"line_number":83,"context_line":"        \"\"\"Look up a node by its MAC addresses and optionally UUID."},{"line_number":84,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5da102_17842e5c","side":"PARENT","line":81,"in_reply_to":"ba5da102_8e158f41","updated":"2016-11-01 13:31:48.000000000","message":"I\u0027m a bit concerned about changing the code for types just because it\u0027s used in one place. All other types will raise an exception if the values fails on validation, I don\u0027t think it\u0027s consistent to change that validation for one type. It will be super misleading in case we want to use it in more places.","commit_id":"f750bcd52124951db1beac95a00572c0548a01a6"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"4d487dad71f1c427b44bfb6d7ff179e4556eeaaa","unresolved":false,"context_lines":[{"line_number":83,"context_line":"    \"\"\"Controller handling node lookup for a deploy ramdisk.\"\"\""},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"    @expose.expose(LookupResult, types.listtype, types.uuid)"},{"line_number":86,"context_line":"    def get_all(self, addresses\u003dNone, node_uuid\u003dNone):"},{"line_number":87,"context_line":"        \"\"\"Look up a node by its MAC addresses and optionally UUID."},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"        If the \"restrict_lookup\" option is set to True (the default), limit"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba5da102_08e32c34","line":86,"updated":"2016-11-01 15:41:19.000000000","message":"This lookup isn\u0027t expected to succeed when looking up via Infiniband GID, right? If it is expected to succeed, this method will need updating: https://github.com/openstack/ironic/blob/f750bcd52124951db1beac95a00572c0548a01a6/ironic/common/utils.py#L118","commit_id":"072cd2e3827f5996c506fd04b870b0a5ba85c8bc"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"b1112cb5289146f507d2d938a2052d9676c4feb9","unresolved":false,"context_lines":[{"line_number":83,"context_line":"    \"\"\"Controller handling node lookup for a deploy ramdisk.\"\"\""},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"    @expose.expose(LookupResult, types.listtype, types.uuid)"},{"line_number":86,"context_line":"    def get_all(self, addresses\u003dNone, node_uuid\u003dNone):"},{"line_number":87,"context_line":"        \"\"\"Look up a node by its MAC addresses and optionally UUID."},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"        If the \"restrict_lookup\" option is set to True (the default), limit"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba5da102_7e1e1e60","line":86,"updated":"2016-11-01 16:23:19.000000000","message":"with this patch, lookup is merely expected not to fail when one of NICs is infiniband. Proper infiniband support will be implemented in IPA side my convering infiniband addresses to MAC addresses.","commit_id":"072cd2e3827f5996c506fd04b870b0a5ba85c8bc"},{"author":{"_account_id":5805,"name":"Chris Krelle","email":"nobodycam@gmail.com","username":"nobodycam"},"change_message_id":"d3cbcc2ecee97819eb055536859434db03aeceb7","unresolved":false,"context_lines":[{"line_number":111,"context_line":"                mac \u003d utils.validate_and_normalize_mac(addr)"},{"line_number":112,"context_line":"                valid_addresses.append(mac)"},{"line_number":113,"context_line":"            except exception.InvalidMAC:"},{"line_number":114,"context_line":"                LOG.warning(_LW(\u0027The address %s is not a valid MAC address. \u0027"},{"line_number":115,"context_line":"                                \u0027Ignoring it\u0027), addr)"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"        if not valid_addresses and not node_uuid:"},{"line_number":118,"context_line":"            raise exception.IncompleteLookup()"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba5da102_8038ecf0","line":115,"range":{"start_line":114,"start_character":16,"end_line":115,"end_character":53},"updated":"2016-11-01 19:22:05.000000000","message":"might be good to include node-uuid here too.","commit_id":"072cd2e3827f5996c506fd04b870b0a5ba85c8bc"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"0b9ade65f5409169f4247a686cd7bb555b4496c7","unresolved":false,"context_lines":[{"line_number":111,"context_line":"                mac \u003d utils.validate_and_normalize_mac(addr)"},{"line_number":112,"context_line":"                valid_addresses.append(mac)"},{"line_number":113,"context_line":"            except exception.InvalidMAC:"},{"line_number":114,"context_line":"                LOG.warning(_LW(\u0027The address %s is not a valid MAC address. \u0027"},{"line_number":115,"context_line":"                                \u0027Ignoring it\u0027), addr)"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"        if not valid_addresses and not node_uuid:"},{"line_number":118,"context_line":"            raise exception.IncompleteLookup()"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba5da102_0d9c055c","line":115,"range":{"start_line":114,"start_character":16,"end_line":115,"end_character":53},"in_reply_to":"ba5da102_57685187","updated":"2016-11-02 09:05:54.000000000","message":"Done","commit_id":"072cd2e3827f5996c506fd04b870b0a5ba85c8bc"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"c07d3c20b3f0428c5ad21c093eca2d7606b662eb","unresolved":false,"context_lines":[{"line_number":111,"context_line":"                mac \u003d utils.validate_and_normalize_mac(addr)"},{"line_number":112,"context_line":"                valid_addresses.append(mac)"},{"line_number":113,"context_line":"            except exception.InvalidMAC:"},{"line_number":114,"context_line":"                LOG.warning(_LW(\u0027The address %s is not a valid MAC address. \u0027"},{"line_number":115,"context_line":"                                \u0027Ignoring it\u0027), addr)"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"        if not valid_addresses and not node_uuid:"},{"line_number":118,"context_line":"            raise exception.IncompleteLookup()"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba5da102_57685187","line":115,"range":{"start_line":114,"start_character":16,"end_line":115,"end_character":53},"in_reply_to":"ba5da102_8038ecf0","updated":"2016-11-02 00:51:09.000000000","message":"++ if node_uuid was specified.\n\nAnd maybe emit one LOG.warning that includes all invalid addresses.\n\nSince we don\u0027t know what the string/address is, it might also be good to put it in quotes.","commit_id":"072cd2e3827f5996c506fd04b870b0a5ba85c8bc"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"9b144ffceba1d84f6a43d452636d86d9d6b8875b","unresolved":false,"context_lines":[{"line_number":115,"context_line":"                invalid_addresses.append(addr)"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"        if invalid_addresses:"},{"line_number":118,"context_line":"            node_log \u003d \u0027(Node UUID: %s)\u0027 if node_uuid else \u0027\u0027"},{"line_number":119,"context_line":"            LOG.warning(_LW(\u0027The following addresses \"%(addrs)s\" are invalid \u0027"},{"line_number":120,"context_line":"                            \u0027and will be ignored by the lookup request \u0027"},{"line_number":121,"context_line":"                            \u0027%(node)s\u0027), {\u0027addrs\u0027: \u0027,\u0027.join(invalid_addresses),"}],"source_content_type":"text/x-python","patch_set":3,"id":"ba5da102_1f0ee03a","line":118,"updated":"2016-11-02 12:47:50.000000000","message":"nit: this small template should probably be surroundd by _LW()","commit_id":"7b048ec880f9aa260b14cbecabac8e804a40a06d"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"5b5fb54e09305b9dcee20cf5c263c6583894c540","unresolved":false,"context_lines":[{"line_number":115,"context_line":"                invalid_addresses.append(addr)"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"        if invalid_addresses:"},{"line_number":118,"context_line":"            node_log \u003d \u0027(Node UUID: %s)\u0027 if node_uuid else \u0027\u0027"},{"line_number":119,"context_line":"            LOG.warning(_LW(\u0027The following addresses \"%(addrs)s\" are invalid \u0027"},{"line_number":120,"context_line":"                            \u0027and will be ignored by the lookup request \u0027"},{"line_number":121,"context_line":"                            \u0027%(node)s\u0027), {\u0027addrs\u0027: \u0027,\u0027.join(invalid_addresses),"}],"source_content_type":"text/x-python","patch_set":3,"id":"ba5da102_7622a253","line":118,"in_reply_to":"ba5da102_1f0ee03a","updated":"2016-11-02 13:56:34.000000000","message":"Done","commit_id":"7b048ec880f9aa260b14cbecabac8e804a40a06d"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"9b144ffceba1d84f6a43d452636d86d9d6b8875b","unresolved":false,"context_lines":[{"line_number":116,"context_line":""},{"line_number":117,"context_line":"        if invalid_addresses:"},{"line_number":118,"context_line":"            node_log \u003d \u0027(Node UUID: %s)\u0027 if node_uuid else \u0027\u0027"},{"line_number":119,"context_line":"            LOG.warning(_LW(\u0027The following addresses \"%(addrs)s\" are invalid \u0027"},{"line_number":120,"context_line":"                            \u0027and will be ignored by the lookup request \u0027"},{"line_number":121,"context_line":"                            \u0027%(node)s\u0027), {\u0027addrs\u0027: \u0027,\u0027.join(invalid_addresses),"},{"line_number":122,"context_line":"                                          \u0027node\u0027: node_log})"}],"source_content_type":"text/x-python","patch_set":3,"id":"ba5da102_3f0ba42b","line":119,"updated":"2016-11-02 12:47:50.000000000","message":"nit: \"MAC addresses\" to emphasize that we require MAC format","commit_id":"7b048ec880f9aa260b14cbecabac8e804a40a06d"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"5b5fb54e09305b9dcee20cf5c263c6583894c540","unresolved":false,"context_lines":[{"line_number":116,"context_line":""},{"line_number":117,"context_line":"        if invalid_addresses:"},{"line_number":118,"context_line":"            node_log \u003d \u0027(Node UUID: %s)\u0027 if node_uuid else \u0027\u0027"},{"line_number":119,"context_line":"            LOG.warning(_LW(\u0027The following addresses \"%(addrs)s\" are invalid \u0027"},{"line_number":120,"context_line":"                            \u0027and will be ignored by the lookup request \u0027"},{"line_number":121,"context_line":"                            \u0027%(node)s\u0027), {\u0027addrs\u0027: \u0027,\u0027.join(invalid_addresses),"},{"line_number":122,"context_line":"                                          \u0027node\u0027: node_log})"}],"source_content_type":"text/x-python","patch_set":3,"id":"ba5da102_961f3607","line":119,"in_reply_to":"ba5da102_3f0ba42b","updated":"2016-11-02 13:56:34.000000000","message":"Done","commit_id":"7b048ec880f9aa260b14cbecabac8e804a40a06d"},{"author":{"_account_id":21239,"name":"Alex Szarka","email":"szarka@inf.u-szeged.hu","username":"xavvior"},"change_message_id":"dcf4b6ab4f6a48944ca96510f551ae4f6f57616a","unresolved":false,"context_lines":[{"line_number":115,"context_line":"                invalid_addresses.append(addr)"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"        if invalid_addresses:"},{"line_number":118,"context_line":"            node_log \u003d _LW(\u0027(Node UUID: %s)\u0027) if node_uuid else \u0027\u0027"},{"line_number":119,"context_line":"            LOG.warning(_LW(\u0027The following MAC addresses \"%(addrs)s\" are \u0027"},{"line_number":120,"context_line":"                            \u0027invalid and will be ignored by the lookup \u0027"},{"line_number":121,"context_line":"                            \u0027request %(node)s\u0027),"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba5da102_1906f91c","line":118,"range":{"start_line":118,"start_character":23,"end_line":118,"end_character":66},"updated":"2016-11-02 14:22:27.000000000","message":"This not like to me. The LW encapsulatable?\nif yes, then be always _LW() like template. And what kind of value get the %s (as string)?\n\nhttp://docs.openstack.org/developer/oslo.i18n/guidelines.html\n\nThis really write to warning channel of LOG, the node UUID? I nowhere see, that whereabouts get the node_uuid value, the %s.","commit_id":"719a759b94a6373a346a9a7536854ecfcd00dcea"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"491641ee62d84684f7441ea430fb6e0aabcf5d08","unresolved":false,"context_lines":[{"line_number":115,"context_line":"                invalid_addresses.append(addr)"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"        if invalid_addresses:"},{"line_number":118,"context_line":"            node_log \u003d _LW(\u0027(Node UUID: %s)\u0027) if node_uuid else \u0027\u0027"},{"line_number":119,"context_line":"            LOG.warning(_LW(\u0027The following MAC addresses \"%(addrs)s\" are \u0027"},{"line_number":120,"context_line":"                            \u0027invalid and will be ignored by the lookup \u0027"},{"line_number":121,"context_line":"                            \u0027request %(node)s\u0027),"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba5da102_7f3c35c8","line":118,"range":{"start_line":118,"start_character":23,"end_line":118,"end_character":66},"in_reply_to":"ba5da102_1906f91c","updated":"2016-11-02 14:55:42.000000000","message":"Oh, I should be passing the node_uuid here... my bad!\n\nGood catch btw","commit_id":"719a759b94a6373a346a9a7536854ecfcd00dcea"},{"author":{"_account_id":21239,"name":"Alex Szarka","email":"szarka@inf.u-szeged.hu","username":"xavvior"},"change_message_id":"dcf4b6ab4f6a48944ca96510f551ae4f6f57616a","unresolved":false,"context_lines":[{"line_number":116,"context_line":""},{"line_number":117,"context_line":"        if invalid_addresses:"},{"line_number":118,"context_line":"            node_log \u003d _LW(\u0027(Node UUID: %s)\u0027) if node_uuid else \u0027\u0027"},{"line_number":119,"context_line":"            LOG.warning(_LW(\u0027The following MAC addresses \"%(addrs)s\" are \u0027"},{"line_number":120,"context_line":"                            \u0027invalid and will be ignored by the lookup \u0027"},{"line_number":121,"context_line":"                            \u0027request %(node)s\u0027),"},{"line_number":122,"context_line":"                        {\u0027addrs\u0027: \u0027, \u0027.join(invalid_addresses),"},{"line_number":123,"context_line":"                         \u0027node\u0027: node_log})"},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"        if not valid_addresses and not node_uuid:"},{"line_number":126,"context_line":"            raise exception.IncompleteLookup()"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba5da102_d946414e","line":123,"range":{"start_line":119,"start_character":12,"end_line":123,"end_character":43},"updated":"2016-11-02 14:22:27.000000000","message":"Here i see, that %(addr) get the addresses, and the %(node) get the node_log, but in the node_log the %s string where from get the value?","commit_id":"719a759b94a6373a346a9a7536854ecfcd00dcea"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"491641ee62d84684f7441ea430fb6e0aabcf5d08","unresolved":false,"context_lines":[{"line_number":116,"context_line":""},{"line_number":117,"context_line":"        if invalid_addresses:"},{"line_number":118,"context_line":"            node_log \u003d _LW(\u0027(Node UUID: %s)\u0027) if node_uuid else \u0027\u0027"},{"line_number":119,"context_line":"            LOG.warning(_LW(\u0027The following MAC addresses \"%(addrs)s\" are \u0027"},{"line_number":120,"context_line":"                            \u0027invalid and will be ignored by the lookup \u0027"},{"line_number":121,"context_line":"                            \u0027request %(node)s\u0027),"},{"line_number":122,"context_line":"                        {\u0027addrs\u0027: \u0027, \u0027.join(invalid_addresses),"},{"line_number":123,"context_line":"                         \u0027node\u0027: node_log})"},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"        if not valid_addresses and not node_uuid:"},{"line_number":126,"context_line":"            raise exception.IncompleteLookup()"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba5da102_9f12e955","line":123,"range":{"start_line":119,"start_character":12,"end_line":123,"end_character":43},"in_reply_to":"ba5da102_d946414e","updated":"2016-11-02 14:55:42.000000000","message":"Oh, I should be passing the node_uuid here... my bad!\n\nGood catch btw!","commit_id":"719a759b94a6373a346a9a7536854ecfcd00dcea"}],"ironic/tests/unit/api/v1/test_ramdisk.py":[{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"4d487dad71f1c427b44bfb6d7ff179e4556eeaaa","unresolved":false,"context_lines":[{"line_number":106,"context_line":"                                   node_id\u003dself.node.id,"},{"line_number":107,"context_line":"                                   address\u003dself.addresses[1])"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"        addresses \u003d \u0027not-a-valid-address,\u0027 + \u0027,\u0027.join(self.addresses)"},{"line_number":110,"context_line":"        data \u003d self.get_json("},{"line_number":111,"context_line":"            \u0027/lookup?addresses\u003d%s\u0027 % addresses,"},{"line_number":112,"context_line":"            headers\u003d{api_base.Version.string: str(api_v1.MAX_VER)})"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba5da102_88449c1b","line":109,"updated":"2016-11-01 15:41:19.000000000","message":"Might be good to also validate this with an Infiniband GID","commit_id":"072cd2e3827f5996c506fd04b870b0a5ba85c8bc"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"0b9ade65f5409169f4247a686cd7bb555b4496c7","unresolved":false,"context_lines":[{"line_number":106,"context_line":"                                   node_id\u003dself.node.id,"},{"line_number":107,"context_line":"                                   address\u003dself.addresses[1])"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"        addresses \u003d \u0027not-a-valid-address,\u0027 + \u0027,\u0027.join(self.addresses)"},{"line_number":110,"context_line":"        data \u003d self.get_json("},{"line_number":111,"context_line":"            \u0027/lookup?addresses\u003d%s\u0027 % addresses,"},{"line_number":112,"context_line":"            headers\u003d{api_base.Version.string: str(api_v1.MAX_VER)})"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba5da102_2da549a1","line":109,"in_reply_to":"ba5da102_402b3494","updated":"2016-11-02 09:05:54.000000000","message":"Done","commit_id":"072cd2e3827f5996c506fd04b870b0a5ba85c8bc"},{"author":{"_account_id":5805,"name":"Chris Krelle","email":"nobodycam@gmail.com","username":"nobodycam"},"change_message_id":"d3cbcc2ecee97819eb055536859434db03aeceb7","unresolved":false,"context_lines":[{"line_number":106,"context_line":"                                   node_id\u003dself.node.id,"},{"line_number":107,"context_line":"                                   address\u003dself.addresses[1])"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"        addresses \u003d \u0027not-a-valid-address,\u0027 + \u0027,\u0027.join(self.addresses)"},{"line_number":110,"context_line":"        data \u003d self.get_json("},{"line_number":111,"context_line":"            \u0027/lookup?addresses\u003d%s\u0027 % addresses,"},{"line_number":112,"context_line":"            headers\u003d{api_base.Version.string: str(api_v1.MAX_VER)})"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba5da102_402b3494","line":109,"in_reply_to":"ba5da102_88449c1b","updated":"2016-11-01 19:22:05.000000000","message":"+1","commit_id":"072cd2e3827f5996c506fd04b870b0a5ba85c8bc"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"521406bac797689a29073a20e3583650cac0076d","unresolved":false,"context_lines":[{"line_number":107,"context_line":"                                   address\u003dself.addresses[1])"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"        addresses \u003d (\u0027not-a-valid-address,80:00:02:48:fe:80:00:00:00:00:00:00\u0027"},{"line_number":110,"context_line":"                     \u0027:f4:52:14:03:00:54:06:c2\u0027 + \u0027,\u0027.join(self.addresses))"},{"line_number":111,"context_line":"        data \u003d self.get_json("},{"line_number":112,"context_line":"            \u0027/lookup?addresses\u003d%s\u0027 % addresses,"},{"line_number":113,"context_line":"            headers\u003d{api_base.Version.string: str(api_v1.MAX_VER)})"}],"source_content_type":"text/x-python","patch_set":3,"id":"ba5da102_16d7a64b","line":110,"updated":"2016-11-02 13:54:08.000000000","message":"the test \u0027works\u0027, but I think in the spirit of what you are trying to test, you want to separate the infiniband GID from the other address, so s/c2/c2,/","commit_id":"7b048ec880f9aa260b14cbecabac8e804a40a06d"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"5b5fb54e09305b9dcee20cf5c263c6583894c540","unresolved":false,"context_lines":[{"line_number":107,"context_line":"                                   address\u003dself.addresses[1])"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"        addresses \u003d (\u0027not-a-valid-address,80:00:02:48:fe:80:00:00:00:00:00:00\u0027"},{"line_number":110,"context_line":"                     \u0027:f4:52:14:03:00:54:06:c2\u0027 + \u0027,\u0027.join(self.addresses))"},{"line_number":111,"context_line":"        data \u003d self.get_json("},{"line_number":112,"context_line":"            \u0027/lookup?addresses\u003d%s\u0027 % addresses,"},{"line_number":113,"context_line":"            headers\u003d{api_base.Version.string: str(api_v1.MAX_VER)})"}],"source_content_type":"text/x-python","patch_set":3,"id":"ba5da102_3624aa5e","line":110,"in_reply_to":"ba5da102_16d7a64b","updated":"2016-11-02 13:56:34.000000000","message":"Oh right, missed the \",\" there","commit_id":"7b048ec880f9aa260b14cbecabac8e804a40a06d"}],"releasenotes/notes/lookup-ignore-malformed-macs-09e7e909f3a134a3.yaml":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"4a5e826cf1534f101967e8c39ed41be5dc501945","unresolved":false,"context_lines":[{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - Fixes a problem where the deployment of a node would fail to continue"},{"line_number":4,"context_line":"    if a malformed MAC address was passed to the lookup mechanism in the"},{"line_number":5,"context_line":"    Ironic API."}],"source_content_type":"text/x-yaml","patch_set":1,"id":"ba5da102_eb535d37","line":5,"updated":"2016-11-01 12:28:46.000000000","message":"let\u0027s provide an infiniband example here","commit_id":"3e7bde9bcf752f76d52b405aef6129d23b6b3e23"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"34ebbd769e77f29049f0cd33611dc4e58e6ce3ce","unresolved":false,"context_lines":[{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - Fixes a problem where the deployment of a node would fail to continue"},{"line_number":4,"context_line":"    if a malformed MAC address was passed to the lookup mechanism in the"},{"line_number":5,"context_line":"    Ironic API."}],"source_content_type":"text/x-yaml","patch_set":1,"id":"ba5da102_777f2a66","line":5,"in_reply_to":"ba5da102_eb535d37","updated":"2016-11-01 13:31:48.000000000","message":"Done","commit_id":"3e7bde9bcf752f76d52b405aef6129d23b6b3e23"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"b1112cb5289146f507d2d938a2052d9676c4feb9","unresolved":false,"context_lines":[{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - Fixes a problem where the deployment of a node would fail to continue"},{"line_number":4,"context_line":"    if a malformed MAC address was passed to the lookup mechanism in the"},{"line_number":5,"context_line":"    Ironic API. For example, if a node contains a Infiniband card it fail"},{"line_number":6,"context_line":"    to lookup because the agent ramdisk will pass a MAC address (or GID)"},{"line_number":7,"context_line":"    with 20 octets (instead of the expected 6 octets) to the Ironic API."}],"source_content_type":"text/x-yaml","patch_set":2,"id":"ba5da102_3e282686","line":5,"updated":"2016-11-01 16:23:19.000000000","message":"s/fail/fails/","commit_id":"072cd2e3827f5996c506fd04b870b0a5ba85c8bc"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"0b9ade65f5409169f4247a686cd7bb555b4496c7","unresolved":false,"context_lines":[{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - Fixes a problem where the deployment of a node would fail to continue"},{"line_number":4,"context_line":"    if a malformed MAC address was passed to the lookup mechanism in the"},{"line_number":5,"context_line":"    Ironic API. For example, if a node contains a Infiniband card it fail"},{"line_number":6,"context_line":"    to lookup because the agent ramdisk will pass a MAC address (or GID)"},{"line_number":7,"context_line":"    with 20 octets (instead of the expected 6 octets) to the Ironic API."}],"source_content_type":"text/x-yaml","patch_set":2,"id":"ba5da102_adb799d6","line":5,"in_reply_to":"ba5da102_17f979c7","updated":"2016-11-02 09:05:54.000000000","message":"Done","commit_id":"072cd2e3827f5996c506fd04b870b0a5ba85c8bc"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"c07d3c20b3f0428c5ad21c093eca2d7606b662eb","unresolved":false,"context_lines":[{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - Fixes a problem where the deployment of a node would fail to continue"},{"line_number":4,"context_line":"    if a malformed MAC address was passed to the lookup mechanism in the"},{"line_number":5,"context_line":"    Ironic API. For example, if a node contains a Infiniband card it fail"},{"line_number":6,"context_line":"    to lookup because the agent ramdisk will pass a MAC address (or GID)"},{"line_number":7,"context_line":"    with 20 octets (instead of the expected 6 octets) to the Ironic API."}],"source_content_type":"text/x-yaml","patch_set":2,"id":"ba5da102_17f979c7","line":5,"in_reply_to":"ba5da102_3e282686","updated":"2016-11-02 00:51:09.000000000","message":"s/a Infiniband/an Infiniband/","commit_id":"072cd2e3827f5996c506fd04b870b0a5ba85c8bc"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"c07d3c20b3f0428c5ad21c093eca2d7606b662eb","unresolved":false,"context_lines":[{"line_number":3,"context_line":"  - Fixes a problem where the deployment of a node would fail to continue"},{"line_number":4,"context_line":"    if a malformed MAC address was passed to the lookup mechanism in the"},{"line_number":5,"context_line":"    Ironic API. For example, if a node contains a Infiniband card it fail"},{"line_number":6,"context_line":"    to lookup because the agent ramdisk will pass a MAC address (or GID)"},{"line_number":7,"context_line":"    with 20 octets (instead of the expected 6 octets) to the Ironic API."}],"source_content_type":"text/x-yaml","patch_set":2,"id":"ba5da102_579bf171","line":6,"updated":"2016-11-02 00:51:09.000000000","message":"Maybe instead of s/card it fail to lookup.../card, the lookup used to fail because the agent ramdisk passes ...expected 6 octets) as part of the lookup request/.\n\n(Hope that makes sense, I didn\u0027t want to write it all out.)","commit_id":"072cd2e3827f5996c506fd04b870b0a5ba85c8bc"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"0b9ade65f5409169f4247a686cd7bb555b4496c7","unresolved":false,"context_lines":[{"line_number":3,"context_line":"  - Fixes a problem where the deployment of a node would fail to continue"},{"line_number":4,"context_line":"    if a malformed MAC address was passed to the lookup mechanism in the"},{"line_number":5,"context_line":"    Ironic API. For example, if a node contains a Infiniband card it fail"},{"line_number":6,"context_line":"    to lookup because the agent ramdisk will pass a MAC address (or GID)"},{"line_number":7,"context_line":"    with 20 octets (instead of the expected 6 octets) to the Ironic API."}],"source_content_type":"text/x-yaml","patch_set":2,"id":"ba5da102_edad1185","line":6,"in_reply_to":"ba5da102_579bf171","updated":"2016-11-02 09:05:54.000000000","message":"Done","commit_id":"072cd2e3827f5996c506fd04b870b0a5ba85c8bc"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"c07d3c20b3f0428c5ad21c093eca2d7606b662eb","unresolved":false,"context_lines":[{"line_number":4,"context_line":"    if a malformed MAC address was passed to the lookup mechanism in the"},{"line_number":5,"context_line":"    Ironic API. For example, if a node contains a Infiniband card it fail"},{"line_number":6,"context_line":"    to lookup because the agent ramdisk will pass a MAC address (or GID)"},{"line_number":7,"context_line":"    with 20 octets (instead of the expected 6 octets) to the Ironic API."}],"source_content_type":"text/x-yaml","patch_set":2,"id":"ba5da102_d744611c","line":7,"updated":"2016-11-02 00:51:09.000000000","message":"The fix is to ignore \u0027invalid\u0027 MAC addresses, right? How about adding to line 5:\n\ns/Ironic API/Ironic API. Malformed MAC addresses are now ignored./\n\n(I actually prefer \u0027invalid\u0027 to \u0027malformed\u0027 but maybe it is personal preference.)","commit_id":"072cd2e3827f5996c506fd04b870b0a5ba85c8bc"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"0b9ade65f5409169f4247a686cd7bb555b4496c7","unresolved":false,"context_lines":[{"line_number":4,"context_line":"    if a malformed MAC address was passed to the lookup mechanism in the"},{"line_number":5,"context_line":"    Ironic API. For example, if a node contains a Infiniband card it fail"},{"line_number":6,"context_line":"    to lookup because the agent ramdisk will pass a MAC address (or GID)"},{"line_number":7,"context_line":"    with 20 octets (instead of the expected 6 octets) to the Ironic API."}],"source_content_type":"text/x-yaml","patch_set":2,"id":"ba5da102_6dc2e135","line":7,"in_reply_to":"ba5da102_d744611c","updated":"2016-11-02 09:05:54.000000000","message":"Done","commit_id":"072cd2e3827f5996c506fd04b870b0a5ba85c8bc"}]}
