)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"ffeedacd681f056eaa6a20a38b4292f155da84fb","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"add support for vhost-user reconnect"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"- This change introduces support for createing"},{"line_number":10,"context_line":"  dpdkvhostuserclient type port in ovs."},{"line_number":11,"context_line":"- This change allows vhost-user to be configured with"},{"line_number":12,"context_line":"  qemu as the vhost server and ovs as the client allowing"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"1a6eadb0_82414d3c","line":9,"updated":"2016-12-13 04:06:53.000000000","message":"s/createing/creating/","commit_id":"e2fa516b915ba2de8be0d2948edc4826d4298f80"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"387e6033a64755f8a4572a6ea8ca1ee26571ab45","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"add support for vhost-user reconnect"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"- This change introduces support for createing"},{"line_number":10,"context_line":"  dpdkvhostuserclient type port in ovs."},{"line_number":11,"context_line":"- This change allows vhost-user to be configured with"},{"line_number":12,"context_line":"  qemu as the vhost server and ovs as the client allowing"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"1a6eadb0_d7cea059","line":9,"in_reply_to":"1a6eadb0_82414d3c","updated":"2016-12-13 07:09:44.000000000","message":":) i have actully started using https://app.grammarly.com/\nto check any docs i write but even though i checked the release note i missed the commit message.","commit_id":"e2fa516b915ba2de8be0d2948edc4826d4298f80"}],"releasenotes/notes/vhost-user-reconnect-fa4cbb731b787f71.yaml":[{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"9e49987124ee2d499eea2167fbbe63314df9af8e","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - vhost-user reconnect is a new feature that allows"},{"line_number":4,"context_line":"    a vhost-user frontend(e.g. qemu) to reconnect to a"},{"line_number":5,"context_line":"    vhost-user backend (e.g. ovs with dpdk) in the event"},{"line_number":6,"context_line":"    that backend is restarted while the interface is in use."}],"source_content_type":"text/x-yaml","patch_set":2,"id":"ba5da102_a63c53e3","line":3,"updated":"2016-10-31 16:31:34.000000000","message":"A new feature of *what*?","commit_id":"e54e4ba69105a787e6843155956466797fa90699"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"08cc870da9360b912709591bdd95785b834365a5","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - vhost-user reconnect is a new feature that allows"},{"line_number":4,"context_line":"    a vhost-user frontend(e.g. qemu) to reconnect to a"},{"line_number":5,"context_line":"    vhost-user backend (e.g. ovs with dpdk) in the event"},{"line_number":6,"context_line":"    that backend is restarted while the interface is in use."}],"source_content_type":"text/x-yaml","patch_set":2,"id":"ba5da102_efd9a223","line":3,"in_reply_to":"ba5da102_a63c53e3","updated":"2016-11-01 15:09:14.000000000","message":"oh yes i should say qemu here.","commit_id":"e54e4ba69105a787e6843155956466797fa90699"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"567555c0a3e731147274d82568aabab5a2635339","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - vhost-user reconnect is a new feature that allows"},{"line_number":4,"context_line":"    a vhost-user frontend(e.g. qemu) to reconnect to a"},{"line_number":5,"context_line":"    vhost-user backend (e.g. ovs with dpdk) in the event"},{"line_number":6,"context_line":"    that backend is restarted while the interface is in use."}],"source_content_type":"text/x-yaml","patch_set":2,"id":"9a629dbe_4011205c","line":3,"in_reply_to":"ba5da102_efd9a223","updated":"2016-11-11 17:24:39.000000000","message":"Done","commit_id":"e54e4ba69105a787e6843155956466797fa90699"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"9e49987124ee2d499eea2167fbbe63314df9af8e","unresolved":false,"context_lines":[{"line_number":6,"context_line":"    that backend is restarted while the interface is in use."},{"line_number":7,"context_line":"    vhost-user reconnect leverages qemu vhost-user server mode"},{"line_number":8,"context_line":"    with ovs-dpdk in client mode. This configuration requires"},{"line_number":9,"context_line":"    ovs 2.6 with dpdk 16.07 and qemu 2.7 or newer to function."}],"source_content_type":"text/x-yaml","patch_set":2,"id":"ba5da102_c63f87d4","line":9,"updated":"2016-10-31 16:31:34.000000000","message":"Please state the behaviour that occurs when the user attempts to use this functionality on a machine that does not have the requisite versions of OVS with DPDK and QEMU.","commit_id":"e54e4ba69105a787e6843155956466797fa90699"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"567555c0a3e731147274d82568aabab5a2635339","unresolved":false,"context_lines":[{"line_number":6,"context_line":"    that backend is restarted while the interface is in use."},{"line_number":7,"context_line":"    vhost-user reconnect leverages qemu vhost-user server mode"},{"line_number":8,"context_line":"    with ovs-dpdk in client mode. This configuration requires"},{"line_number":9,"context_line":"    ovs 2.6 with dpdk 16.07 and qemu 2.7 or newer to function."}],"source_content_type":"text/x-yaml","patch_set":2,"id":"9a629dbe_a00afc23","line":9,"in_reply_to":"ba5da102_6fb4b281","updated":"2016-11-11 17:24:39.000000000","message":"i will try to test this on monday.","commit_id":"e54e4ba69105a787e6843155956466797fa90699"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"08cc870da9360b912709591bdd95785b834365a5","unresolved":false,"context_lines":[{"line_number":6,"context_line":"    that backend is restarted while the interface is in use."},{"line_number":7,"context_line":"    vhost-user reconnect leverages qemu vhost-user server mode"},{"line_number":8,"context_line":"    with ovs-dpdk in client mode. This configuration requires"},{"line_number":9,"context_line":"    ovs 2.6 with dpdk 16.07 and qemu 2.7 or newer to function."}],"source_content_type":"text/x-yaml","patch_set":2,"id":"ba5da102_6fb4b281","line":9,"in_reply_to":"ba5da102_c63f87d4","updated":"2016-11-01 15:09:14.000000000","message":"sure. i have not actully tested this but as far as i am aware if you use an older qemu e.g. qemu 2.1+ then everything will still work but if backend restarts and the unix socket is closed qemu will not repoen it and wait for the backend to reconnect.\n\nif you have and older version of ovs and dpdk the new port type will not exist. As the ovsdb treats the port type as an opaque string i dont believe it will though any error as it does no validation though the ovs-vswitchd might. i believe the result in that case is the vm would boot but not have network connectivity. that said the neutron patch i was proposing that would make use of this fuctionality is checking for the exisice of the port type and will not enable it unless ovs supports this feature. as such you should not encounter this edge case unless you have a defective neutron ml2 driver.","commit_id":"e54e4ba69105a787e6843155956466797fa90699"}],"vif_plug_ovs/linux_net.py":[{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"9e49987124ee2d499eea2167fbbe63314df9af8e","unresolved":false,"context_lines":[{"line_number":58,"context_line":"            \u0027external-ids:vm-uuid\u003d%s\u0027 % instance_id]"},{"line_number":59,"context_line":"    if interface_type:"},{"line_number":60,"context_line":"        cmd +\u003d [\u0027type\u003d%s\u0027 % interface_type]"},{"line_number":61,"context_line":"    if vhost_socket_path:"},{"line_number":62,"context_line":"        cmd +\u003d [\u0027options:vhost-server-path\u003d%s\u0027 % vhost_socket_path]"},{"line_number":63,"context_line":"    return cmd"},{"line_number":64,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"ba5da102_66323b12","line":61,"updated":"2016-10-31 16:31:34.000000000","message":"Why not call this vhost_server_path to match the options:XXX name supplied to ovs-vsctl?","commit_id":"e54e4ba69105a787e6843155956466797fa90699"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"08cc870da9360b912709591bdd95785b834365a5","unresolved":false,"context_lines":[{"line_number":58,"context_line":"            \u0027external-ids:vm-uuid\u003d%s\u0027 % instance_id]"},{"line_number":59,"context_line":"    if interface_type:"},{"line_number":60,"context_line":"        cmd +\u003d [\u0027type\u003d%s\u0027 % interface_type]"},{"line_number":61,"context_line":"    if vhost_socket_path:"},{"line_number":62,"context_line":"        cmd +\u003d [\u0027options:vhost-server-path\u003d%s\u0027 % vhost_socket_path]"},{"line_number":63,"context_line":"    return cmd"},{"line_number":64,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"ba5da102_7224955f","line":61,"in_reply_to":"ba5da102_66323b12","updated":"2016-11-01 15:09:14.000000000","message":"no reason other then the fact that i am used to refering to it as the vhost-user socket path in emails or conversation so i can update it to match.","commit_id":"e54e4ba69105a787e6843155956466797fa90699"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"9e49987124ee2d499eea2167fbbe63314df9af8e","unresolved":false,"context_lines":[{"line_number":59,"context_line":"    if interface_type:"},{"line_number":60,"context_line":"        cmd +\u003d [\u0027type\u003d%s\u0027 % interface_type]"},{"line_number":61,"context_line":"    if vhost_socket_path:"},{"line_number":62,"context_line":"        cmd +\u003d [\u0027options:vhost-server-path\u003d%s\u0027 % vhost_socket_path]"},{"line_number":63,"context_line":"    return cmd"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"ba5da102_86358ff8","line":62,"updated":"2016-10-31 16:31:34.000000000","message":"I went to verify this is indeed the way to specify this option and found it buried in a netdev-dpdk mailing list patch:\n\n http://openvswitch.org/pipermail/dev/2016-August/078199.html\n\n:( Sad that this is the only way to find documentation on this stuff.\n\nAs alluded to in the comment above about the reno note, I\u0027d like to know what will happen here if the \"options:vhost-server-path\" option is not understood by the ovs-vsctl program. Just blowing up with an error seems less than user-friendly?","commit_id":"e54e4ba69105a787e6843155956466797fa90699"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"08cc870da9360b912709591bdd95785b834365a5","unresolved":false,"context_lines":[{"line_number":59,"context_line":"    if interface_type:"},{"line_number":60,"context_line":"        cmd +\u003d [\u0027type\u003d%s\u0027 % interface_type]"},{"line_number":61,"context_line":"    if vhost_socket_path:"},{"line_number":62,"context_line":"        cmd +\u003d [\u0027options:vhost-server-path\u003d%s\u0027 % vhost_socket_path]"},{"line_number":63,"context_line":"    return cmd"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"ba5da102_925a0929","line":62,"in_reply_to":"ba5da102_86358ff8","updated":"2016-11-01 15:09:14.000000000","message":"the options dictonary will ignore any value it does not understand so this line will not cause any errors with an older ovs.","commit_id":"e54e4ba69105a787e6843155956466797fa90699"}],"vif_plug_ovs/ovs.py":[{"author":{"_account_id":7730,"name":"Sahid Orentino Ferdjaoui","email":"sahid.ferdjaoui@industrialdiscipline.com","username":"sahid"},"change_message_id":"dcf3faba713d5e419eae35957c7534f1944c3d9e","unresolved":false,"context_lines":[{"line_number":92,"context_line":"        else:"},{"line_number":93,"context_line":"            args[\u0027interface_type\u0027] \u003d \\"},{"line_number":94,"context_line":"                constants.OVS_VHOSTUSER_CLIENT_INTERFACE_TYPE"},{"line_number":95,"context_line":"            args[\u0027vhost_socket_path\u0027] \u003d vif.path"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"        linux_net.create_ovs_vif_port("},{"line_number":98,"context_line":"            vif.network.bridge,"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa7ab95a_27d87c1d","line":95,"updated":"2016-08-31 12:32:54.000000000","message":"In this case we might want to ensure that a socket path has been passed to the vif object otherwise we might want to raise an exception like MissingVHostSocketPath()","commit_id":"e599a2e58a7af1572031cd71563b9cb20928e90f"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"30e55cfddde39692f5e93dc4a092345241bfb6cf","unresolved":false,"context_lines":[{"line_number":92,"context_line":"        else:"},{"line_number":93,"context_line":"            args[\u0027interface_type\u0027] \u003d \\"},{"line_number":94,"context_line":"                constants.OVS_VHOSTUSER_CLIENT_INTERFACE_TYPE"},{"line_number":95,"context_line":"            args[\u0027vhost_socket_path\u0027] \u003d vif.path"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"        linux_net.create_ovs_vif_port("},{"line_number":98,"context_line":"            vif.network.bridge,"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa7ab95a_6dcb451f","line":95,"in_reply_to":"fa7ab95a_27d87c1d","updated":"2016-09-01 08:17:00.000000000","message":"i can add a check but this should currentl be checked by nova before it constructs the os-vif vif object.\nthe socket path should always be pased by neutron to nova  when the vif types is vhost-user.","commit_id":"e599a2e58a7af1572031cd71563b9cb20928e90f"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"08cc870da9360b912709591bdd95785b834365a5","unresolved":false,"context_lines":[{"line_number":106,"context_line":"            args[\u0027interface_type\u0027] \u003d \\"},{"line_number":107,"context_line":"                constants.OVS_VHOSTUSER_INTERFACE_TYPE"},{"line_number":108,"context_line":"        else:"},{"line_number":109,"context_line":"            args[\u0027interface_type\u0027] \u003d \\"},{"line_number":110,"context_line":"                constants.OVS_VHOSTUSER_CLIENT_INTERFACE_TYPE"},{"line_number":111,"context_line":"            args[\u0027vhost_socket_path\u0027] \u003d vif.path"},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"        self._create_vif_port("},{"line_number":114,"context_line":"            vif, vif_name, instance_info, **args)"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba5da102_3214dd9e","line":111,"range":{"start_line":109,"start_character":10,"end_line":111,"end_character":48},"updated":"2016-11-01 15:09:14.000000000","message":"@jay\n\nthis section is the one to worry about with old ovs as it will result in you not having network connectivity for the vm as the interface type will not be recognized. \n\nif your ovs dose not support server mode and you enable it then you have a defective neutron ml2 driver.\n\ncurrently neutron is hardcoded to use client mode only in the ovs ml2 driver and in the ovn and odl ml2 drivers.\n\nin my patch to add server mode functionality in the ovs ml2 driver i am explictly checking that the interface type is supported to prevent this section from causeing issue with older ovs/dpdk versions.  i will do the same when i submit followup patches to networking-odl and networking-ovn.","commit_id":"e54e4ba69105a787e6843155956466797fa90699"}],"vif_plug_ovs/tests/test_plugin.py":[{"author":{"_account_id":7730,"name":"Sahid Orentino Ferdjaoui","email":"sahid.ferdjaoui@industrialdiscipline.com","username":"sahid"},"change_message_id":"dcf3faba713d5e419eae35957c7534f1944c3d9e","unresolved":false,"context_lines":[{"line_number":89,"context_line":"            address\u003d\u0027ca:fe:de:ad:be:ef\u0027,"},{"line_number":90,"context_line":"            network\u003dself.network_ovs,"},{"line_number":91,"context_line":"            path\u003d\u0027/var/run/openvswitch/vhub679325f-ca\u0027,"},{"line_number":92,"context_line":"            mode\u003d\u0027server\u0027,  # qemu server mode \u003c\u003d\u003e ovs client mode"},{"line_number":93,"context_line":"            port_profile\u003dself.profile_ovs)"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"        self.instance \u003d objects.instance_info.InstanceInfo("}],"source_content_type":"text/x-python","patch_set":1,"id":"fa7ab95a_d2715079","line":92,"updated":"2016-08-31 12:32:54.000000000","message":"From the patch I understood that dpdkvhostuser does not support client mode and dpdkvhostuserclient does not suppot server mode. I wondering if we can\u0027t have two distinct objects and so hard-codding the mode ?\n\n\nSomething like: \n\n  class VIFVHostUser(...):\n    VERSION \u003d \u00271.1\u0027\n     fiels \u003d {\n       path: ...,\n     }\n     mode \u003d VIFVHostUserMode.SERVER\n\n  class VIFVHostUserClient(...):\n    VERSION \u003d \u00271.0\u0027\n     fiels \u003d {\n       path: ...,\n     }\n     mode \u003d VIFVHostUserMode.CLIENT","commit_id":"e599a2e58a7af1572031cd71563b9cb20928e90f"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"30e55cfddde39692f5e93dc4a092345241bfb6cf","unresolved":false,"context_lines":[{"line_number":89,"context_line":"            address\u003d\u0027ca:fe:de:ad:be:ef\u0027,"},{"line_number":90,"context_line":"            network\u003dself.network_ovs,"},{"line_number":91,"context_line":"            path\u003d\u0027/var/run/openvswitch/vhub679325f-ca\u0027,"},{"line_number":92,"context_line":"            mode\u003d\u0027server\u0027,  # qemu server mode \u003c\u003d\u003e ovs client mode"},{"line_number":93,"context_line":"            port_profile\u003dself.profile_ovs)"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"        self.instance \u003d objects.instance_info.InstanceInfo("}],"source_content_type":"text/x-python","patch_set":1,"id":"fa7ab95a_f8e39503","line":92,"in_reply_to":"fa7ab95a_d2715079","updated":"2016-09-01 08:17:00.000000000","message":"well this is really an impmentation detail of vhost-user support in ovs and is not generic. \n\ncurrently on master ovs with out the patch this depend on there is no dpdkvhostuserclint interface type. there is just a dpdkvhostuser interface type that supports both client and server mode.\n\nto allow remote detection for vhost-user servermode/reconnect support the functionality is being split but i dont think we should not treat these as different vif type object due to an implementation constrating of ovs.\n\nif we were split these out the correct values would be \n\n  class VIFVHostUser(...):\n    VERSION \u003d \u00271.1\u0027\n     fiels \u003d {\n       path: ...,\n     }\n     mode \u003d VIFVHostUserMode.CLIENT\n\n  class VIFVHostUserClient(...):\n    VERSION \u003d \u00271.2\u0027\n     fiels \u003d {\n       path: ...,\n     }\n     mode \u003d VIFVHostUserMode.SERVER\n\n\nthe mode from a os-vif point of view is the qemu frontend mode\nthe mode form an ovs point of view is the backend mode which has the opposite meaning. e.g. qemu server \u003d dpdk client.","commit_id":"e599a2e58a7af1572031cd71563b9cb20928e90f"}]}
