[OVSDB-134] Too large configuration file from OVS Created: 05/Dec/14  Updated: 19/Oct/17  Resolved: 23/Feb/17

Status: Resolved
Project: ovsdb
Component/s: Library
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Christopher O'Shea Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Duplicate
is duplicated by OVSDB-140 When large JSON responses are receive... Resolved
External issue ID: 2487

 Description   

https://ask.opendaylight.org/question/1482/ovsdb-exception-when-using-more-than-12-bridges/

When you have a large configuration file from OVS, OpenDaylight can't decode and will error out.

https://git.opendaylight.org/gerrit/gitweb?p=ovsdb.git;a=blob;f=library/src/main/java/org/opendaylight/ovsdb/lib/impl/OvsdbConnectionService.java#l113
Quick work around is to change the Buffer from 100000 to 1000000



 Comments   
Comment by Christopher O'Shea [ 06/Dec/14 ]

To re-create the issue i ran the following commands.

sudo ovs-vsctl set-manager tcp:10.125.136.38:6640
sudo mn --controller=remote,ip=10.125.136.38 --topo tree,5 --switch ovsk,protocols=OpenFlow13

2014-12-05 16:15:20,063 | INFO | entLoopGroup-5-1 | LoggingHandler | 122 - io.netty.common - 4.0.23.Final | [id: 0x1f5a5900, /0:0:0:0:0:0:0:0:6640] RECEIVED: [id: 0xef7c6d88, /10.125.136.40:42648 => /10.125.136.38:6640]
2014-12-05 16:15:20,094 | INFO | Thread-1024 | ConnectionServiceImpl | 285 - org.opendaylight.ovsdb.plugin - 1.1.0.SNAPSHOT | Initialize inventory for org.opendaylight.ovsdb.plugin.api.Connection@c8e8d360
2014-12-05 16:15:20,094 | INFO | Thread-1024 | ConnectionServiceImpl | 285 - org.opendaylight.ovsdb.plugin - 1.1.0.SNAPSHOT | Add node to ovsdb inventory service OVS|10.125.136.40:42648
2014-12-05 16:15:20,120 | INFO | entLoopGroup-6-9 | OvsdbConnectionService | 282 - org.opendaylight.ovsdb.library - 1.1.0.SNAPSHOT | Connection closed ConnectionInfo [Remote-address=10.125.136.40, Remote-port=42648, Local-address10.125.136.38, Local-port=6640, type=PASSIVE]
2014-12-05 16:15:28,122 | INFO | entLoopGroup-5-1 | LoggingHandler | 122 - io.netty.common - 4.0.23.Final | [id: 0x1f5a5900, /0:0:0:0:0:0:0:0:6640] RECEIVED: [id: 0xde6d794f, /10.125.136.40:42649 => /10.125.136.38:6640]
2014-12-05 16:15:28,154 | INFO | Thread-1073 | ConnectionServiceImpl | 285 - org.opendaylight.ovsdb.plugin - 1.1.0.SNAPSHOT | Initialize inventory for org.opendaylight.ovsdb.plugin.api.Connection@c8e8d361
2014-12-05 16:15:28,154 | INFO | Thread-1073 | ConnectionServiceImpl | 285 - org.opendaylight.ovsdb.plugin - 1.1.0.SNAPSHOT | Add node to ovsdb inventory service OVS|10.125.136.40:42649
2014-12-05 16:15:28,181 | INFO | ntLoopGroup-6-10 | OvsdbConnectionService | 282 - org.opendaylight.ovsdb.library - 1.1.0.SNAPSHOT | Connection closed ConnectionInfo [Remote-address=10.125.136.40, Remote-port=42649, Local-address10.125.136.38, Local-port=6640, type=PASSIVE]
2014-12-05 16:15:36,185 | INFO | entLoopGroup-5-1 | LoggingHandler | 122 - io.netty.common - 4.0.23.Final | [id: 0x1f5a5900, /0:0:0:0:0:0:0:0:6640] RECEIVED: [id: 0x966d6508, /10.125.136.40:42650 => /10.125.136.38:6640]
2014-12-05 16:15:36,215 | INFO | Thread-1130 | ConnectionServiceImpl | 285 - org.opendaylight.ovsdb.plugin - 1.1.0.SNAPSHOT | Initialize inventory for org.opendaylight.ovsdb.plugin.api.Connection@c8e8d377
2014-12-05 16:15:36,216 | INFO | Thread-1130 | ConnectionServiceImpl | 285 - org.opendaylight.ovsdb.plugin - 1.1.0.SNAPSHOT | Add node to ovsdb inventory service OVS|10.125.136.40:42650
2014-12-05 16:15:36,244 | INFO | ntLoopGroup-6-11 | OvsdbConnectionService | 282 - org.opendaylight.ovsdb.library - 1.1.0.SNAPSHOT | Connection closed ConnectionInfo [Remote-address=10.125.136.40, Remote-port=42650, Local-address10.125.136.38, Local-port=6640, type=PASSIVE]

Comment by Anil Vishnoi [ 22/Feb/17 ]

carbon : https://git.opendaylight.org/gerrit/52133

Comment by Anil Vishnoi [ 22/Feb/17 ]

stable/boron : https://git.opendaylight.org/gerrit/52149

Generated at Wed Feb 07 20:35:35 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.