Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
Carbon
-
None
-
None
-
Operating System: All
Platform: All
-
6825
Description
When I run any bgp command in karaf CLI, I get the following response:
opendaylight-user@root>bgp-connect --host 192.168.0.225 --port 7644 add
error: cannot run command, BgpManager not started
I’ve seen that Bgpmanager bundle is active:
opendaylight-user@root>bundle:list | grep bgp
324 | Active | 80 | 2013.07.15.9-SNAPSHOT | model-bgp
347 | Active | 80 | 0.3.0.SNAPSHOT | bgpmanager-api
348 | Active | 80 | 0.3.0.SNAPSHOT | bgpmanager-impl
I tried the following operation with RESTCONF API and it was successful:
POST /config/bgp:bgp-neighbors/
{
"bgp-neighbor" : [
]
}
But still I cannot connect the controller to its BGP peer, which I'm used to do via command (bgp-connect --host 192.168.0.225 --port 7644 add). Still the same error BgpManager not started.
I can see the following exception in karaf.log. Not sure if it could be related:
2016-09-27 17:26:47,397 | ERROR | pool-47-thread-1 | BgpConfigurationManager | 348 - org.opendaylight.netvirt.bgpmanager-impl - 0.3.0.SNAPSHOT | Stale Cleanup Task Cancelled java.lang.InterruptedException: sleep interrupted
at java.lang.Thread.sleep(Native Method)[:1.8.0_101] at org.opendaylight.netvirt.bgpmanager.BgpConfigurationManager$3.run(BgpConfigurationManager.java:1413)[348:org.opendaylight.netvirt.bgpmanager-impl:0.3.0.SNAPSHOT]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_101]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_101]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_101]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_101]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_101]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_101]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_101]