[NETVIRT-49] bgp default error logs on startup Created: 06/Aug/16  Updated: 05/Apr/18  Resolved: 05/Apr/18

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

Type: Bug Priority: Medium
Reporter: Sam Hague Assignee: Siva Kumar Perumalla VVKA
Resolution: Done Votes: 0
Labels: ds
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Duplicate
is duplicated by NETVIRT-62 BGP errors in log when only using odl... Resolved
Relates
relates to NETVIRT-988 IO Exception got while activating mip... Resolved
External issue ID: 6349

 Description   

The below error logs comes up on a simple features:install odl-netvirt-openstack. These should not be there.

2016-08-05 21:25:46,032 | INFO | config-pusher | BgpConfigurationManager | 335 - org.opendaylight.netvirt.bgpmanager-impl - 0.3.0.SNAPSHOT | UpdateServer at localhost:6644 ConfigServer at 127.0.0.1:7644
2016-08-05 21:25:46,047 | ERROR | Thread-124 | BgpThriftService | 335 - org.opendaylight.netvirt.bgpmanager-impl - 0.3.0.SNAPSHOT | Bgp thrift server pre serve event
2016-08-05 21:25:46,061 | INFO | config-pusher | BgpConfigurationManager | 335 - org.opendaylight.netvirt.bgpmanager-impl - 0.3.0.SNAPSHOT | BGP Configuration manager initialized
2016-08-05 21:25:46,063 | INFO | config-pusher | ResourceBatchingManager | 301 - org.opendaylight.genius.mdsalutil-api - 0.1.0.SNAPSHOT | Registered resourceType BGP-RESOURCES with batchSize 1000 and batchInterval 500
2016-08-05 21:25:46,065 | INFO | config-pusher | EntityOwnerUtils | 301 - org.opendaylight.genius.mdsalutil-api - 0.1.0.SNAPSHOT | registering for entity ownership for type bgp
2016-08-05 21:25:46,065 | INFO | config-pusher | EntityOwnerUtils | 301 - org.opendaylight.genius.mdsalutil-api - 0.1.0.SNAPSHOT | registered for entity ownership for type bgp
2016-08-05 21:25:46,066 | INFO | config-pusher | BgpManager | 335 - org.opendaylight.netvirt.bgpmanager-impl - 0.3.0.SNAPSHOT | BgpManager started
2016-08-05 21:25:46,068 | INFO | lt-dispatcher-26 | EntityOwnerUtils | 301 - org.opendaylight.genius.mdsalutil-api - 0.1.0.SNAPSHOT | entity ownership changed for bgp
2016-08-05 21:25:46,068 | INFO | lt-dispatcher-26 | EntityOwnerUtils | 301 - org.opendaylight.genius.mdsalutil-api - 0.1.0.SNAPSHOT | entity ownership lost ownership for type bgp
2016-08-05 21:25:46,070 | ERROR | ult-dispatcher-3 | BgpConfigurationManager | 335 - org.opendaylight.netvirt.bgpmanager-impl - 0.3.0.SNAPSHOT | Not owner: hasOwner: false, isOwner: false
2016-08-05 21:25:46,072 | INFO | lt-dispatcher-26 | EntityOwnerUtils | 301 - org.opendaylight.genius.mdsalutil-api - 0.1.0.SNAPSHOT | entity ownership changed for bgp
2016-08-05 21:25:46,073 | INFO | lt-dispatcher-26 | EntityOwnerUtils | 301 - org.opendaylight.genius.mdsalutil-api - 0.1.0.SNAPSHOT | entity ownership change became owner for type bgp
2016-08-05 21:25:46,075 | INFO | rint Extender: 2 | BlueprintContainerImpl | 15 - org.apache.aries.blueprint.core - 1.4.4 | Bundle org.opendaylight.netvirt.statemanager-impl/0.3.0.SNAPSHOT is waiting for dependencies [(objectClass=org.opendaylight.netvirt.vpnmanager.api.IVpnManager), (objectClass=org.opendaylight.netvirt.neutronvpn.interfaces.INeutronVpnManager), (objectClass=org.opendaylight.netvirt.fibmanager.api.IFibManager), (objectClass=org.opendaylight.netvirt.elanmanager.api.IElanService)]
2016-08-05 21:25:46,076 | ERROR | pool-56-thread-1 | BgpConfigurationManager | 335 - org.opendaylight.netvirt.bgpmanager-impl - 0.3.0.SNAPSHOT | running bgp replay task
2016-08-05 21:25:46,077 | INFO | pool-56-thread-1 | BgpConfigurationManager | 335 - org.opendaylight.netvirt.bgpmanager-impl - 0.3.0.SNAPSHOT | connecting to bgp host 127.0.0.1
2016-08-05 21:25:46,079 | ERROR | pool-56-thread-1 | BgpRouter | 335 - org.opendaylight.netvirt.bgpmanager-impl - 0.3.0.SNAPSHOT | Failed connecting to BGP config server at 127.0.0.1:7644; Exception: org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused
2016-08-05 21:25:46,079 | ERROR | pool-56-thread-1 | BgpConfigurationManager | 335 - org.opendaylight.netvirt.bgpmanager-impl - 0.3.0.SNAPSHOT | no config to push in bgp replay task
2016-08-05 21:25:46,087 | INFO | config-pusher | ConfigPusherImpl | 140 - org.opendaylight.controller.config-persister-impl - 0.5.0.SNAPSHOT | Successfully pushed configuration snapshot bgpmanager-impl-default-config.xml(odl-netvirt-openstack,odl-netvirt-openstack)



 Comments   
Comment by Sam Hague [ 20/Jul/17 ]

Reopening as their are still exceptions and warnings coming out.

Can we move the log severity from error to info since there are cases where quagga or bgp is not used so these shouldn't be errors.

Comment by Sam Hague [ 28/Aug/17 ]

Couple patches that have helped in this area to reduce the logging when quagga is not in use. Leaving this bug open as we need a config to disable processing in bgpmanager when quagga is not used.

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

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

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