)]}'
{"releasenotes/notes/brctl-removal-a5b0e69b865afa57.yaml":[{"author":{"_account_id":25733,"name":"Jan Gutter","email":"github@jangutter.com","username":"jangutter"},"change_message_id":"53bf0b8e8dd4bf6fce37fc2b90e7e5afaafb6f41","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"other:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    With this release packagers of ``os-vif`` no longer need to create a"},{"line_number":5,"context_line":"    depency on ``brctl``. ``brctl`` is largely considered obsolete and has"},{"line_number":6,"context_line":"    been replaced with iproute2 by default in many distors. RHEL 8 will not"},{"line_number":7,"context_line":"    ship ``brctl`` in its default repos. As part of a larger effort to remove"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"9fdfeff1_43185883","line":4,"range":{"start_line":4,"start_character":14,"end_line":4,"end_character":21},"updated":"2019-02-20 14:40:48.000000000","message":"release,","commit_id":"17e1231ce62fb9541cb170f74c3c9674c328fdb2"},{"author":{"_account_id":25733,"name":"Jan Gutter","email":"github@jangutter.com","username":"jangutter"},"change_message_id":"53bf0b8e8dd4bf6fce37fc2b90e7e5afaafb6f41","unresolved":false,"context_lines":[{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    With this release packagers of ``os-vif`` no longer need to create a"},{"line_number":5,"context_line":"    depency on ``brctl``. ``brctl`` is largely considered obsolete and has"},{"line_number":6,"context_line":"    been replaced with iproute2 by default in many distors. RHEL 8 will not"},{"line_number":7,"context_line":"    ship ``brctl`` in its default repos. As part of a larger effort to remove"},{"line_number":8,"context_line":"    usage of ``brctl`` from OpenStack ``os-vif`` has replaced its usage of"},{"line_number":9,"context_line":"    ``brctl`` with ``pyroute2``. This does not intoduce any new requirments"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"9fdfeff1_434a9883","line":6,"range":{"start_line":6,"start_character":51,"end_line":6,"end_character":58},"updated":"2019-02-20 14:40:48.000000000","message":"distributions/distros","commit_id":"17e1231ce62fb9541cb170f74c3c9674c328fdb2"},{"author":{"_account_id":25733,"name":"Jan Gutter","email":"github@jangutter.com","username":"jangutter"},"change_message_id":"53bf0b8e8dd4bf6fce37fc2b90e7e5afaafb6f41","unresolved":false,"context_lines":[{"line_number":6,"context_line":"    been replaced with iproute2 by default in many distors. RHEL 8 will not"},{"line_number":7,"context_line":"    ship ``brctl`` in its default repos. As part of a larger effort to remove"},{"line_number":8,"context_line":"    usage of ``brctl`` from OpenStack ``os-vif`` has replaced its usage of"},{"line_number":9,"context_line":"    ``brctl`` with ``pyroute2``. This does not intoduce any new requirments"},{"line_number":10,"context_line":"    as ``pyroute2`` is already a requirement."}],"source_content_type":"text/x-yaml","patch_set":3,"id":"9fdfeff1_63347cfc","line":9,"range":{"start_line":9,"start_character":47,"end_line":9,"end_character":55},"updated":"2019-02-20 14:40:48.000000000","message":"introduce","commit_id":"17e1231ce62fb9541cb170f74c3c9674c328fdb2"},{"author":{"_account_id":25733,"name":"Jan Gutter","email":"github@jangutter.com","username":"jangutter"},"change_message_id":"53bf0b8e8dd4bf6fce37fc2b90e7e5afaafb6f41","unresolved":false,"context_lines":[{"line_number":6,"context_line":"    been replaced with iproute2 by default in many distors. RHEL 8 will not"},{"line_number":7,"context_line":"    ship ``brctl`` in its default repos. As part of a larger effort to remove"},{"line_number":8,"context_line":"    usage of ``brctl`` from OpenStack ``os-vif`` has replaced its usage of"},{"line_number":9,"context_line":"    ``brctl`` with ``pyroute2``. This does not intoduce any new requirments"},{"line_number":10,"context_line":"    as ``pyroute2`` is already a requirement."}],"source_content_type":"text/x-yaml","patch_set":3,"id":"9fdfeff1_a302640a","line":9,"range":{"start_line":9,"start_character":64,"end_line":9,"end_character":75},"updated":"2019-02-20 14:40:48.000000000","message":"requirements","commit_id":"17e1231ce62fb9541cb170f74c3c9674c328fdb2"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"41152766846f3b0c76c8526202b27bd7318ff16a","unresolved":false,"context_lines":[{"line_number":2,"context_line":"other:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    With this release, packagers of ``os-vif`` no longer need to create a"},{"line_number":5,"context_line":"    depency on ``brctl``. ``brctl`` is largely considered obsolete and has"},{"line_number":6,"context_line":"    been replaced with iproute2 by default in many linux distributions."},{"line_number":7,"context_line":"    RHEL 8 will not ship ``brctl`` in its default repos. As part of a larger"},{"line_number":8,"context_line":"    effort to remove usage of ``brctl`` from OpenStack ``os-vif`` has"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"9fdfeff1_88ae0b2c","line":5,"range":{"start_line":5,"start_character":4,"end_line":5,"end_character":11},"updated":"2019-02-25 12:58:45.000000000","message":"dependency","commit_id":"1f6fed6a69e9fd386e421f3cacae97c11cdd7c75"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"26af39c189b2b4ca13ae2ac51d67023c2b7487f5","unresolved":false,"context_lines":[{"line_number":4,"context_line":"    With this release, packagers of ``os-vif`` no longer need to create a"},{"line_number":5,"context_line":"    depency on ``brctl``. ``brctl`` is largely considered obsolete and has"},{"line_number":6,"context_line":"    been replaced with iproute2 by default in many linux distributions."},{"line_number":7,"context_line":"    RHEL 8 will not ship ``brctl`` in its default repos. As part of a larger"},{"line_number":8,"context_line":"    effort to remove usage of ``brctl`` from OpenStack ``os-vif`` has"},{"line_number":9,"context_line":"    replaced its usage of ``brctl`` with ``pyroute2``. This does not introduce"},{"line_number":10,"context_line":"    any new requirements as ``pyroute2`` is already a requirement."}],"source_content_type":"text/x-yaml","patch_set":4,"id":"9fdfeff1_053c4691","line":7,"range":{"start_line":7,"start_character":4,"end_line":7,"end_character":55},"updated":"2019-02-25 11:34:27.000000000","message":"Looks like there is/was discussion on doing this in Ubuntu too [1]\n\n[1] https://wiki.ubuntu.com/DeprecateLegacyNetToolsSpec","commit_id":"1f6fed6a69e9fd386e421f3cacae97c11cdd7c75"}],"vif_plug_linux_bridge/linux_net.py":[{"author":{"_account_id":25733,"name":"Jan Gutter","email":"github@jangutter.com","username":"jangutter"},"change_message_id":"53bf0b8e8dd4bf6fce37fc2b90e7e5afaafb6f41","unresolved":false,"context_lines":[{"line_number":98,"context_line":""},{"line_number":99,"context_line":"# TODO(sean-k-mooney): extract into common module"},{"line_number":100,"context_line":"def _disable_ipv6(bridge):"},{"line_number":101,"context_line":"    \"\"\"disable ipv6 for bridge if available, must be called form"},{"line_number":102,"context_line":"       privsep context."},{"line_number":103,"context_line":"    :param bridge: string bridge name"},{"line_number":104,"context_line":"    \"\"\""}],"source_content_type":"text/x-python","patch_set":3,"id":"9fdfeff1_a617d245","line":101,"range":{"start_line":101,"start_character":60,"end_line":101,"end_character":64},"updated":"2019-02-20 14:40:48.000000000","message":"from","commit_id":"17e1231ce62fb9541cb170f74c3c9674c328fdb2"},{"author":{"_account_id":25733,"name":"Jan Gutter","email":"github@jangutter.com","username":"jangutter"},"change_message_id":"53bf0b8e8dd4bf6fce37fc2b90e7e5afaafb6f41","unresolved":false,"context_lines":[{"line_number":117,"context_line":"    :param bridge: string bridge name"},{"line_number":118,"context_line":"    \"\"\""},{"line_number":119,"context_line":"    # TODO(sean-k-mooney): investigate deleting all this route"},{"line_number":120,"context_line":"    # handeling code. The vm tap devices should never have an ip,"},{"line_number":121,"context_line":"    # this is old nova networks code and i dont think it will ever"},{"line_number":122,"context_line":"    # be needed in os-vif."},{"line_number":123,"context_line":"    # NOTE(vish): This will break if there is already an ip on the"}],"source_content_type":"text/x-python","patch_set":3,"id":"9fdfeff1_c639b6d8","line":120,"range":{"start_line":120,"start_character":6,"end_line":120,"end_character":15},"updated":"2019-02-20 14:40:48.000000000","message":"handling","commit_id":"17e1231ce62fb9541cb170f74c3c9674c328fdb2"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"26af39c189b2b4ca13ae2ac51d67023c2b7487f5","unresolved":false,"context_lines":[{"line_number":102,"context_line":"       privsep context."},{"line_number":103,"context_line":"    :param bridge: string bridge name"},{"line_number":104,"context_line":"    \"\"\""},{"line_number":105,"context_line":"    disv6 \u003d (\u0027/proc/sys/net/ipv6/conf/%s/disable_ipv6\u0027 %"},{"line_number":106,"context_line":"             bridge)"},{"line_number":107,"context_line":"    if os.path.exists(disv6):"},{"line_number":108,"context_line":"        with open(disv6, \u0027w\u0027) as f:"},{"line_number":109,"context_line":"            f.write(\u00271\u0027)"}],"source_content_type":"text/x-python","patch_set":4,"id":"9fdfeff1_c5f39e08","line":106,"range":{"start_line":105,"start_character":0,"end_line":106,"end_character":20},"updated":"2019-02-25 11:34:27.000000000","message":"Would be useful to note why this is necessary. Also, wrapping isn\u0027t necessary","commit_id":"1f6fed6a69e9fd386e421f3cacae97c11cdd7c75"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"dc5388be7aac4440452a63481471774d1932bf28","unresolved":false,"context_lines":[{"line_number":102,"context_line":"       privsep context."},{"line_number":103,"context_line":"    :param bridge: string bridge name"},{"line_number":104,"context_line":"    \"\"\""},{"line_number":105,"context_line":"    disv6 \u003d (\u0027/proc/sys/net/ipv6/conf/%s/disable_ipv6\u0027 %"},{"line_number":106,"context_line":"             bridge)"},{"line_number":107,"context_line":"    if os.path.exists(disv6):"},{"line_number":108,"context_line":"        with open(disv6, \u0027w\u0027) as f:"},{"line_number":109,"context_line":"            f.write(\u00271\u0027)"}],"source_content_type":"text/x-python","patch_set":4,"id":"9fdfeff1_a5577a5a","line":106,"range":{"start_line":105,"start_character":0,"end_line":106,"end_character":20},"in_reply_to":"9fdfeff1_c5f39e08","updated":"2019-02-25 11:48:28.000000000","message":"ill add that in a cleanup but its for the same reason as in the ovs plugin.\n\n# NOTE(sean-k-mooney): os-vif disables ipv6 to ensure the Bridge\n    # does not aquire an ipv6 auto config or link local adress.\n    # This is required to prevent bug 1302080.\n    # https://bugs.launchpad.net/neutron/+bug/1302080\n\n\ni might try and converge these into a common lib in the internal module.\n\nbut ill add the comment if i do not","commit_id":"1f6fed6a69e9fd386e421f3cacae97c11cdd7c75"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"26af39c189b2b4ca13ae2ac51d67023c2b7487f5","unresolved":false,"context_lines":[{"line_number":114,"context_line":"    :param interface: string interface name"},{"line_number":115,"context_line":"    :param bridge: string bridge name"},{"line_number":116,"context_line":"    \"\"\""},{"line_number":117,"context_line":"    # TODO(sean-k-mooney): investigate deleting all this route"},{"line_number":118,"context_line":"    # handling code. The vm tap devices should never have an ip,"},{"line_number":119,"context_line":"    # this is old nova networks code and i dont think it will ever"},{"line_number":120,"context_line":"    # be needed in os-vif."},{"line_number":121,"context_line":"    # NOTE(vish): This will break if there is already an ip on the"},{"line_number":122,"context_line":"    #             interface, so we move any ips to the bridge"},{"line_number":123,"context_line":"    # NOTE(danms): We also need to copy routes to the bridge so as"}],"source_content_type":"text/x-python","patch_set":4,"id":"9fdfeff1_056526b5","line":120,"range":{"start_line":117,"start_character":0,"end_line":120,"end_character":26},"updated":"2019-02-25 11:34:27.000000000","message":"+1000 There is some crazy ass stuff going on here, but that was already the case","commit_id":"1f6fed6a69e9fd386e421f3cacae97c11cdd7c75"},{"author":{"_account_id":25733,"name":"Jan Gutter","email":"github@jangutter.com","username":"jangutter"},"change_message_id":"1e339e7f787d0c73160ac497e9075223f6b7f024","unresolved":false,"context_lines":[{"line_number":114,"context_line":"    :param interface: string interface name"},{"line_number":115,"context_line":"    :param bridge: string bridge name"},{"line_number":116,"context_line":"    \"\"\""},{"line_number":117,"context_line":"    # TODO(sean-k-mooney): investigate deleting all this route"},{"line_number":118,"context_line":"    # handling code. The vm tap devices should never have an ip,"},{"line_number":119,"context_line":"    # this is old nova networks code and i dont think it will ever"},{"line_number":120,"context_line":"    # be needed in os-vif."},{"line_number":121,"context_line":"    # NOTE(vish): This will break if there is already an ip on the"},{"line_number":122,"context_line":"    #             interface, so we move any ips to the bridge"},{"line_number":123,"context_line":"    # NOTE(danms): We also need to copy routes to the bridge so as"}],"source_content_type":"text/x-python","patch_set":4,"id":"9fdfeff1_a509ba84","line":120,"range":{"start_line":117,"start_character":0,"end_line":120,"end_character":26},"in_reply_to":"9fdfeff1_056526b5","updated":"2019-02-25 11:46:39.000000000","message":"Very likely this is a workaround lost to the mists of time. Ether racing with the distro network config or trying to patch upgrades post-hoc. This reminds me a lot of proxy-arp and other atrocities: https://www.tldp.org/HOWTO/html_single/Ethernet-Bridge-netfilter-HOWTO/","commit_id":"1f6fed6a69e9fd386e421f3cacae97c11cdd7c75"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"41152766846f3b0c76c8526202b27bd7318ff16a","unresolved":false,"context_lines":[{"line_number":130,"context_line":"        if fields and \u0027via\u0027 in fields:"},{"line_number":131,"context_line":"            old_routes.append(fields)"},{"line_number":132,"context_line":"            processutils.execute(\u0027ip\u0027, \u0027route\u0027, \u0027del\u0027, *fields)"},{"line_number":133,"context_line":"            out, err \u003d processutils.execute(\u0027ip\u0027, \u0027addr\u0027, \u0027show\u0027, \u0027dev\u0027,"},{"line_number":134,"context_line":"                                            interface, \u0027scope\u0027, \u0027global\u0027)"},{"line_number":135,"context_line":"    for line in out.split(\u0027\\n\u0027):"},{"line_number":136,"context_line":"        fields \u003d line.split()"}],"source_content_type":"text/x-python","patch_set":4,"id":"9fdfeff1_08369b04","line":133,"range":{"start_line":133,"start_character":12,"end_line":133,"end_character":15},"updated":"2019-02-25 12:58:45.000000000","message":"This variable is being used below on line 135, but line 135 is not indented to the same level as 133, which means that only the last-set out variable will be used on 135. Is that intentional (in the original code?) or has this always been just flat-out wrong and either there should have been a \"break\" here or line 135 should be indented three levels?","commit_id":"1f6fed6a69e9fd386e421f3cacae97c11cdd7c75"},{"author":{"_account_id":25733,"name":"Jan Gutter","email":"github@jangutter.com","username":"jangutter"},"change_message_id":"52edea87ddc03fb87dd7142d28f9f7ffde8be242","unresolved":false,"context_lines":[{"line_number":130,"context_line":"        if fields and \u0027via\u0027 in fields:"},{"line_number":131,"context_line":"            old_routes.append(fields)"},{"line_number":132,"context_line":"            processutils.execute(\u0027ip\u0027, \u0027route\u0027, \u0027del\u0027, *fields)"},{"line_number":133,"context_line":"            out, err \u003d processutils.execute(\u0027ip\u0027, \u0027addr\u0027, \u0027show\u0027, \u0027dev\u0027,"},{"line_number":134,"context_line":"                                            interface, \u0027scope\u0027, \u0027global\u0027)"},{"line_number":135,"context_line":"    for line in out.split(\u0027\\n\u0027):"},{"line_number":136,"context_line":"        fields \u003d line.split()"}],"source_content_type":"text/x-python","patch_set":4,"id":"9fdfeff1_b3cca034","line":133,"range":{"start_line":133,"start_character":12,"end_line":133,"end_character":15},"in_reply_to":"9fdfeff1_08369b04","updated":"2019-02-25 13:43:30.000000000","message":"Good catch, looks like the original code had this two levels unindented to match the next line ( L160 in base ).","commit_id":"1f6fed6a69e9fd386e421f3cacae97c11cdd7c75"},{"author":{"_account_id":25733,"name":"Jan Gutter","email":"github@jangutter.com","username":"jangutter"},"change_message_id":"d99428c10afa41b35328594c20f379a398e14ab5","unresolved":false,"context_lines":[{"line_number":130,"context_line":"        if fields and \u0027via\u0027 in fields:"},{"line_number":131,"context_line":"            old_routes.append(fields)"},{"line_number":132,"context_line":"            processutils.execute(\u0027ip\u0027, \u0027route\u0027, \u0027del\u0027, *fields)"},{"line_number":133,"context_line":"            out, err \u003d processutils.execute(\u0027ip\u0027, \u0027addr\u0027, \u0027show\u0027, \u0027dev\u0027,"},{"line_number":134,"context_line":"                                            interface, \u0027scope\u0027, \u0027global\u0027)"},{"line_number":135,"context_line":"    for line in out.split(\u0027\\n\u0027):"},{"line_number":136,"context_line":"        fields \u003d line.split()"}],"source_content_type":"text/x-python","patch_set":4,"id":"9fdfeff1_0e3303ad","line":133,"range":{"start_line":133,"start_character":12,"end_line":133,"end_character":15},"in_reply_to":"9fdfeff1_6ec5ef8d","updated":"2019-02-25 14:49:36.000000000","message":"Follow-up posted on https://review.openstack.org/639099","commit_id":"1f6fed6a69e9fd386e421f3cacae97c11cdd7c75"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"93db6c61e8c6e82f27249efa85042992cacff7d2","unresolved":false,"context_lines":[{"line_number":130,"context_line":"        if fields and \u0027via\u0027 in fields:"},{"line_number":131,"context_line":"            old_routes.append(fields)"},{"line_number":132,"context_line":"            processutils.execute(\u0027ip\u0027, \u0027route\u0027, \u0027del\u0027, *fields)"},{"line_number":133,"context_line":"            out, err \u003d processutils.execute(\u0027ip\u0027, \u0027addr\u0027, \u0027show\u0027, \u0027dev\u0027,"},{"line_number":134,"context_line":"                                            interface, \u0027scope\u0027, \u0027global\u0027)"},{"line_number":135,"context_line":"    for line in out.split(\u0027\\n\u0027):"},{"line_number":136,"context_line":"        fields \u003d line.split()"}],"source_content_type":"text/x-python","patch_set":4,"id":"9fdfeff1_6ec5ef8d","line":133,"range":{"start_line":133,"start_character":12,"end_line":133,"end_character":15},"in_reply_to":"9fdfeff1_b3cca034","updated":"2019-02-25 14:05:08.000000000","message":"good spot. just spoke to jan and he is going to propose a quick followup to adress this.\n\nmy confidence in the code in this function is not hight to say the least but we shoudl proably stick to the old behavior until i have time to auit this code properly.\n\nim going to work on extra gate jobs after we do the os-vif release and then try and audit the intree plugins to see what i can clean up before the ptg as part of an effort to clean up tech debt before we drop python2 support in U.","commit_id":"1f6fed6a69e9fd386e421f3cacae97c11cdd7c75"}],"vif_plug_linux_bridge/tests/unit/test_linux_net.py":[{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"26af39c189b2b4ca13ae2ac51d67023c2b7487f5","unresolved":false,"context_lines":[{"line_number":120,"context_line":"           followed by the bridge. This is required to work around"},{"line_number":121,"context_line":"           https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1399064"},{"line_number":122,"context_line":"        \"\"\""},{"line_number":123,"context_line":"        mock_dev_exists.return_value \u003d next(lambda: (yield False),"},{"line_number":124,"context_line":"                                            (yield True))"},{"line_number":125,"context_line":"        linux_net._ensure_bridge_privileged(\"fake-bridge\", \"fake-interface\","},{"line_number":126,"context_line":"                                            None, False, mtu\u003d1500)"},{"line_number":127,"context_line":"        calls \u003d [mock.call(\u0027fake-interface\u0027, 1500),"}],"source_content_type":"text/x-python","patch_set":4,"id":"9fdfeff1_05c1a654","line":124,"range":{"start_line":123,"start_character":0,"end_line":124,"end_character":57},"updated":"2019-02-25 11:34:27.000000000","message":"This is wacky. IIRC, you can do:\n\n  mock_dev_exists.side_effect \u003d [False, True]\n\nConsider fixing this in a follow-up","commit_id":"1f6fed6a69e9fd386e421f3cacae97c11cdd7c75"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"41152766846f3b0c76c8526202b27bd7318ff16a","unresolved":false,"context_lines":[{"line_number":120,"context_line":"           followed by the bridge. This is required to work around"},{"line_number":121,"context_line":"           https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1399064"},{"line_number":122,"context_line":"        \"\"\""},{"line_number":123,"context_line":"        mock_dev_exists.return_value \u003d next(lambda: (yield False),"},{"line_number":124,"context_line":"                                            (yield True))"},{"line_number":125,"context_line":"        linux_net._ensure_bridge_privileged(\"fake-bridge\", \"fake-interface\","},{"line_number":126,"context_line":"                                            None, False, mtu\u003d1500)"},{"line_number":127,"context_line":"        calls \u003d [mock.call(\u0027fake-interface\u0027, 1500),"}],"source_content_type":"text/x-python","patch_set":4,"id":"9fdfeff1_a80f4f37","line":124,"range":{"start_line":123,"start_character":0,"end_line":124,"end_character":57},"in_reply_to":"9fdfeff1_05c1a654","updated":"2019-02-25 12:58:45.000000000","message":"++","commit_id":"1f6fed6a69e9fd386e421f3cacae97c11cdd7c75"}]}
