[OVSDB-450] Deleting a bridge in OVS deletes the ProtocolEntry for all bridges Created: 09/Feb/18 Updated: 01/May/19 |
|
| Status: | Open |
| Project: | ovsdb |
| Component/s: | Southbound.Open_vSwitch |
| Affects Version/s: | Oxygen-SR1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | High |
| Reporter: | Thomas Ferrandiz | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | openflow, ovsdb | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
OS: Linux 4.2.0-34-generic #39~14.04.1-Ubuntu SMP Fri Mar 11 11:38:02 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux Open vSwitch: 2.8.1 Opendaylight: Carbon-SR2 |
||
| Attachments: |
|
| Description |
|
Hello, I found a bug when using ODL to manage multiple bridges on a single OVS. The problem is as follows:
The following line appears in the log: 2018-02-09 17:41:42,787 | INFO | on-dispatcher-61 | ProtocolRemovedCommand | 345 - org.opendaylight.ovsdb.southbound-impl - 1.4.2.Carbon | Removed ProtocolEntry : OpenFlow13 for OVSDB Bridge : null instead of something like 2018-02-09 17:41:42,787 | INFO | on-dispatcher-61 | ProtocolRemovedCommand | 345 - org.opendaylight.ovsdb.southbound-impl - 1.4.2.Carbon | Removed ProtocolEntry : OpenFlow13 for OVSDB Bridge : br2
When checking the ovsdb topology through the REST API, it appears that the ProtocolEntry has been removed for br1 as well
It is possible to get back the connectivity using ovs-vsctl set bridge br1 protocols=OpenFlow13 but that requires manual action on the OVS.
Do not hesitate to contact me if more info is required. Thanks Thomas
|
| Comments |
| Comment by Vishal Thapar [ 23/May/18 ] |
|
Can you confirm if it works on Nitrogen or latest Master. Could you also share the REST URI and JSON used to delete the bridge? |
| Comment by Thomas Ferrandiz [ 06/Jun/18 ] |
|
I tested with Oxygen SR1, the bug is still present. The REST URI and JSON used to create the bridges, then delete one of them are provided in the attached file odl_ovsdb_bug_report.sh
|