[OVSDB-334] unable to connect ovs to plugin Created: 21/Apr/16  Updated: 27/May/16  Resolved: 27/May/16

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

Type: Bug
Reporter: Jamo Luhrsen Assignee: Anil Vishnoi
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: Text File 5769.karaf.log     File 5769_repro.karaf.log.tar.xz     File ovsdbConnIsEstablishing.pcap     File ovsdbConnNotEstablishing.pcap    
External issue ID: 5769

 Description   

after briefly running some upstream CSIT system test suites in a local environment, it's noticed that we cannot make a basic ovsdb connection
from ovs node to controller (e.g. "ovs-vsctl set-manager")

with TRACE level debugging on org.opendaylight.org.lib these are the
only logs we see when ovs tries to connect:

2016-04-20 23:59:03,767 | INFO | entLoopGroup-4-1 | LoggingHandler | 127 - io.netty.common - 4.0.36.Final | [id: 0x57ee0ca6, L:/0:0:0:0:0:0:0:0:6640] RECEIVED: [id: 0xd237f166, L:/172.18.182.15:6640 - R:/172.18.182.7:49829]
2016-04-20 23:59:03,777 | DEBUG | entLoopGroup-5-6 | OvsdbConnectionService | 173 - org.opendaylight.ovsdb.library - 1.3.0.SNAPSHOT | New Passive channel created : [id: 0xd237f166, L:/172.18.182.15:6640 - R:/172.18.182.7:49829]
2016-04-20 23:59:08,771 | TRACE | entLoopGroup-5-6 | JsonRpcDecoder | 173 - org.opendaylight.ovsdb.library - 1.3.0.SNAPSHOT | readable bytes 41, records read 0, incomplete record bytes 0

attached is the karaf.log which will have logs that came while things were
ok and system tests were passing. Also attached are two packet captures
showing traces when this problem is happening, as well as when things are
ok (just for reference)



 Comments   
Comment by Jamo Luhrsen [ 21/Apr/16 ]

Attachment 5769.karaf.log has been added with description: karaf log

Comment by Jamo Luhrsen [ 21/Apr/16 ]

Attachment ovsdbConnIsEstablishing.pcap has been added with description: successful connection packet capture

Comment by Jamo Luhrsen [ 21/Apr/16 ]

Attachment ovsdbConnNotEstablishing.pcap has been added with description: unsuccessful connection packet capture

Comment by Jamo Luhrsen [ 21/Apr/16 ]

these are the logs after recreating from scratch.

1 start karaf
2 load odl-ovsdb-southbound-impl-rest
3 enable TRACE debugs on org.opendaylight.ovsdb.lib
4 manually connect ovs and verify it's in operational
5 run robot suites
6 manually try to connect ovs (this does not work)

after step 4 you will find a log message:

"JAMO JUST CONNECTED AND DISCONNECTED NODE. NOW RUNNING ROBOT SUITES"

after step 5 you find this message:

"JAMO JUST SAW ROBOT SUITES FINISH"

Comment by Jamo Luhrsen [ 21/Apr/16 ]

Attachment 5769_repro.karaf.log.tar.xz has been added with description: karaf logs

Comment by Anil Vishnoi [ 27/May/16 ]

master : https://git.opendaylight.org/gerrit/#/c/39504/
stable/beryllium : https://git.opendaylight.org/gerrit/#/c/39505/1

Thanks Jamo, for the excellent debugging to nail this issue

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