)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"bf73fcca0f9368e8548071737fc8d4c065775bb1","unresolved":false,"context_lines":[{"line_number":12,"context_line":"  \"AttributeError: \u0027module\u0027 object has no attribute \u0027PyRoute2\u0027"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Change-Id: I1852038b8d40d4aa52c4f8e661bc78e54e0fc966"},{"line_number":15,"context_line":"Closes-Bug: #1810325"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"bfdaf3ff_5f50f05d","line":15,"range":{"start_line":15,"start_character":0,"end_line":15,"end_character":20},"updated":"2019-01-16 17:30:17.000000000","message":"i would like an os-vif bug filed for this with a clear explanation of the issue.","commit_id":"6220930f0d7c1e72bc962766eba979bb485bce3f"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"23bf8f55c5db7242c2dbb8aea421faf7cebb48cf","unresolved":false,"context_lines":[{"line_number":12,"context_line":"  \"AttributeError: \u0027module\u0027 object has no attribute \u0027PyRoute2\u0027"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Change-Id: I1852038b8d40d4aa52c4f8e661bc78e54e0fc966"},{"line_number":15,"context_line":"Closes-Bug: #1812090"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"bfdaf3ff_1577a7a2","line":15,"range":{"start_line":15,"start_character":0,"end_line":15,"end_character":20},"updated":"2019-01-16 18:24:05.000000000","message":"my kibana foo is not amazing but look like this has only happened in teh last 30 twice \n\nhttp://logstash.openstack.org/#/dashboard/file/logstash.json?query\u003dmodule:%5C%22os_vif%5C%22%20AND%20%20%20loglevel:%20%5C%22ERROR%5C%22%20AND%20message:%20%5C%22ImportError%5C%22\n\nso its not a gate breaking bug.\n\nboth instance were on different revisions of \nhttps://review.openstack.org/#/c/627970/\none on fedora 28 and another on ubuntu bionic.\n\nperhaps this does not happen on ubuntu 16.04 which coudl explain why we did not see this till now?","commit_id":"ad6e6493e4926ea87e00464ff551e581e7942e67"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"1677d52b1731f72e25973984e87ecd5a9e97cf03","unresolved":false,"context_lines":[{"line_number":12,"context_line":"  \"AttributeError: \u0027module\u0027 object has no attribute \u0027PyRoute2\u0027"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Change-Id: I1852038b8d40d4aa52c4f8e661bc78e54e0fc966"},{"line_number":15,"context_line":"Closes-Bug: #1812090"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"bfdaf3ff_150c6eeb","line":15,"range":{"start_line":15,"start_character":0,"end_line":15,"end_character":20},"in_reply_to":"bfdaf3ff_1577a7a2","updated":"2019-01-17 18:12:16.000000000","message":"I tried to reproduce this bug in Fedora28 without any luck.\n\nI don\u0027t know the root cause of this problem on those OS, but this patch can solve it. Furthermore, we can improve a bit the speed by loading only once the modules.","commit_id":"ad6e6493e4926ea87e00464ff551e581e7942e67"}],"os_vif/internal/command/ip/__init__.py":[{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"754b4dde1b0fb140d066f1027f215948a55df81b","unresolved":false,"context_lines":[{"line_number":17,"context_line":"        promisc\u003dNone):"},{"line_number":18,"context_line":"    \"\"\"Method to set a parameter in an interface.\"\"\""},{"line_number":19,"context_line":"    return api.ip.set(device, check_exit_code\u003dcheck_exit_code,"},{"line_number":20,"context_line":"                                  state\u003dstate, mtu\u003dmtu, address\u003daddress,"},{"line_number":21,"context_line":"                                  promisc\u003dpromisc)"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"bfdaf3ff_7c69141f","line":20,"range":{"start_line":20,"start_character":22,"end_line":20,"end_character":34},"updated":"2019-01-18 15:34:03.000000000","message":"nitty nit: should You align it to line above?","commit_id":"f1e4d122bc6bc69950a62443caf538276337852d"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"18dda5d6b1a48de620ffb163c5b7fa350f4f40db","unresolved":false,"context_lines":[{"line_number":17,"context_line":"        promisc\u003dNone):"},{"line_number":18,"context_line":"    \"\"\"Method to set a parameter in an interface.\"\"\""},{"line_number":19,"context_line":"    return api.ip.set(device, check_exit_code\u003dcheck_exit_code,"},{"line_number":20,"context_line":"                                  state\u003dstate, mtu\u003dmtu, address\u003daddress,"},{"line_number":21,"context_line":"                                  promisc\u003dpromisc)"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"bfdaf3ff_4ff25472","line":20,"range":{"start_line":20,"start_character":22,"end_line":20,"end_character":34},"in_reply_to":"bfdaf3ff_7c69141f","updated":"2019-01-21 12:41:01.000000000","message":"Done","commit_id":"f1e4d122bc6bc69950a62443caf538276337852d"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"34003ec6157dc62196184b3639b0fbb30798d2ca","unresolved":false,"context_lines":[{"line_number":34,"context_line":""},{"line_number":35,"context_line":"def exists(device):"},{"line_number":36,"context_line":"    \"\"\"Method to check if an interface exists.\"\"\""},{"line_number":37,"context_line":"    return api.ip_lib_class().exists(device)"}],"source_content_type":"text/x-python","patch_set":8,"id":"9fdfeff1_12b16ae2","line":37,"range":{"start_line":37,"start_character":11,"end_line":37,"end_character":29},"updated":"2019-01-18 18:40:23.000000000","message":"should be:\n\n api.ip.exists(device)","commit_id":"b86435aaa7d57eff8580fa1ac3ed528ea7f837ee"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"dbf0d9144e997fd0737c9ff2e002be321e0a8201","unresolved":false,"context_lines":[{"line_number":34,"context_line":""},{"line_number":35,"context_line":"def exists(device):"},{"line_number":36,"context_line":"    \"\"\"Method to check if an interface exists.\"\"\""},{"line_number":37,"context_line":"    return api.ip_lib_class().exists(device)"}],"source_content_type":"text/x-python","patch_set":8,"id":"9fdfeff1_b2ef3eaf","line":37,"range":{"start_line":37,"start_character":11,"end_line":37,"end_character":29},"in_reply_to":"9fdfeff1_12b16ae2","updated":"2019-01-18 18:44:37.000000000","message":"ah yes missed that.","commit_id":"b86435aaa7d57eff8580fa1ac3ed528ea7f837ee"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"18dda5d6b1a48de620ffb163c5b7fa350f4f40db","unresolved":false,"context_lines":[{"line_number":34,"context_line":""},{"line_number":35,"context_line":"def exists(device):"},{"line_number":36,"context_line":"    \"\"\"Method to check if an interface exists.\"\"\""},{"line_number":37,"context_line":"    return api.ip_lib_class().exists(device)"}],"source_content_type":"text/x-python","patch_set":8,"id":"9fdfeff1_b69f1cb3","line":37,"range":{"start_line":37,"start_character":11,"end_line":37,"end_character":29},"in_reply_to":"9fdfeff1_aad1f559","updated":"2019-01-21 12:41:01.000000000","message":"Added patch: https://review.openstack.org/#/c/632077/","commit_id":"b86435aaa7d57eff8580fa1ac3ed528ea7f837ee"},{"author":{"_account_id":25733,"name":"Jan Gutter","email":"github@jangutter.com","username":"jangutter"},"change_message_id":"d75b56a238c00cbe0c80581baf6ed2b0a2e42bdd","unresolved":false,"context_lines":[{"line_number":34,"context_line":""},{"line_number":35,"context_line":"def exists(device):"},{"line_number":36,"context_line":"    \"\"\"Method to check if an interface exists.\"\"\""},{"line_number":37,"context_line":"    return api.ip_lib_class().exists(device)"}],"source_content_type":"text/x-python","patch_set":8,"id":"9fdfeff1_aad1f559","line":37,"range":{"start_line":37,"start_character":11,"end_line":37,"end_character":29},"in_reply_to":"9fdfeff1_b2ef3eaf","updated":"2019-01-21 08:15:35.000000000","message":"I think a good follow-on is to add a unit test for this path...","commit_id":"b86435aaa7d57eff8580fa1ac3ed528ea7f837ee"}],"os_vif/internal/command/ip/api.py":[{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"bf73fcca0f9368e8548071737fc8d4c065775bb1","unresolved":false,"context_lines":[{"line_number":15,"context_line":"from oslo_log import log as logging"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"if os.name \u003d\u003d \u0027nt\u0027:"},{"line_number":18,"context_line":"    from os_vif.internal.command.ip.windows.impl_netifaces import (  # noqa"},{"line_number":19,"context_line":"        Netifaces as ip_lib_class)"},{"line_number":20,"context_line":"else:"},{"line_number":21,"context_line":"    from os_vif.internal.command.ip.linux.impl_pyroute2 import (  # noqa"}],"source_content_type":"text/x-python","patch_set":2,"id":"bfdaf3ff_bfd6bcc2","line":18,"range":{"start_line":18,"start_character":69,"end_line":18,"end_character":75},"updated":"2019-01-16 17:30:17.000000000","message":"why is this required","commit_id":"6220930f0d7c1e72bc962766eba979bb485bce3f"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"88a381a0d3dc601ddad73364eaf58280f84e3726","unresolved":false,"context_lines":[{"line_number":15,"context_line":"from oslo_log import log as logging"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"if os.name \u003d\u003d \u0027nt\u0027:"},{"line_number":18,"context_line":"    from os_vif.internal.command.ip.windows.impl_netifaces import (  # noqa"},{"line_number":19,"context_line":"        Netifaces as ip_lib_class)"},{"line_number":20,"context_line":"else:"},{"line_number":21,"context_line":"    from os_vif.internal.command.ip.linux.impl_pyroute2 import (  # noqa"}],"source_content_type":"text/x-python","patch_set":2,"id":"bfdaf3ff_ba3c8abf","line":18,"range":{"start_line":18,"start_character":69,"end_line":18,"end_character":75},"in_reply_to":"bfdaf3ff_bfd6bcc2","updated":"2019-01-16 17:38:54.000000000","message":"Because I\u0027m not using ip_lib_class in this module. I\u0027m just importing it to be used as an interface, depending on the OS.\n\nI search for this and this is the way (including the parenthesis) to import something, not use it and pass pep8","commit_id":"6220930f0d7c1e72bc962766eba979bb485bce3f"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"23bf8f55c5db7242c2dbb8aea421faf7cebb48cf","unresolved":false,"context_lines":[{"line_number":20,"context_line":"else:"},{"line_number":21,"context_line":"    from os_vif.internal.command.ip.linux.impl_pyroute2 import (  # noqa"},{"line_number":22,"context_line":"        PyRoute2 as ip_lib_class)"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"LOG \u003d logging.getLogger(__name__)"}],"source_content_type":"text/x-python","patch_set":2,"id":"bfdaf3ff_9513975c","line":23,"updated":"2019-01-16 18:24:05.000000000","message":"perhaps we should consturct and instace of the pyroute2 class here instead of creating it again on every metod invocation as you do here\n\nip_lib \u003d ip_lib_class()\nthen you wont need to constuct i on evey call here\nlike you do here.\n\nhttps://review.openstack.org/#/c/629025/2/os_vif/internal/command/ip/__init__.py@19\n\nyou would instad do api.ip_lib.set(...)","commit_id":"6220930f0d7c1e72bc962766eba979bb485bce3f"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"23bf8f55c5db7242c2dbb8aea421faf7cebb48cf","unresolved":false,"context_lines":[{"line_number":20,"context_line":"else:"},{"line_number":21,"context_line":"    from os_vif.internal.command.ip.linux.impl_pyroute2 import (  # noqa"},{"line_number":22,"context_line":"        PyRoute2 as ip_lib_class)"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"LOG \u003d logging.getLogger(__name__)"}],"source_content_type":"text/x-python","patch_set":3,"id":"bfdaf3ff_d5227fa4","line":23,"updated":"2019-01-16 18:24:05.000000000","message":"perhaps we should consturct and instace of the pyroute2 class here instead of creating it again on every metod invocation as you do here\n\nip_lib \u003d ip_lib_class()\nthen you wont need to constuct i on evey call here\nlike you do here.\n\nhttps://review.openstack.org/#/c/629025/2/os_vif/internal/command/ip/__init__.py@19\n\nyou would instad do api.ip_lib.set(...)","commit_id":"ad6e6493e4926ea87e00464ff551e581e7942e67"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"1677d52b1731f72e25973984e87ecd5a9e97cf03","unresolved":false,"context_lines":[{"line_number":20,"context_line":"else:"},{"line_number":21,"context_line":"    from os_vif.internal.command.ip.linux.impl_pyroute2 import (  # noqa"},{"line_number":22,"context_line":"        PyRoute2 as ip_lib_class)"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"LOG \u003d logging.getLogger(__name__)"}],"source_content_type":"text/x-python","patch_set":3,"id":"bfdaf3ff_95f7fed3","line":23,"in_reply_to":"bfdaf3ff_d5227fa4","updated":"2019-01-17 18:12:16.000000000","message":"Yes, I\u0027ll do it.","commit_id":"ad6e6493e4926ea87e00464ff551e581e7942e67"}],"os_vif/tests/unit/internal/command/ip/test_api.py":[{"author":{"_account_id":25733,"name":"Jan Gutter","email":"github@jangutter.com","username":"jangutter"},"change_message_id":"5dbfb8c4e0925e4dfef7996de8ee32f7493f3894","unresolved":false,"context_lines":[{"line_number":20,"context_line":""},{"line_number":21,"context_line":"class TestIpApi(base.TestCase):"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"    @testtools.skipIf(not platform.system() \u003d\u003d \u0027Windows\u0027,"},{"line_number":24,"context_line":"                      \u0027This test can run only in Windows\u0027)"},{"line_number":25,"context_line":"    def test_get_impl_windows(self):"},{"line_number":26,"context_line":"        from os_vif.internal.command.ip.windows import impl_netifaces"},{"line_number":27,"context_line":"        self.assertIsInstance(api.ip, impl_netifaces.Netifaces)"}],"source_content_type":"text/x-python","patch_set":4,"id":"bfdaf3ff_bb29c9e6","line":24,"range":{"start_line":23,"start_character":4,"end_line":24,"end_character":58},"updated":"2019-01-18 09:34:54.000000000","message":"This makes the unit test a functional test, I don\u0027t think that\u0027s proper -- \nThe aim is to test if the correct imports are run depending on how the os is mocked.\n\nI\u0027ll try to think up a test, but please don\u0027t wait for me.","commit_id":"8361220a2372285308e34b0d7013bba1583cc523"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"55ec1e04369004d5d42513c0104a2876560e5ded","unresolved":false,"context_lines":[{"line_number":20,"context_line":""},{"line_number":21,"context_line":"class TestIpApi(base.TestCase):"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"    @testtools.skipIf(not platform.system() \u003d\u003d \u0027Windows\u0027,"},{"line_number":24,"context_line":"                      \u0027This test can run only in Windows\u0027)"},{"line_number":25,"context_line":"    def test_get_impl_windows(self):"},{"line_number":26,"context_line":"        from os_vif.internal.command.ip.windows import impl_netifaces"},{"line_number":27,"context_line":"        self.assertIsInstance(api.ip, impl_netifaces.Netifaces)"}],"source_content_type":"text/x-python","patch_set":4,"id":"bfdaf3ff_01f666fa","line":24,"range":{"start_line":23,"start_character":4,"end_line":24,"end_character":58},"in_reply_to":"bfdaf3ff_bb29c9e6","updated":"2019-01-18 11:03:07.000000000","message":"You are right. Please, check next PS","commit_id":"8361220a2372285308e34b0d7013bba1583cc523"}]}
