** Also affects: os-vif Importance: Undecided Status: New ** No longer affects: nova
** Changed in: os-vif Status: New => Fix Committed ** Changed in: os-vif Importance: Undecided => High ** Changed in: os-vif Assignee: (unassigned) => sahid (sahid-ferdjaoui) ** Also affects: os-vif/pike Importance: Undecided Status: New ** Also affects: os-vif/queens Importance: Undecided Status: New ** Changed in: os-vif/pike Status: New => In Progress ** Changed in: os-vif/queens Status: New => In Progress ** Changed in: os-vif/pike Importance: Undecided => High ** Changed in: os-vif/queens Importance: Undecided => High ** Changed in: os-vif/pike Assignee: (unassigned) => sahid (sahid-ferdjaoui) ** Changed in: os-vif/queens Assignee: (unassigned) => sahid (sahid-ferdjaoui) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1670628 Title: nova-compute will try to re-plug the vif even if it exists for vhostuser port. Status in os-vif: Fix Committed Status in os-vif pike series: In Progress Status in os-vif queens series: In Progress Bug description: Description =========== In mitaka version, deploy neutron with ovs-dpdk. If we stop ovs-agent, then re-start the nova-compute,the vm in the host will get network connection failed. Steps to reproduce ================== deploy mitaka. with neutron, enabled ovs-dpdk, choose one compute node, where vm has network connection. run this in host, 1. #systemctl stop neutron-openvswitch-agent.service 2. #systemctl restart openstack-nova-compute.service then ping $VM_IN_THIS_HOST Expected result =============== ping $VM_IN_THIS_HOST would would success Actual result ============= ping $VM_IN_THIS_HOST failed. Environment =========== Centos7 ovs2.5.1 dpdk 2.2.0 openstack-nova-compute-13.1.1-1 Reason: after some digging, I found that nova-compute will try to plug the vif every time when it booting. Specially for vhostuser port, nova-compute will not check whether it exists as legacy ovs,and it will re-plug the port with vsctl args like "--if-exists del-port vhuxxxx". (refer https://github.com/openstack/nova/blob/stable/mitaka/nova/virt/libvirt/vif.py#L679-L683) after recreate the ovs vhostuser port, it will not get the right vlan tag which set from ovs agent. In the test environment, after restart the ovs agent, the agent will set a proper vlan id for the port. and the network connection will be resumed. Not sure it's a bug or config issue, do I miss something? there is also fp_plug type for vhostuser port, how could we specify it? To manage notifications about this bug go to: https://bugs.launchpad.net/os-vif/+bug/1670628/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp