Remove and recreate interfacein ovs if already exists
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Aaron Rosen | ||
Havana |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
If the dhcp-agent machine restarts and openvswitch logs the following
warning message for all tap interfaces that have not been recreated yet:
bridge|WARN|could not open network device tap2cf7dbad-9d (No such device)
Once the dhcp-agent starts he recreates the interfaces and readds them to the
ovs-bridge. Unfortinately, ovs does not reinitalize the interface as its
already in ovsdb and does not assign it an ofport number.
In order to correct this we should first remove interfaces that exist and
then readd them.
root@arosen-
# ofport still -1
root@arosen-
name : "fake1"
ofport : -1
ofport_request : []
root@arosen-
root@arosen-
fake1 Link encap:Ethernet HWaddr 56:c3:a1:2b:1f:f4
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
root@arosen-
name : "fake1"
ofport : -1
ofport_request : []
root@arosen-
root@arosen-
name : "fake1"
ofport : -1
ofport_request : []
Changed in neutron: | |
assignee: | nobody → Aaron Rosen (arosen) |
importance: | Undecided → High |
tags: | added: havana-backport-potential |
tags: | removed: havana-backport-potential |
Changed in neutron: | |
milestone: | none → icehouse-3 |
Changed in neutron: | |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | icehouse-3 → 2014.1 |
Fix proposed to branch: master /review. openstack. org/66451
Review: https:/