Uploaded image for project: 'netvirt'
  1. netvirt
  2. NETVIRT-175

"BgpManager not started" error when trying to configure Bgp peer

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • Carbon
    • None
    • General
    • 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" : [

      { "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]

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            alvaro.gonzalez.arroyo@ericsson.com Alvaro Gonzalez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: