[NETVIRT-1308] ODL cannot establish connection to zrpcd for BGP Created: 12/Jun/18  Updated: 27/Nov/19

Status: Open
Project: netvirt
Component/s: bgpmanager
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: High
Reporter: Dimitrios Markou Assignee: Srinivas Rachakonda
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

When I am executing the command [0] from the entity owner of BGP then the connection to the zrpcd is succesfull.

But when I am executing this command [1] from the entity owner then the connection is not succesful. and I get this error in the logs [2]  

 

[0]: bgp-connect -p 7644 -h 192.0.2.4 add (192.0.2.4 is the ip of the host where the entity owner runs)

[1]: bgp-connect -p 7644 -h 192.0.2.7 add (192.0.2.7 is the ip of a different host where is located a zrpcd service too and an ODL which is not the entity owner of the bgp component  )

 

[2] org.apache.thrift.transport.TTransportException: java.net.SocketTimeoutException: connect timed out
at org.apache.thrift.transport.TSocket.open(TSocket.java:185)[131:org.apache.thrift:0.9.1]
at org.opendaylight.netvirt.bgpmanager.thrift.client.BgpRouter.connect(BgpRouter.java:174)[315:org.opendaylight.netvirt.bgpmanager-impl:0.5.3]
at org.opendaylight.netvirt.bgpmanager.BgpConfigurationManager$ConfigServerReactor.add(BgpConfigurationManager.java:416)[315:org.opendaylight.netvirt.bgpmanager-impl:0.5.3]
at org.opendaylight.netvirt.bgpmanager.BgpConfigurationManager$ConfigServerReactor.add(BgpConfigurationManager.java:392)[315:org.opendaylight.netvirt.bgpmanager-impl:0.5.3]
at org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase$DataTreeChangeHandler.run(AsyncDataTreeChangeListenerBase.java:162)[256:org.opendaylight.genius.mdsalutil-api:0.3.3]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_171]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_171]
at java.lang.Thread.run(Thread.java:748)[:1.8.0_171]
Caused by: java.net.SocketTimeoutException: connect timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)[:1.8.0_171]
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)[:1.8.0_171]
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)[:1.8.0_171]
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)[:1.8.0_171]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)[:1.8.0_171]
at java.net.Socket.connect(Socket.java:589)[:1.8.0_171]
at org.apache.thrift.transport.TSocket.open(TSocket.java:180)[131:org.apache.thrift:0.9.1]
... 7 more



 Comments   
Comment by Abhinav Gupta [ 27/Nov/19 ]

Srini, this may give clue on BGP issues..
hence assigning to you..we can reassign later to dev team once you're done

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