nova-compute will try to re-plug the vif even if it exists for vhostuser port.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
os-vif |
Fix Committed
|
High
|
Sahid Orentino | ||
Pike |
Fix Committed
|
High
|
Matt Riedemann | ||
Queens |
Fix Committed
|
High
|
Sahid Orentino |
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-
2. #systemctl restart openstack-
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-
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:/
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?
Changed in nova: | |
assignee: | nobody → wangyalei (yalei) |
summary: |
- nova-compute will try to re-plug the vif even if it exists + nova-compute will try to re-plug the vif even if it exists for vhostuser + port. |
description: | updated |
description: | updated |
Changed in nova: | |
status: | New → In Progress |
Changed in nova: | |
status: | Opinion → Confirmed |
importance: | Undecided → High |
no longer affects: | nova |
Changed in os-vif: | |
status: | New → Fix Committed |
importance: | Undecided → High |
assignee: | nobody → sahid (sahid-ferdjaoui) |
Automatically discovered version mitaka in description. If this is incorrect, please update the description to include 'nova version: ...'