[NETVIRT-175] "BgpManager not started" error when trying to configure Bgp peer Created: 28/Sep/16  Updated: 19/Oct/17  Resolved: 06/Dec/16

Status: Resolved
Project: netvirt
Component/s: General
Affects Version/s: Carbon
Fix Version/s: None

Type: Bug
Reporter: Alvaro Gonzalez 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


External issue ID: 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" : [

{ "as-number" : 65000, "prefix-list" : "10.85.106.69" }

]
}

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]



 Comments   
Comment by Sam Hague [ 06/Dec/16 ]

https://git.opendaylight.org/gerrit/46278

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