[OVSDB-392] some times hwvtep operational topology datastore is missing upon switch reboots Created: 10/Jan/17  Updated: 30/Oct/17  Resolved: 11/Mar/17

Status: Resolved
Project: ovsdb
Component/s: Southbound.hw_vtep
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: suneel verma Assignee: suneel verma
Resolution: Won't Do 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: 7509

 Description   

The following error is observed in the logs
2016-09-04 13:12:45,696 | ERROR | assiveConnServ-1 | StalePassiveConnectionService | 272 - org.opendaylight.ovsdb.library - 1.3.0.SNAPSHOT | Error in checking stale connections)
java.util.concurrent.CancellationException: Task was cancelled.
at com.google.common.util.concurrent.AbstractFuture.cancellationExceptionWithCause(AbstractFuture.java:392)[65:com.google.guava:18.0.0]
at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:306)[65:com.google.guava:18.0.0]
at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:286)[65:com.google.guava:18.0.0]
at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116)[65:com.google.guava:18.0.0]
at com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:137)[65:com.google.guava:18.0.0]
at com.google.common.util.concurrent.Futures$6.run(Futures.java:1308)[65:com.google.guava:18.0.0]
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)[65:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)[65:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:145)[65:com.google.guava:18.0.0]
at com.google.common.util.concurrent.AbstractFuture.cancel(AbstractFuture.java:134)[65:com.google.guava:18.0.0]
at org.opendaylight.ovsdb.lib.impl.StalePassiveConnectionService$1.run(StalePassiveConnectionService.java:69)[272:org.opendaylight.ovsdb.library:1.3.0.SNAPSHOT]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_91]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_91]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_91]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_91]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_91]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_91]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_91]
Caused by: java.util.concurrent.CancellationException: Future.cancel() was called.
at com.google.common.util.concurrent.AbstractFuture$Sync.complete(AbstractFuture.java:378)[65:com.google.guava:18.0.0]
at com.google.common.util.concurrent.AbstractFuture$Sync.cancel(AbstractFuture.java:355)[65:com.google.guava:18.0.0]
at com.google.common.util.concurrent.AbstractFuture.cancel(AbstractFuture.java:131)[65:com.google.guava:18.0.0]
... 8 more



 Comments   
Comment by Vishal Thapar [ 23/Jan/17 ]

Can you add some more details on how to reproduce, frequency of reproducing etc.?

Comment by Anil Vishnoi [ 02/Feb/17 ]

Hi Suneel,

Any update on this bug ? Can you please provide the details vishal asked.

Comment by Anil Vishnoi [ 22/Feb/17 ]

Suneel, Any update on this bug ?

Comment by Anil Vishnoi [ 11/Mar/17 ]

There is no update on this bug for around two months. As of now i am closing this bug, please re-open if you face the issue again and provide all the required logs.

Comment by suneel verma [ 11/Mar/17 ]

One more exception was added to the list which is preventing this operational topology from filling.
This is happening upon controller reboot scenarios.
This particular is seen with other bundles also upon controller start
https://lists.opendaylight.org/pipermail/release/2016-August/008036.html

11940 org.apache.aries.proxy.UnableToProxyException: java.lang.ClassFormatError: Duplicate interface name in class file Proxy10c0bace_02be_4d24_9999_78ebaf478792
11941 at org.apache.aries.proxy.impl.interfaces.ProxyClassLoader.createProxyClass(ProxyClassLoader.java:165)
11942 at org.apache.aries.proxy.impl.interfaces.InterfaceProxyGenerator.getProxyInstance(InterfaceProxyGenerator.java:97)[12:org.apache.aries.proxy.impl:1.0.5]
11943 at org.apache.aries.proxy.impl.AsmProxyManager.createNewProxy(AsmProxyManager.java:80)[12:org.apache.aries.proxy.impl:1.0.5]
11944 at org.apache.aries.proxy.impl.AbstractProxyManager.createDelegatingInterceptingProxy(AbstractProxyManager.java:75)[12:org.apache.aries.proxy.impl:1.0.5]
11945 at org.apache.aries.proxy.impl.AbstractProxyManager.createInterceptingProxy(AbstractProxyManager.java:53)[12:org.apache.aries.proxy.impl:1.0.5]
11946 at org.apache.aries.blueprint.container.ServiceRecipe$TriggerServiceFactory.getService(ServiceRecipe.java:569)[15:org.apache.aries.blueprint.core:1.6.1]
11947 at org.eclipse.osgi.internal.serviceregistry.ServiceUse$1.run(ServiceUse.java:141)[org.eclipse.osgi-3.8.2.v20130124-134944.jar:]
11948 at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_73]
11949 at org.eclipse.osgi.internal.serviceregistry.ServiceUse.getService(ServiceUse.java:139)[org.eclipse.osgi-3.8.2.v20130124-134944.jar:]
11950 at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:468)[org.eclipse.osgi-3.8.2.v20130124-134944.jar:]
11951 at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.getService(ServiceRegistry.java:467)[org.eclipse.osgi-3.8.2.v20130124-134944.jar:]
11952 at org.eclipse.osgi.framework.internal.core.BundleContextImpl.getService(BundleContextImpl.java:594)[org.eclipse.osgi-3.8.2.v20130124-134944.jar:]
11953 at org.apache.aries.blueprint.container.AbstractServiceReferenceRecipe.getServiceSecurely(AbstractServiceReferenceRecipe.java:235)[15:org.apache.aries.blueprint.core:1.6.1]
11954 at org.apache.aries.blueprint.container.ReferenceRecipe.getService(ReferenceRecipe.java:246)[15:org.apache.aries.blueprint.core:1.6.1]
11955 at org.apache.aries.blueprint.container.ReferenceRecipe.access$000(ReferenceRecipe.java:56)[15:org.apache.aries.blueprint.core:1.6.1]
11956 at org.apache.aries.blueprint.container.ReferenceRecipe$ServiceDispatcher.call(ReferenceRecipe.java:306)[15:org.apache.aries.blueprint.core:1.6.1]
11957 at Proxy4d903561_a475_4024_b7c1_e39d496965ee.toYangInstanceIdentifier(Unknown Source)[:]
11958 at org.opendaylight.ovsdb.hwvtepsouthbound.InstanceIdentifierCodec.getYangInstanceIdentifier(InstanceIdentifierCodec.java:65)[255:org.opendaylight.ovsdb.hwvtepsouthbound-impl:1.3.3.SNAPSHOT]
11959 at org.opendaylight.ovsdb.hwvtepsouthbound.HwvtepConnectionManager.getEntityFromConnectionInstance(HwvtepConnectionManager.java:406)[255:org.opendaylight.ovsdb.hwvtepsouthbound-impl:1.3.3.SNAPSHOT]
11960 at org.opendaylight.ovsdb.hwvtepsouthbound.HwvtepConnectionManager.registerEntityForOwnership(HwvtepConnectionManager.java:323)[255:org.opendaylight.ovsdb.hwvtepsouthbound-impl:1.3.3.SNAPSHOT]
11961 at org.opendaylight.ovsdb.hwvtepsouthbound.HwvtepConnectionManager.connected(HwvtepConnectionManager.java:122)[255:org.opendaylight.ovsdb.hwvtepsouthbound-impl:1.3.3.SNAPSHOT]

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