)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"cb8b3c471bb52c62d5ec67c5ca993c5cb21be52c","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"- This change modifies the ovs plugin to support"},{"line_number":10,"context_line":"  plugging generic tap devices to ovs."},{"line_number":11,"context_line":"- This change fixes incorrect mocks."},{"line_number":12,"context_line":"- This change will reduce the live migration"},{"line_number":13,"context_line":"  time for kernel ovs ports with hybrid plug false"},{"line_number":14,"context_line":"  by creating the ovs port as part of plug."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"3f79a3b5_369d3058","line":11,"range":{"start_line":11,"start_character":2,"end_line":11,"end_character":36},"updated":"2018-10-19 18:14:24.000000000","message":"FYI, you don\u0027t need to list this kind of sausage-making in the commit message. Focus on clearly describing how the patch addresses the bug in question.","commit_id":"0de88914d5c45e28b280d18d90273f37528cf0cf"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"a131707626e325ce93a30427716cd90b97508ef1","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"- This change modifies the ovs plugin to support"},{"line_number":10,"context_line":"  plugging generic tap devices to ovs."},{"line_number":11,"context_line":"- This change fixes incorrect mocks."},{"line_number":12,"context_line":"- This change will reduce the live migration"},{"line_number":13,"context_line":"  time for kernel ovs ports with hybrid plug false"},{"line_number":14,"context_line":"  by creating the ovs port as part of plug."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"3f79a3b5_f5346e49","line":11,"range":{"start_line":11,"start_character":2,"end_line":11,"end_character":36},"in_reply_to":"3f79a3b5_369d3058","updated":"2018-10-22 17:23:44.000000000","message":"i didnt want it to be surpiseing that i change therem but sure ill remove.","commit_id":"0de88914d5c45e28b280d18d90273f37528cf0cf"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"cb8b3c471bb52c62d5ec67c5ca993c5cb21be52c","unresolved":false,"context_lines":[{"line_number":17,"context_line":"  via _unplug_vif_generic"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Change-Id: Iaf15fa7a678ec2624f7c12f634269c465fbad930"},{"line_number":20,"context_line":"Closes-Bug: #1734320"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"3f79a3b5_f6a6d8ac","line":20,"range":{"start_line":20,"start_character":0,"end_line":20,"end_character":20},"updated":"2018-10-19 18:14:24.000000000","message":"Nothing about the above commit message clearly indicates how those changes will prevent eavesdropping on private traffic. Please update the commit message to explain the source of the bug and how the changes herein address that issue.","commit_id":"0de88914d5c45e28b280d18d90273f37528cf0cf"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"a131707626e325ce93a30427716cd90b97508ef1","unresolved":false,"context_lines":[{"line_number":17,"context_line":"  via _unplug_vif_generic"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Change-Id: Iaf15fa7a678ec2624f7c12f634269c465fbad930"},{"line_number":20,"context_line":"Closes-Bug: #1734320"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"3f79a3b5_358186c3","line":20,"range":{"start_line":20,"start_character":0,"end_line":20,"end_character":20},"in_reply_to":"3f79a3b5_f6a6d8ac","updated":"2018-10-22 17:23:44.000000000","message":"i have been considering makeing other mitagation in addtion to this so i will going in to more detail but im also leaning to change this to partial bug and add a second fallow up patch to further mitgate this issue.","commit_id":"0de88914d5c45e28b280d18d90273f37528cf0cf"},{"author":{"_account_id":7730,"name":"Sahid Orentino Ferdjaoui","email":"sahid.ferdjaoui@industrialdiscipline.com","username":"sahid"},"change_message_id":"cd3f00c601ad72b9bdcfe548ce84c09644d366f1","unresolved":false,"context_lines":[{"line_number":7,"context_line":"add support for generic tap device plug"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"- This change modifies the ovs plugin to support"},{"line_number":10,"context_line":"  plugging generic tap devices to ovs. By always"},{"line_number":11,"context_line":"  pre plugging the vm interface to the ovs bridge"},{"line_number":12,"context_line":"  this enables the neutron l2 agent to wire up"},{"line_number":13,"context_line":"  the interface before the vm is started."},{"line_number":14,"context_line":"- This change will reduce the live migration"},{"line_number":15,"context_line":"  time for kernel ovs ports with hybrid plug false"},{"line_number":16,"context_line":"  by creating the ovs port as part of plug."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":7,"id":"3f79a3b5_166c31cd","line":13,"range":{"start_line":10,"start_character":39,"end_line":13,"end_character":41},"updated":"2018-10-26 08:49:51.000000000","message":"I\u0027m not sure that is really true. The agent is looking at new bridges created in a loop but the live migration still continue. Creating the TAP during the Nova pre-live-migration step is just giving some few milliseconds to Neutron to finish configuring the L2 but we don\u0027t assert anything.\n\nAlso I think we prefer to refer to libvirt for creating the TAP devices that because we can in one place configure everything and we avoid to duplicate and maintain more code.","commit_id":"121034d5426285fe0f82539bf3d8f204ed770bb1"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"6e850861ce24b27bba028a638cea8c8555db224b","unresolved":false,"context_lines":[{"line_number":7,"context_line":"add support for generic tap device plug"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"- This change modifies the ovs plugin to support"},{"line_number":10,"context_line":"  plugging generic tap devices to ovs. By always"},{"line_number":11,"context_line":"  pre plugging the vm interface to the ovs bridge"},{"line_number":12,"context_line":"  this enables the neutron l2 agent to wire up"},{"line_number":13,"context_line":"  the interface before the vm is started."},{"line_number":14,"context_line":"- This change will reduce the live migration"},{"line_number":15,"context_line":"  time for kernel ovs ports with hybrid plug false"},{"line_number":16,"context_line":"  by creating the ovs port as part of plug."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":7,"id":"3f79a3b5_21700241","line":13,"range":{"start_line":10,"start_character":39,"end_line":13,"end_character":41},"in_reply_to":"3f79a3b5_166c31cd","updated":"2018-10-26 15:33:51.000000000","message":"i will be proposeing more patches to nova and netruon to make nova wait for neutron in the future. \n\nthis change is not precreating the tap device. it is just precreating the ovs port in the ovs db. the tap is still created by libvirt/qemu.\n\nlibvirt is not the perfrer solutin managin plugging in openstack os-vif is and where possible we should delegate all plugging to os-vif to avoid issue like this in the future.\n\nlibvirt cannot correctly plug vifs in this case as we need to carefully manage the interaction betweek nova and neutron and libvirt cannot do that.","commit_id":"121034d5426285fe0f82539bf3d8f204ed770bb1"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"4204e01643873ddd2052be7e55d47daaeedacdfe","unresolved":false,"context_lines":[{"line_number":16,"context_line":"  by creating the ovs port as part of plug before"},{"line_number":17,"context_line":"  the migration starts."},{"line_number":18,"context_line":"- This change adds the privsep decorator"},{"line_number":19,"context_line":"  to delete_net_dev to account for it new useage"},{"line_number":20,"context_line":"  via _unplug_vif_generic and address bug #1801072"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"Change-Id: Iaf15fa7a678ec2624f7c12f634269c465fbad930"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":9,"id":"3f79a3b5_a356e1cc","line":19,"range":{"start_line":19,"start_character":42,"end_line":19,"end_character":48},"updated":"2018-11-02 09:40:23.000000000","message":"usage","commit_id":"77c3ab50b40d7d885fcf789222103b1b6f8c3de8"},{"author":{"_account_id":7730,"name":"Sahid Orentino Ferdjaoui","email":"sahid.ferdjaoui@industrialdiscipline.com","username":"sahid"},"change_message_id":"2f21a27c4d364bbc6604f86f0323d36f1b5ac5d6","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"always create ovs port during plug"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"- This change modifies the ovs plugin to always"},{"line_number":10,"context_line":"  pre plugging the vm interface to the ovs bridge"},{"line_number":11,"context_line":"  by creating an ovs port."},{"line_number":12,"context_line":"- This change enables the neutron l2 agent to wire up"},{"line_number":13,"context_line":"  the interface before the vm is started."},{"line_number":14,"context_line":"- This change will reduce the live migration"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":11,"id":"3f79a3b5_263349f9","line":11,"range":{"start_line":9,"start_character":0,"end_line":11,"end_character":26},"updated":"2018-11-08 09:50:59.000000000","message":"As I tried to note in my previous comment, this does not make any sense. What you are doing does not \"pre plugging\" the VM interface to the OVS bridge.\n\nLibvirt is still doing that.","commit_id":"6804d9ff00c1efee35d0d36ac89a1713570e2f8f"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"1c18cfc49955bc91e2627217144341bc96856b94","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"always create ovs port during plug"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"- This change modifies the ovs plugin to always"},{"line_number":10,"context_line":"  pre plugging the vm interface to the ovs bridge"},{"line_number":11,"context_line":"  by creating an ovs port."},{"line_number":12,"context_line":"- This change enables the neutron l2 agent to wire up"},{"line_number":13,"context_line":"  the interface before the vm is started."},{"line_number":14,"context_line":"- This change will reduce the live migration"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":11,"id":"3f79a3b5_cbfd9207","line":11,"range":{"start_line":9,"start_character":0,"end_line":11,"end_character":26},"in_reply_to":"3f79a3b5_263349f9","updated":"2018-11-10 20:59:31.000000000","message":"you and i share differnt definition of what we mean by plugging an interfeface.\n\ni will rewrite this to remove the term entirly as this is acurate from my perspective but clearly not yours.\n\nas i stated in my previsous responce to your comment plugging is the control plane process of configuring a network backend  such that if the data plane was to be instanciated it would fucntion correctly.\n\nthe entire process of plugging a interface to ovs is encasulatied in the creattion of a port in the ovs db. it does not require the tap or vhosut user interface to be present to do so.\n\nwith this change os-vif is plugging the vif. libvirt is mearly creating the tap device when creating the vm and since the interface already exstist in the ovs db with this change its imetiatly useable with the already configure network backend.","commit_id":"6804d9ff00c1efee35d0d36ac89a1713570e2f8f"},{"author":{"_account_id":7730,"name":"Sahid Orentino Ferdjaoui","email":"sahid.ferdjaoui@industrialdiscipline.com","username":"sahid"},"change_message_id":"2f21a27c4d364bbc6604f86f0323d36f1b5ac5d6","unresolved":false,"context_lines":[{"line_number":9,"context_line":"- This change modifies the ovs plugin to always"},{"line_number":10,"context_line":"  pre plugging the vm interface to the ovs bridge"},{"line_number":11,"context_line":"  by creating an ovs port."},{"line_number":12,"context_line":"- This change enables the neutron l2 agent to wire up"},{"line_number":13,"context_line":"  the interface before the vm is started."},{"line_number":14,"context_line":"- This change will reduce the live migration"},{"line_number":15,"context_line":"  time for kernel ovs ports with hybrid plug false"},{"line_number":16,"context_line":"  by creating the ovs port as part of plug before"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":11,"id":"3f79a3b5_8647bd52","line":13,"range":{"start_line":12,"start_character":0,"end_line":13,"end_character":41},"updated":"2018-11-08 09:50:59.000000000","message":"Again this is not true.","commit_id":"6804d9ff00c1efee35d0d36ac89a1713570e2f8f"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"1c18cfc49955bc91e2627217144341bc96856b94","unresolved":false,"context_lines":[{"line_number":9,"context_line":"- This change modifies the ovs plugin to always"},{"line_number":10,"context_line":"  pre plugging the vm interface to the ovs bridge"},{"line_number":11,"context_line":"  by creating an ovs port."},{"line_number":12,"context_line":"- This change enables the neutron l2 agent to wire up"},{"line_number":13,"context_line":"  the interface before the vm is started."},{"line_number":14,"context_line":"- This change will reduce the live migration"},{"line_number":15,"context_line":"  time for kernel ovs ports with hybrid plug false"},{"line_number":16,"context_line":"  by creating the ovs port as part of plug before"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":11,"id":"3f79a3b5_6b00feff","line":13,"range":{"start_line":12,"start_character":0,"end_line":13,"end_character":41},"in_reply_to":"3f79a3b5_8647bd52","updated":"2018-11-10 20:59:31.000000000","message":"similarly the deifintion of \"wiriing up\" the interface i hold is obviouly differnet form use as this is precily what this enables.\n\nthe neutron l2 agaent wires up a port by applying the local vlan tag for the neutron network to the interface in the ovs db. the l2 agent will do this without the presence of the tap and it can complete this without the vm running so this is an accurate satement.","commit_id":"6804d9ff00c1efee35d0d36ac89a1713570e2f8f"},{"author":{"_account_id":7730,"name":"Sahid Orentino Ferdjaoui","email":"sahid.ferdjaoui@industrialdiscipline.com","username":"sahid"},"change_message_id":"2f21a27c4d364bbc6604f86f0323d36f1b5ac5d6","unresolved":false,"context_lines":[{"line_number":11,"context_line":"  by creating an ovs port."},{"line_number":12,"context_line":"- This change enables the neutron l2 agent to wire up"},{"line_number":13,"context_line":"  the interface before the vm is started."},{"line_number":14,"context_line":"- This change will reduce the live migration"},{"line_number":15,"context_line":"  time for kernel ovs ports with hybrid plug false"},{"line_number":16,"context_line":"  by creating the ovs port as part of plug before"},{"line_number":17,"context_line":"  the migration starts."},{"line_number":18,"context_line":"- This change adds the privsep decorator"},{"line_number":19,"context_line":"  to delete_net_dev to account for it new usage"},{"line_number":20,"context_line":"  via _unplug_vif_generic and address bug #1801072"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":11,"id":"3f79a3b5_464d256e","line":17,"range":{"start_line":14,"start_character":0,"end_line":17,"end_character":23},"updated":"2018-11-08 09:50:59.000000000","message":"OK perhaps.","commit_id":"6804d9ff00c1efee35d0d36ac89a1713570e2f8f"}],"releasenotes/notes/always-plug-vifs-for-ovs-1d033fc49a9c6c4e.yaml":[{"author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"change_message_id":"23859063a12a4944216845e44255bfec137d9e12","unresolved":false,"context_lines":[{"line_number":7,"context_line":"security:"},{"line_number":8,"context_line":"  - |"},{"line_number":9,"context_line":"    In this release an edgecase where libvirt plugged the VIF instead of os-vif"},{"line_number":10,"context_line":"    was address. Previously if hybrid_plug was set to false, os-vif would only"},{"line_number":11,"context_line":"    ensure the ovs bridge existed and the plugging would be done by libvirt."},{"line_number":12,"context_line":"    As a result during live migration, there was a short interval where a guest"},{"line_number":13,"context_line":"    could receive tagged broadcast, multicast, or flooded traffic to/from"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"3f79a3b5_5330a99e","line":10,"range":{"start_line":10,"start_character":8,"end_line":10,"end_character":15},"updated":"2018-10-11 19:54:22.000000000","message":"addressed","commit_id":"1e3215b7e22e57379a326f7fd111ea4fef7a08bc"},{"author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"change_message_id":"23859063a12a4944216845e44255bfec137d9e12","unresolved":false,"context_lines":[{"line_number":13,"context_line":"    could receive tagged broadcast, multicast, or flooded traffic to/from"},{"line_number":14,"context_line":"    another tenant. This vulnerability is described in bug 1734320."},{"line_number":15,"context_line":"    https://bugs.launchpad.net/neutron/+bug/1734320"},{"line_number":16,"context_line":" "}],"source_content_type":"text/x-yaml","patch_set":4,"id":"3f79a3b5_33d08d2b","line":16,"updated":"2018-10-11 19:54:22.000000000","message":"Extra trailing whitespace","commit_id":"1e3215b7e22e57379a326f7fd111ea4fef7a08bc"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"bb4dd65f36c6b63a2bc56ec2084a004c0a5510fd","unresolved":false,"context_lines":[{"line_number":13,"context_line":"    could receive tagged broadcast, multicast, or flooded traffic to/from"},{"line_number":14,"context_line":"    another tenant. This vulnerability is described in bug 1734320."},{"line_number":15,"context_line":"    https://bugs.launchpad.net/neutron/+bug/1734320"},{"line_number":16,"context_line":" "}],"source_content_type":"text/x-yaml","patch_set":4,"id":"3f79a3b5_1633ff62","line":16,"in_reply_to":"3f79a3b5_33d08d2b","updated":"2018-10-11 21:05:01.000000000","message":"oh sorry i rant the reno jobs locally and it did not complain\n\nill fix this shortly.","commit_id":"1e3215b7e22e57379a326f7fd111ea4fef7a08bc"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"cb8b3c471bb52c62d5ec67c5ca993c5cb21be52c","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    In this release the ovs plugin was extended to always plug VIFs even when"},{"line_number":5,"context_line":"    libvirt could plug the vif. This will enable faster migration leveraging"},{"line_number":6,"context_line":"    the multiple port bindings work completed in the Rocky release."},{"line_number":7,"context_line":"security:"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"3f79a3b5_36c6904c","line":4,"range":{"start_line":4,"start_character":24,"end_line":4,"end_character":27},"updated":"2018-10-19 18:14:24.000000000","message":"here and throughout s/ovs/OVS/gI","commit_id":"0de88914d5c45e28b280d18d90273f37528cf0cf"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"cb8b3c471bb52c62d5ec67c5ca993c5cb21be52c","unresolved":false,"context_lines":[{"line_number":7,"context_line":"security:"},{"line_number":8,"context_line":"  - |"},{"line_number":9,"context_line":"    In this release an edgecase where libvirt plugged the VIF instead of os-vif"},{"line_number":10,"context_line":"    was addressed. Previously if hybrid_plug was set to false, os-vif would only"},{"line_number":11,"context_line":"    ensure the ovs bridge existed and the plugging would be done by libvirt."},{"line_number":12,"context_line":"    As a result during live migration, there was a short interval where a guest"},{"line_number":13,"context_line":"    could receive tagged broadcast, multicast, or flooded traffic to/from"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"3f79a3b5_76ac0888","line":10,"range":{"start_line":10,"start_character":19,"end_line":10,"end_character":61},"updated":"2018-10-19 18:14:24.000000000","message":"if hybrid_plug was set to False *where*? In the port profile? The port binding information coming from Neutron? Please be specific here.","commit_id":"0de88914d5c45e28b280d18d90273f37528cf0cf"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"a131707626e325ce93a30427716cd90b97508ef1","unresolved":false,"context_lines":[{"line_number":7,"context_line":"security:"},{"line_number":8,"context_line":"  - |"},{"line_number":9,"context_line":"    In this release an edgecase where libvirt plugged the VIF instead of os-vif"},{"line_number":10,"context_line":"    was addressed. Previously if hybrid_plug was set to false, os-vif would only"},{"line_number":11,"context_line":"    ensure the ovs bridge existed and the plugging would be done by libvirt."},{"line_number":12,"context_line":"    As a result during live migration, there was a short interval where a guest"},{"line_number":13,"context_line":"    could receive tagged broadcast, multicast, or flooded traffic to/from"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"3f79a3b5_95ee5ab3","line":10,"range":{"start_line":10,"start_character":19,"end_line":10,"end_character":61},"in_reply_to":"3f79a3b5_76ac0888","updated":"2018-10-22 17:23:44.000000000","message":"yes its in the port binding info but ill be more specific","commit_id":"0de88914d5c45e28b280d18d90273f37528cf0cf"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"4204e01643873ddd2052be7e55d47daaeedacdfe","unresolved":false,"context_lines":[{"line_number":7,"context_line":"security:"},{"line_number":8,"context_line":"  - |"},{"line_number":9,"context_line":"    In this release an edgecase where libvirt plugged the VIF instead of os-vif"},{"line_number":10,"context_line":"    was addressed. Previously if ovs_hybrid_plug  was set to false in the port"},{"line_number":11,"context_line":"    binding details, os-vif would only ensure the ovs bridge existed and the"},{"line_number":12,"context_line":"    plugging would be done by libvirt. As a result during live migration,"},{"line_number":13,"context_line":"    there was a short interval where a guest could receive tagged broadcast,"}],"source_content_type":"text/x-yaml","patch_set":9,"id":"3f79a3b5_2362d1a8","line":10,"range":{"start_line":10,"start_character":33,"end_line":10,"end_character":48},"updated":"2018-11-02 09:40:23.000000000","message":"``literal``","commit_id":"77c3ab50b40d7d885fcf789222103b1b6f8c3de8"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"4204e01643873ddd2052be7e55d47daaeedacdfe","unresolved":false,"context_lines":[{"line_number":7,"context_line":"security:"},{"line_number":8,"context_line":"  - |"},{"line_number":9,"context_line":"    In this release an edgecase where libvirt plugged the VIF instead of os-vif"},{"line_number":10,"context_line":"    was addressed. Previously if ovs_hybrid_plug  was set to false in the port"},{"line_number":11,"context_line":"    binding details, os-vif would only ensure the ovs bridge existed and the"},{"line_number":12,"context_line":"    plugging would be done by libvirt. As a result during live migration,"},{"line_number":13,"context_line":"    there was a short interval where a guest could receive tagged broadcast,"}],"source_content_type":"text/x-yaml","patch_set":9,"id":"3f79a3b5_c3fe7db4","line":10,"range":{"start_line":10,"start_character":61,"end_line":10,"end_character":66},"updated":"2018-11-02 09:40:23.000000000","message":"``literal``","commit_id":"77c3ab50b40d7d885fcf789222103b1b6f8c3de8"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"4204e01643873ddd2052be7e55d47daaeedacdfe","unresolved":false,"context_lines":[{"line_number":12,"context_line":"    plugging would be done by libvirt. As a result during live migration,"},{"line_number":13,"context_line":"    there was a short interval where a guest could receive tagged broadcast,"},{"line_number":14,"context_line":"    multicast, or flooded traffic to/from another tenant. This vulnerability is"},{"line_number":15,"context_line":"    described in bug 1734320. https://bugs.launchpad.net/neutron/+bug/1734320"},{"line_number":16,"context_line":"    By ensureing that os-vif always creates the OVS port as part of vif"},{"line_number":17,"context_line":"    plugging we enable neutron to isolate the port prior to nova resuming the"},{"line_number":18,"context_line":"    vm on the destination node. Note that as Nova cannot rely on neutron to"}],"source_content_type":"text/x-yaml","patch_set":9,"id":"3f79a3b5_03fc75b4","line":15,"range":{"start_line":15,"start_character":17,"end_line":15,"end_character":77},"updated":"2018-11-02 09:40:23.000000000","message":"rST is allowed here. You can format this as such.\n\n   described in `bug 1734320`_. By ensuring...\n\n   .. _bug 1734320: https://bugs...","commit_id":"77c3ab50b40d7d885fcf789222103b1b6f8c3de8"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"4204e01643873ddd2052be7e55d47daaeedacdfe","unresolved":false,"context_lines":[{"line_number":13,"context_line":"    there was a short interval where a guest could receive tagged broadcast,"},{"line_number":14,"context_line":"    multicast, or flooded traffic to/from another tenant. This vulnerability is"},{"line_number":15,"context_line":"    described in bug 1734320. https://bugs.launchpad.net/neutron/+bug/1734320"},{"line_number":16,"context_line":"    By ensureing that os-vif always creates the OVS port as part of vif"},{"line_number":17,"context_line":"    plugging we enable neutron to isolate the port prior to nova resuming the"},{"line_number":18,"context_line":"    vm on the destination node. Note that as Nova cannot rely on neutron to"},{"line_number":19,"context_line":"    on completion of wiring up an interface it cannont wait to recive a"}],"source_content_type":"text/x-yaml","patch_set":9,"id":"3f79a3b5_23f731d4","line":16,"range":{"start_line":16,"start_character":7,"end_line":16,"end_character":16},"updated":"2018-11-02 09:40:23.000000000","message":"ensuring","commit_id":"77c3ab50b40d7d885fcf789222103b1b6f8c3de8"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"4204e01643873ddd2052be7e55d47daaeedacdfe","unresolved":false,"context_lines":[{"line_number":14,"context_line":"    multicast, or flooded traffic to/from another tenant. This vulnerability is"},{"line_number":15,"context_line":"    described in bug 1734320. https://bugs.launchpad.net/neutron/+bug/1734320"},{"line_number":16,"context_line":"    By ensureing that os-vif always creates the OVS port as part of vif"},{"line_number":17,"context_line":"    plugging we enable neutron to isolate the port prior to nova resuming the"},{"line_number":18,"context_line":"    vm on the destination node. Note that as Nova cannot rely on neutron to"},{"line_number":19,"context_line":"    on completion of wiring up an interface it cannont wait to recive a"},{"line_number":20,"context_line":"    notification today before proceeding with the migrtation. As a result"}],"source_content_type":"text/x-yaml","patch_set":9,"id":"3f79a3b5_c3275d66","line":17,"range":{"start_line":17,"start_character":16,"end_line":17,"end_character":22},"updated":"2018-11-02 09:40:23.000000000","message":"allow","commit_id":"77c3ab50b40d7d885fcf789222103b1b6f8c3de8"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"4204e01643873ddd2052be7e55d47daaeedacdfe","unresolved":false,"context_lines":[{"line_number":15,"context_line":"    described in bug 1734320. https://bugs.launchpad.net/neutron/+bug/1734320"},{"line_number":16,"context_line":"    By ensureing that os-vif always creates the OVS port as part of vif"},{"line_number":17,"context_line":"    plugging we enable neutron to isolate the port prior to nova resuming the"},{"line_number":18,"context_line":"    vm on the destination node. Note that as Nova cannot rely on neutron to"},{"line_number":19,"context_line":"    on completion of wiring up an interface it cannont wait to recive a"},{"line_number":20,"context_line":"    notification today before proceeding with the migrtation. As a result"},{"line_number":21,"context_line":"    this is a partial mitigation and addtional changes will be required to"}],"source_content_type":"text/x-yaml","patch_set":9,"id":"3f79a3b5_83d64526","line":18,"range":{"start_line":18,"start_character":4,"end_line":18,"end_character":6},"updated":"2018-11-02 09:40:23.000000000","message":"VM","commit_id":"77c3ab50b40d7d885fcf789222103b1b6f8c3de8"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"4204e01643873ddd2052be7e55d47daaeedacdfe","unresolved":false,"context_lines":[{"line_number":16,"context_line":"    By ensureing that os-vif always creates the OVS port as part of vif"},{"line_number":17,"context_line":"    plugging we enable neutron to isolate the port prior to nova resuming the"},{"line_number":18,"context_line":"    vm on the destination node. Note that as Nova cannot rely on neutron to"},{"line_number":19,"context_line":"    on completion of wiring up an interface it cannont wait to recive a"},{"line_number":20,"context_line":"    notification today before proceeding with the migrtation. As a result"},{"line_number":21,"context_line":"    this is a partial mitigation and addtional changes will be required to"},{"line_number":22,"context_line":"    fully address this bug."}],"source_content_type":"text/x-yaml","patch_set":9,"id":"3f79a3b5_a324a160","line":19,"range":{"start_line":19,"start_character":47,"end_line":19,"end_character":54},"updated":"2018-11-02 09:40:23.000000000","message":"cannot","commit_id":"77c3ab50b40d7d885fcf789222103b1b6f8c3de8"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"4204e01643873ddd2052be7e55d47daaeedacdfe","unresolved":false,"context_lines":[{"line_number":16,"context_line":"    By ensureing that os-vif always creates the OVS port as part of vif"},{"line_number":17,"context_line":"    plugging we enable neutron to isolate the port prior to nova resuming the"},{"line_number":18,"context_line":"    vm on the destination node. Note that as Nova cannot rely on neutron to"},{"line_number":19,"context_line":"    on completion of wiring up an interface it cannont wait to recive a"},{"line_number":20,"context_line":"    notification today before proceeding with the migrtation. As a result"},{"line_number":21,"context_line":"    this is a partial mitigation and addtional changes will be required to"},{"line_number":22,"context_line":"    fully address this bug."}],"source_content_type":"text/x-yaml","patch_set":9,"id":"3f79a3b5_631689f6","line":19,"range":{"start_line":19,"start_character":63,"end_line":19,"end_character":69},"updated":"2018-11-02 09:40:23.000000000","message":"receive","commit_id":"77c3ab50b40d7d885fcf789222103b1b6f8c3de8"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"4204e01643873ddd2052be7e55d47daaeedacdfe","unresolved":false,"context_lines":[{"line_number":15,"context_line":"    described in bug 1734320. https://bugs.launchpad.net/neutron/+bug/1734320"},{"line_number":16,"context_line":"    By ensureing that os-vif always creates the OVS port as part of vif"},{"line_number":17,"context_line":"    plugging we enable neutron to isolate the port prior to nova resuming the"},{"line_number":18,"context_line":"    vm on the destination node. Note that as Nova cannot rely on neutron to"},{"line_number":19,"context_line":"    on completion of wiring up an interface it cannont wait to recive a"},{"line_number":20,"context_line":"    notification today before proceeding with the migrtation. As a result"},{"line_number":21,"context_line":"    this is a partial mitigation and addtional changes will be required to"},{"line_number":22,"context_line":"    fully address this bug."},{"line_number":23,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":9,"id":"3f79a3b5_e3b859e8","line":20,"range":{"start_line":18,"start_character":32,"end_line":20,"end_character":61},"updated":"2018-11-02 09:40:23.000000000","message":"Can you reword this sentence. I\u0027m not sure what you\u0027re getting at. I think you\u0027re saying neutron might not be able to complete wiring up of the interface, therefore nova can\u0027t simply wait for its notification but I\u0027m not 100% sure","commit_id":"77c3ab50b40d7d885fcf789222103b1b6f8c3de8"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"4204e01643873ddd2052be7e55d47daaeedacdfe","unresolved":false,"context_lines":[{"line_number":17,"context_line":"    plugging we enable neutron to isolate the port prior to nova resuming the"},{"line_number":18,"context_line":"    vm on the destination node. Note that as Nova cannot rely on neutron to"},{"line_number":19,"context_line":"    on completion of wiring up an interface it cannont wait to recive a"},{"line_number":20,"context_line":"    notification today before proceeding with the migrtation. As a result"},{"line_number":21,"context_line":"    this is a partial mitigation and addtional changes will be required to"},{"line_number":22,"context_line":"    fully address this bug."},{"line_number":23,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":9,"id":"3f79a3b5_031555e6","line":20,"range":{"start_line":20,"start_character":50,"end_line":20,"end_character":60},"updated":"2018-11-02 09:40:23.000000000","message":"migration","commit_id":"77c3ab50b40d7d885fcf789222103b1b6f8c3de8"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"76102beddfbbf3d8aec3a51843a0e7da010ba64a","unresolved":false,"context_lines":[{"line_number":15,"context_line":"    described in bug 1734320. https://bugs.launchpad.net/neutron/+bug/1734320"},{"line_number":16,"context_line":"    By ensureing that os-vif always creates the OVS port as part of vif"},{"line_number":17,"context_line":"    plugging we enable neutron to isolate the port prior to nova resuming the"},{"line_number":18,"context_line":"    vm on the destination node. Note that as Nova cannot rely on neutron to"},{"line_number":19,"context_line":"    on completion of wiring up an interface it cannont wait to recive a"},{"line_number":20,"context_line":"    notification today before proceeding with the migrtation. As a result"},{"line_number":21,"context_line":"    this is a partial mitigation and addtional changes will be required to"},{"line_number":22,"context_line":"    fully address this bug."},{"line_number":23,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":9,"id":"3f79a3b5_d73073ba","line":20,"range":{"start_line":18,"start_character":32,"end_line":20,"end_character":61},"in_reply_to":"3f79a3b5_e3b859e8","updated":"2018-11-02 12:31:27.000000000","message":"no i am saying depending on the neutron backend when networking-vif-plug is sent is implmenation defined.\n\nodl send it when you bind the port\n\nthe ovs agent sends it when it actully wires up the port.\n\novn i belive does what odl does but can be made work like ml2/ovs  which is partly why i added https://review.openstack.org/#/c/612745/ as a quick hack for something else related to live migrateion.\n\nthat hack is wrong but the ovn team are going to actully work on it so i left it up for them as a reference.\n\nanother change i am planning to make to neutron for other reasons is encoding when network plug event are sent in the vif bingin detail but that will require a neutron spec which i will likely tie into the report ml2 dirver used one. so im\ngoing to hold of on that later.","commit_id":"77c3ab50b40d7d885fcf789222103b1b6f8c3de8"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"4204e01643873ddd2052be7e55d47daaeedacdfe","unresolved":false,"context_lines":[{"line_number":18,"context_line":"    vm on the destination node. Note that as Nova cannot rely on neutron to"},{"line_number":19,"context_line":"    on completion of wiring up an interface it cannont wait to recive a"},{"line_number":20,"context_line":"    notification today before proceeding with the migrtation. As a result"},{"line_number":21,"context_line":"    this is a partial mitigation and addtional changes will be required to"},{"line_number":22,"context_line":"    fully address this bug."},{"line_number":23,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":9,"id":"3f79a3b5_231091f4","line":21,"range":{"start_line":21,"start_character":37,"end_line":21,"end_character":46},"updated":"2018-11-02 09:40:23.000000000","message":"additional","commit_id":"77c3ab50b40d7d885fcf789222103b1b6f8c3de8"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"4204e01643873ddd2052be7e55d47daaeedacdfe","unresolved":false,"context_lines":[{"line_number":20,"context_line":"    notification today before proceeding with the migrtation. As a result"},{"line_number":21,"context_line":"    this is a partial mitigation and addtional changes will be required to"},{"line_number":22,"context_line":"    fully address this bug."},{"line_number":23,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":9,"id":"3f79a3b5_6368c988","line":23,"updated":"2018-11-02 09:40:23.000000000","message":"nit: extra newline","commit_id":"77c3ab50b40d7d885fcf789222103b1b6f8c3de8"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"22a000a0c764424e27305d0373651e8e7ca19b5a","unresolved":false,"context_lines":[{"line_number":12,"context_line":"    and the plugging would be done by libvirt. As a result during live"},{"line_number":13,"context_line":"    migration, there was a short interval where a guest could receive tagged"},{"line_number":14,"context_line":"    broadcast, multicast, or flooded traffic to/from another tenant."},{"line_number":15,"context_line":"    This vulnerability is described in `bug 1734320`_. By ensuring that"},{"line_number":16,"context_line":"    os-vif always creates the OVS port as part of vif plugging we enable"},{"line_number":17,"context_line":"    neutron to isolate the port prior to nova resuming the VM on the"},{"line_number":18,"context_line":"    destination node. Note that as Nova cannot rely on Neutron to send"}],"source_content_type":"text/x-yaml","patch_set":10,"id":"3f79a3b5_cf63a2dd","line":15,"range":{"start_line":15,"start_character":40,"end_line":15,"end_character":51},"updated":"2018-11-07 11:44:59.000000000","message":"if i ad a hyphen to this will it fix the releasenots issue?","commit_id":"b3e0237cd84710b4b41138ed546bca70649b4e04"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"451ee33f150ed3f0c3e0ee96f43cc639cbf71ba7","unresolved":false,"context_lines":[{"line_number":20,"context_line":"    it cannot wait to receive a notification before proceeding with the"},{"line_number":21,"context_line":"    migrtation. As a result this is a partial mitigation and additional changes"},{"line_number":22,"context_line":"    will be required to fully address this bug."},{"line_number":23,"context_line":"    .. _bug 1734320: https://bugs.launchpad.net/neutron/+bug/1734320"}],"source_content_type":"text/x-yaml","patch_set":10,"id":"3f79a3b5_afd98681","line":23,"range":{"start_line":23,"start_character":0,"end_line":23,"end_character":68},"updated":"2018-11-07 11:50:54.000000000","message":"You need a newline above this otherwise it\u0027s merged into the previous paragraph with just a space in between","commit_id":"b3e0237cd84710b4b41138ed546bca70649b4e04"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"22a000a0c764424e27305d0373651e8e7ca19b5a","unresolved":false,"context_lines":[{"line_number":20,"context_line":"    it cannot wait to receive a notification before proceeding with the"},{"line_number":21,"context_line":"    migrtation. As a result this is a partial mitigation and additional changes"},{"line_number":22,"context_line":"    will be required to fully address this bug."},{"line_number":23,"context_line":"    .. _bug 1734320: https://bugs.launchpad.net/neutron/+bug/1734320"}],"source_content_type":"text/x-yaml","patch_set":10,"id":"3f79a3b5_4f955293","line":23,"range":{"start_line":23,"start_character":8,"end_line":23,"end_character":19},"updated":"2018-11-07 11:44:59.000000000","message":"and here","commit_id":"b3e0237cd84710b4b41138ed546bca70649b4e04"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"4138bde2cd299f528a5424f9a7e5ba27d955df31","unresolved":false,"context_lines":[{"line_number":18,"context_line":"    destination node. Note that as Nova cannot rely on Neutron to send"},{"line_number":19,"context_line":"    ``network-vif-plugged`` events on completion of wiring up an interface"},{"line_number":20,"context_line":"    it cannot wait to receive a notification before proceeding with the"},{"line_number":21,"context_line":"    migrtation. As a result this is a partial mitigation and additional changes"},{"line_number":22,"context_line":"    will be required to fully address this bug."},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"    .. _bug 1734320: https://bugs.launchpad.net/neutron/+bug/1734320"}],"source_content_type":"text/x-yaml","patch_set":12,"id":"3f79a3b5_39e972e3","line":21,"range":{"start_line":21,"start_character":4,"end_line":21,"end_character":14},"updated":"2018-11-20 21:41:26.000000000","message":"migration","commit_id":"d72c903ad02feff6fbc988138f7f8cc5c589aca7"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"a2afdc5f5850d57452270624964680288b9b84fd","unresolved":false,"context_lines":[{"line_number":18,"context_line":"    destination node. Note that as Nova cannot rely on Neutron to send"},{"line_number":19,"context_line":"    ``network-vif-plugged`` events on completion of wiring up an interface"},{"line_number":20,"context_line":"    it cannot wait to receive a notification before proceeding with the"},{"line_number":21,"context_line":"    migrtation. As a result this is a partial mitigation and additional changes"},{"line_number":22,"context_line":"    will be required to fully address this bug."},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"    .. _bug 1734320: https://bugs.launchpad.net/neutron/+bug/1734320"}],"source_content_type":"text/x-yaml","patch_set":12,"id":"3f79a3b5_0d4f898d","line":21,"range":{"start_line":21,"start_character":4,"end_line":21,"end_character":14},"in_reply_to":"3f79a3b5_39e972e3","updated":"2018-11-21 12:41:37.000000000","message":"dammit :) thanks jay the rel notes are technically docs so ill re spin... ill wait for you to let me know if you are happy with my anwers to your other questions first however.","commit_id":"d72c903ad02feff6fbc988138f7f8cc5c589aca7"}],"vif_plug_ovs/linux_net.py":[{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"5eccfde6587e78679dea12319d902b614bcb6358","unresolved":false,"context_lines":[{"line_number":66,"context_line":"                          {\u0027bridge\u0027: bridge, \u0027device\u0027: device})"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"def delete_net_dev(dev):"},{"line_number":70,"context_line":"    \"\"\"Delete a network device only if it exists.\"\"\""},{"line_number":71,"context_line":"    if ip_lib.exists(dev):"},{"line_number":72,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":3,"id":"3f79a3b5_3cec00f3","line":69,"updated":"2018-10-10 16:21:38.000000000","message":"this need the \n@privsep.vif_plug.entrypoint\ndecorator","commit_id":"20865fe46dcc60f5b64c65a32c60cfc70db2a172"},{"author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"change_message_id":"23859063a12a4944216845e44255bfec137d9e12","unresolved":false,"context_lines":[{"line_number":66,"context_line":"                          {\u0027bridge\u0027: bridge, \u0027device\u0027: device})"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"@privsep.vif_plug.entrypoint"},{"line_number":70,"context_line":"def delete_net_dev(dev):"},{"line_number":71,"context_line":"    \"\"\"Delete a network device only if it exists.\"\"\""},{"line_number":72,"context_line":"    if ip_lib.exists(dev):"}],"source_content_type":"text/x-python","patch_set":4,"id":"3f79a3b5_73c28556","line":69,"updated":"2018-10-11 19:54:22.000000000","message":"Is this change related to the rest of the patch or no? It\u0027s not mentioned in the commit message or release note.","commit_id":"1e3215b7e22e57379a326f7fd111ea4fef7a08bc"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"bb4dd65f36c6b63a2bc56ec2084a004c0a5510fd","unresolved":false,"context_lines":[{"line_number":66,"context_line":"                          {\u0027bridge\u0027: bridge, \u0027device\u0027: device})"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"@privsep.vif_plug.entrypoint"},{"line_number":70,"context_line":"def delete_net_dev(dev):"},{"line_number":71,"context_line":"    \"\"\"Delete a network device only if it exists.\"\"\""},{"line_number":72,"context_line":"    if ip_lib.exists(dev):"}],"source_content_type":"text/x-python","patch_set":4,"id":"3f79a3b5_764113a7","line":69,"in_reply_to":"3f79a3b5_73c28556","updated":"2018-10-11 21:05:01.000000000","message":"yes its needed\n_unplug_vif_generic calls ovsdb.delete_ovs_vif_port which calls delete_net_dev if it existis.\n\n_unplug_vif_generic is called out side of a privsep context and ovsdb.delete_ovs_vif_port does not create one so i get a permission denied error without this change.","commit_id":"1e3215b7e22e57379a326f7fd111ea4fef7a08bc"},{"author":{"_account_id":7730,"name":"Sahid Orentino Ferdjaoui","email":"sahid.ferdjaoui@industrialdiscipline.com","username":"sahid"},"change_message_id":"cd3f00c601ad72b9bdcfe548ce84c09644d366f1","unresolved":false,"context_lines":[{"line_number":140,"context_line":"@privsep.vif_plug.entrypoint"},{"line_number":141,"context_line":"def set_device_mtu(dev, mtu):"},{"line_number":142,"context_line":"    \"\"\"Set the device MTU.\"\"\""},{"line_number":143,"context_line":"    if ip_lib.exists(dev):"},{"line_number":144,"context_line":"        ip_lib.set(dev, mtu\u003dmtu, check_exit_code\u003d[0, 2, 254])"},{"line_number":145,"context_line":""},{"line_number":146,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"3f79a3b5_1331a358","line":143,"updated":"2018-10-26 08:49:51.000000000","message":"Can you explain why do we need this now?","commit_id":"121034d5426285fe0f82539bf3d8f204ed770bb1"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"6e850861ce24b27bba028a638cea8c8555db224b","unresolved":false,"context_lines":[{"line_number":140,"context_line":"@privsep.vif_plug.entrypoint"},{"line_number":141,"context_line":"def set_device_mtu(dev, mtu):"},{"line_number":142,"context_line":"    \"\"\"Set the device MTU.\"\"\""},{"line_number":143,"context_line":"    if ip_lib.exists(dev):"},{"line_number":144,"context_line":"        ip_lib.set(dev, mtu\u003dmtu, check_exit_code\u003d[0, 2, 254])"},{"line_number":145,"context_line":""},{"line_number":146,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"3f79a3b5_81c31639","line":143,"in_reply_to":"3f79a3b5_1331a358","updated":"2018-10-26 15:33:51.000000000","message":"the tap does not exist when we create the port on ovs so we cannot set the mtu.\n\nthe mtu will be set by libvirt when it creates the tap.","commit_id":"121034d5426285fe0f82539bf3d8f204ed770bb1"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"8452d6b406f20b8b2dbd43f959a5ce510fbd9cb6","unresolved":false,"context_lines":[{"line_number":66,"context_line":"                          {\u0027bridge\u0027: bridge, \u0027device\u0027: device})"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"@privsep.vif_plug.entrypoint"},{"line_number":70,"context_line":"def delete_net_dev(dev):"},{"line_number":71,"context_line":"    \"\"\"Delete a network device only if it exists.\"\"\""},{"line_number":72,"context_line":"    if ip_lib.exists(dev):"}],"source_content_type":"text/x-python","patch_set":9,"id":"3f79a3b5_038b1569","line":69,"updated":"2018-11-02 09:28:42.000000000","message":"Thanks for this!!","commit_id":"77c3ab50b40d7d885fcf789222103b1b6f8c3de8"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"4138bde2cd299f528a5424f9a7e5ba27d955df31","unresolved":false,"context_lines":[{"line_number":140,"context_line":"@privsep.vif_plug.entrypoint"},{"line_number":141,"context_line":"def set_device_mtu(dev, mtu):"},{"line_number":142,"context_line":"    \"\"\"Set the device MTU.\"\"\""},{"line_number":143,"context_line":"    if ip_lib.exists(dev):"},{"line_number":144,"context_line":"        ip_lib.set(dev, mtu\u003dmtu, check_exit_code\u003d[0, 2, 254])"},{"line_number":145,"context_line":""},{"line_number":146,"context_line":""}],"source_content_type":"text/x-python","patch_set":12,"id":"3f79a3b5_d9b15e02","line":143,"updated":"2018-11-20 21:41:26.000000000","message":"was this necessary to fix something? or just for efficiency/cleanliness?","commit_id":"d72c903ad02feff6fbc988138f7f8cc5c589aca7"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"c6db83fcd1d8781c7652fd72c1125955c25526e3","unresolved":false,"context_lines":[{"line_number":140,"context_line":"@privsep.vif_plug.entrypoint"},{"line_number":141,"context_line":"def set_device_mtu(dev, mtu):"},{"line_number":142,"context_line":"    \"\"\"Set the device MTU.\"\"\""},{"line_number":143,"context_line":"    if ip_lib.exists(dev):"},{"line_number":144,"context_line":"        ip_lib.set(dev, mtu\u003dmtu, check_exit_code\u003d[0, 2, 254])"},{"line_number":145,"context_line":""},{"line_number":146,"context_line":""}],"source_content_type":"text/x-python","patch_set":12,"id":"3f79a3b5_e6ce558d","line":143,"in_reply_to":"3f79a3b5_adb21594","updated":"2018-11-30 03:47:44.000000000","message":"ok, thanks for the explanation, Sean. makes sense.","commit_id":"d72c903ad02feff6fbc988138f7f8cc5c589aca7"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"a2afdc5f5850d57452270624964680288b9b84fd","unresolved":false,"context_lines":[{"line_number":140,"context_line":"@privsep.vif_plug.entrypoint"},{"line_number":141,"context_line":"def set_device_mtu(dev, mtu):"},{"line_number":142,"context_line":"    \"\"\"Set the device MTU.\"\"\""},{"line_number":143,"context_line":"    if ip_lib.exists(dev):"},{"line_number":144,"context_line":"        ip_lib.set(dev, mtu\u003dmtu, check_exit_code\u003d[0, 2, 254])"},{"line_number":145,"context_line":""},{"line_number":146,"context_line":""}],"source_content_type":"text/x-python","patch_set":12,"id":"3f79a3b5_adb21594","line":143,"in_reply_to":"3f79a3b5_d9b15e02","updated":"2018-11-21 12:41:37.000000000","message":"previously this was called only in cases where os-vif had created a veth pair as part of the hybrid plug workflows.\nwith this change we are plugging the ovs port before libvirt/qemu has created the tap so os-vif cannot set mtu because the device does not exist.\n\nThis is not an issue as we modified the libvirt driver to set the mtu in the libvirt xml in the rocky cycle to fix jumbo frames when hybrid plug was false. that has been backported too since it was always broken in that case. so when libvirt creates the tap it will set the mtu and we can safely skip setting the mtu if the device does not exist yet.","commit_id":"d72c903ad02feff6fbc988138f7f8cc5c589aca7"}],"vif_plug_ovs/ovs.py":[{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"ff841cf893627317f46b19db7f66b097aeec838b","unresolved":false,"context_lines":[{"line_number":198,"context_line":"            self._get_vif_datapath_type(vif),"},{"line_number":199,"context_line":"            timeout\u003dself.config.ovs_vsctl_timeout,"},{"line_number":200,"context_line":"            ovsdb_connection\u003dself.config.ovsdb_connection)"},{"line_number":201,"context_line":"        self._create_vif_port(vif, vif.vif_name, instance_info)"},{"line_number":202,"context_line":""},{"line_number":203,"context_line":"    def _plug_vf_passthrough(self, vif, instance_info):"},{"line_number":204,"context_line":"        linux_net.ensure_ovs_bridge("}],"source_content_type":"text/x-python","patch_set":2,"id":"3f79a3b5_7e4f9a91","line":201,"range":{"start_line":201,"start_character":8,"end_line":201,"end_character":29},"updated":"2018-09-18 17:08:01.000000000","message":"I don\u0027t understand. In base patch, we were not creating the VIF port?? Am I missing something?","commit_id":"175e92584c21b0b52b87fed17054d00552d41dd7"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"1ea5ca4b0eb93c9fc5df52705f1a1330cc93267a","unresolved":false,"context_lines":[{"line_number":198,"context_line":"            self._get_vif_datapath_type(vif),"},{"line_number":199,"context_line":"            timeout\u003dself.config.ovs_vsctl_timeout,"},{"line_number":200,"context_line":"            ovsdb_connection\u003dself.config.ovsdb_connection)"},{"line_number":201,"context_line":"        self._create_vif_port(vif, vif.vif_name, instance_info)"},{"line_number":202,"context_line":""},{"line_number":203,"context_line":"    def _plug_vf_passthrough(self, vif, instance_info):"},{"line_number":204,"context_line":"        linux_net.ensure_ovs_bridge("}],"source_content_type":"text/x-python","patch_set":2,"id":"3f79a3b5_59508a2c","line":201,"range":{"start_line":201,"start_character":8,"end_line":201,"end_character":29},"in_reply_to":"3f79a3b5_7e4f9a91","updated":"2018-09-20 13:13:51.000000000","message":"in the base patch we are ensuring the bridge exists\nwe dont actully plug a port in this case.\n\nwiht this patch we do both and also plug a port.\nthis is for the hybrid_plug\u003dfalse with kernel ovs\nwhere until not the plugin was actully done by libvirt\nnot os-vif.","commit_id":"175e92584c21b0b52b87fed17054d00552d41dd7"},{"author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"change_message_id":"c9ff0ac2e3982572a8e7663d657a3d6967f5ba46","unresolved":false,"context_lines":[{"line_number":262,"context_line":""},{"line_number":263,"context_line":"    def _unplug_vif_generic(self, vif, instance_info):"},{"line_number":264,"context_line":"        \"\"\"Remove port from OVS.\"\"\""},{"line_number":265,"context_line":"        self.ovsdb.delete_ovs_vif_port(vif.network.bridge, vif.vif_name)"},{"line_number":266,"context_line":""},{"line_number":267,"context_line":"    def _unplug_vf_passthrough(self, vif, instance_info):"},{"line_number":268,"context_line":"        \"\"\"Remove port from OVS.\"\"\""}],"source_content_type":"text/x-python","patch_set":6,"id":"3f79a3b5_a70a1724","line":265,"updated":"2018-10-12 00:02:14.000000000","message":"Note for reviewers: delete_ovs_vif_port calls delete_net_dev here:\n\nhttps://github.com/openstack/os-vif/blob/8606af13c7f88a4e0cfbf2c4a116e07977af5e65/vif_plug_ovs/ovsdb/ovsdb_lib.py#L90","commit_id":"0de88914d5c45e28b280d18d90273f37528cf0cf"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"8452d6b406f20b8b2dbd43f959a5ce510fbd9cb6","unresolved":false,"context_lines":[{"line_number":200,"context_line":"    def _plug_vif_generic(self, vif, instance_info):"},{"line_number":201,"context_line":"        \"\"\"Create a per-VIF OVS port.\"\"\""},{"line_number":202,"context_line":"        self.ovsdb.ensure_ovs_bridge(vif.network.bridge,"},{"line_number":203,"context_line":"                    self._get_vif_datapath_type(vif))"},{"line_number":204,"context_line":"        self._create_vif_port(vif, vif.vif_name, instance_info)"},{"line_number":205,"context_line":""},{"line_number":206,"context_line":"    def _plug_vf_passthrough(self, vif, instance_info):"}],"source_content_type":"text/x-python","patch_set":9,"id":"3f79a3b5_a3efc11a","line":203,"updated":"2018-11-02 09:28:42.000000000","message":"Curious indentation.","commit_id":"77c3ab50b40d7d885fcf789222103b1b6f8c3de8"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"76102beddfbbf3d8aec3a51843a0e7da010ba64a","unresolved":false,"context_lines":[{"line_number":200,"context_line":"    def _plug_vif_generic(self, vif, instance_info):"},{"line_number":201,"context_line":"        \"\"\"Create a per-VIF OVS port.\"\"\""},{"line_number":202,"context_line":"        self.ovsdb.ensure_ovs_bridge(vif.network.bridge,"},{"line_number":203,"context_line":"                    self._get_vif_datapath_type(vif))"},{"line_number":204,"context_line":"        self._create_vif_port(vif, vif.vif_name, instance_info)"},{"line_number":205,"context_line":""},{"line_number":206,"context_line":"    def _plug_vf_passthrough(self, vif, instance_info):"}],"source_content_type":"text/x-python","patch_set":9,"id":"3f79a3b5_f7b80fe8","line":203,"in_reply_to":"3f79a3b5_a3b26104","updated":"2018-11-02 12:31:27.000000000","message":"i have started to try and use emacs and by default it will align the s in self with the v in vif but that was over the\ncolumn limit. if you place your coursr at the end of the line \")\" then every time i hit tab it moves it one indentation level to the left.\n\npep8 allows any deeper level of indetaion for the paramater as long as its a multiple of 4 spaces without current config.\n\nill be re spinning the patch anyway so i can change it but\nya its legal. the rule in pep8 that allows you to align\nvif and self is the same one that allows this indention style.","commit_id":"77c3ab50b40d7d885fcf789222103b1b6f8c3de8"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"4204e01643873ddd2052be7e55d47daaeedacdfe","unresolved":false,"context_lines":[{"line_number":200,"context_line":"    def _plug_vif_generic(self, vif, instance_info):"},{"line_number":201,"context_line":"        \"\"\"Create a per-VIF OVS port.\"\"\""},{"line_number":202,"context_line":"        self.ovsdb.ensure_ovs_bridge(vif.network.bridge,"},{"line_number":203,"context_line":"                    self._get_vif_datapath_type(vif))"},{"line_number":204,"context_line":"        self._create_vif_port(vif, vif.vif_name, instance_info)"},{"line_number":205,"context_line":""},{"line_number":206,"context_line":"    def _plug_vf_passthrough(self, vif, instance_info):"}],"source_content_type":"text/x-python","patch_set":9,"id":"3f79a3b5_a3b26104","line":203,"in_reply_to":"3f79a3b5_a3efc11a","updated":"2018-11-02 09:40:23.000000000","message":"Some might say wrong :) pep8 is happy though so meh","commit_id":"77c3ab50b40d7d885fcf789222103b1b6f8c3de8"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"4138bde2cd299f528a5424f9a7e5ba27d955df31","unresolved":false,"context_lines":[{"line_number":201,"context_line":"        \"\"\"Create a per-VIF OVS port.\"\"\""},{"line_number":202,"context_line":"        self.ovsdb.ensure_ovs_bridge(vif.network.bridge,"},{"line_number":203,"context_line":"                                     self._get_vif_datapath_type(vif))"},{"line_number":204,"context_line":"        self._create_vif_port(vif, vif.vif_name, instance_info)"},{"line_number":205,"context_line":""},{"line_number":206,"context_line":"    def _plug_vf_passthrough(self, vif, instance_info):"},{"line_number":207,"context_line":"        self.ovsdb.ensure_ovs_bridge("}],"source_content_type":"text/x-python","patch_set":12,"id":"3f79a3b5_798daa34","line":204,"range":{"start_line":204,"start_character":0,"end_line":204,"end_character":63},"updated":"2018-11-20 21:41:26.000000000","message":"OK, so this is the thing that the libvirt virt driver was doing previously when hybrid was False, right? And now we\u0027re always doing it here regardless of whether hybrid is False...\n\nIs there a corresponding change in Nova where the libvirt virt driver is no longer creating the OVS port?","commit_id":"d72c903ad02feff6fbc988138f7f8cc5c589aca7"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"a2afdc5f5850d57452270624964680288b9b84fd","unresolved":false,"context_lines":[{"line_number":201,"context_line":"        \"\"\"Create a per-VIF OVS port.\"\"\""},{"line_number":202,"context_line":"        self.ovsdb.ensure_ovs_bridge(vif.network.bridge,"},{"line_number":203,"context_line":"                                     self._get_vif_datapath_type(vif))"},{"line_number":204,"context_line":"        self._create_vif_port(vif, vif.vif_name, instance_info)"},{"line_number":205,"context_line":""},{"line_number":206,"context_line":"    def _plug_vf_passthrough(self, vif, instance_info):"},{"line_number":207,"context_line":"        self.ovsdb.ensure_ovs_bridge("}],"source_content_type":"text/x-python","patch_set":12,"id":"3f79a3b5_6d1e3dbd","line":204,"range":{"start_line":204,"start_character":0,"end_line":204,"end_character":63},"in_reply_to":"3f79a3b5_798daa34","updated":"2018-11-21 12:41:37.000000000","message":"yes this is the change to replace what libvirt was doing.\n\n\nhttps://review.openstack.org/#/c/602432 is the corresponding patch but its not strictly required and since the libvirt ethernet type seams to be flaky it may not be desired.\n\nthis works fine without the nova change.","commit_id":"d72c903ad02feff6fbc988138f7f8cc5c589aca7"}],"vif_plug_ovs/tests/unit/test_plugin.py":[{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"f1a90918b88f0c32982006f6f09607b5f25c05ce","unresolved":false,"context_lines":[{"line_number":264,"context_line":"        plugin.unplug(self.vif_ovs, self.instance)"},{"line_number":265,"context_line":"        unplug.assert_called_once_with(self.vif_ovs, self.instance)"},{"line_number":266,"context_line":""},{"line_number":267,"context_line":"    @mock.patch.object(ovs.OvsPlugin, \u0027_unplug_vif_generic\u0027)"},{"line_number":268,"context_line":"    def test_unplug_vif_generic(self, delete_port):"},{"line_number":269,"context_line":"        plugin \u003d ovs.OvsPlugin.load(constants.PLUGIN_NAME)"},{"line_number":270,"context_line":"        plugin._unplug_vif_generic(self.vif_ovs, self.instance)"}],"source_content_type":"text/x-python","patch_set":5,"id":"3f79a3b5_277367b6","line":267,"range":{"start_line":267,"start_character":4,"end_line":267,"end_character":60},"updated":"2018-10-11 22:56:13.000000000","message":"this is wrong...\nthings you see when doing backports","commit_id":"ad2e5edafd79179b60bbbea034aa29d9400900da"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"4204e01643873ddd2052be7e55d47daaeedacdfe","unresolved":false,"context_lines":[{"line_number":69,"context_line":"            id\u003d\u0027b679325f-ca89-4ee0-a8be-6db1409b69ea\u0027,"},{"line_number":70,"context_line":"            address\u003d\u0027ca:fe:de:ad:be:ef\u0027,"},{"line_number":71,"context_line":"            network\u003dself.network_ovs,"},{"line_number":72,"context_line":"            vif_name\u003d\u0027tap-xxx-yyy-zzz\u0027,"},{"line_number":73,"context_line":"            bridge_name\u003d\"qbrvif-xxx-yyy\","},{"line_number":74,"context_line":"            port_profile\u003dself.profile_ovs_no_datatype)"},{"line_number":75,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"3f79a3b5_23be51ce","line":72,"range":{"start_line":72,"start_character":12,"end_line":72,"end_character":20},"updated":"2018-11-02 09:40:23.000000000","message":"This \"feature\" of o.vo is really fricking annoying sometimes","commit_id":"77c3ab50b40d7d885fcf789222103b1b6f8c3de8"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"76102beddfbbf3d8aec3a51843a0e7da010ba64a","unresolved":false,"context_lines":[{"line_number":69,"context_line":"            id\u003d\u0027b679325f-ca89-4ee0-a8be-6db1409b69ea\u0027,"},{"line_number":70,"context_line":"            address\u003d\u0027ca:fe:de:ad:be:ef\u0027,"},{"line_number":71,"context_line":"            network\u003dself.network_ovs,"},{"line_number":72,"context_line":"            vif_name\u003d\u0027tap-xxx-yyy-zzz\u0027,"},{"line_number":73,"context_line":"            bridge_name\u003d\"qbrvif-xxx-yyy\","},{"line_number":74,"context_line":"            port_profile\u003dself.profile_ovs_no_datatype)"},{"line_number":75,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"3f79a3b5_5777833d","line":72,"range":{"start_line":72,"start_character":12,"end_line":72,"end_character":20},"in_reply_to":"3f79a3b5_23be51ce","updated":"2018-11-02 12:31:27.000000000","message":"ya i really need to get around to writing the class decorator and submitting it to ovo so that we can disable the \"feature\"\n\"selectively\" by selecting every ovo in os-vif :)","commit_id":"77c3ab50b40d7d885fcf789222103b1b6f8c3de8"}]}
