Not able to add netconf node

asked 2017-09-21 04:26:14 -0700

yogesh gravatar image

Hi,

I am trying to add netconf node through yang UI but getting following error: ERROR | CommitFutures-14 | NetconfTopologyRPCProvider | 299 - org.opendaylight.netconf.sal-netconf-connector - 1.5.2.SNAPSHOT | add-netconf-node RPC: Unable to add netconf node. TransactionCommitFailedException{message=canCommit encountered an unexpected failure, errorList=[RpcError [message=canCommit encountered an unexpected failure, severity=ERROR, errorType=APPLICATION, tag=operation-failed, applicationTag=null, info=null, cause=org.opendaylight.controller.cluster.datastore.exceptions.NotInitializedException: Found primary shard member-1-shard-topology-config but it's not initialized yet. Please try again later]]}

Full error strace:

ERROR | CommitFutures-14 | NetconfTopologyRPCProvider | 299 - org.opendaylight.netconf.sal-netconf-connector - 1.5.2.SNAPSHOT | add-netconf-node RPC: Unable to add netconf node. TransactionCommitFailedException{message=canCommit encountered an unexpected failure, errorList=[RpcError [message=canCommit encountered an unexpected failure, severity=ERROR, errorType=APPLICATION, tag=operation-failed, applicationTag=null, info=null, cause=org.opendaylight.controller.cluster.datastore.exceptions.NotInitializedException: Found primary shard member-1-shard-topology-config but it's not initialized yet. Please try again later]]} at org.opendaylight.controller.md.sal.dom.broker.impl.TransactionCommitFailedExceptionMapper.newWithCause(TransactionCommitFailedExceptionMapper.java:37)[167:org.opendaylight.controller.sal-broker-impl:1.5.2.SNAPSHOT] at org.opendaylight.controller.md.sal.dom.broker.impl.TransactionCommitFailedExceptionMapper.newWithCause(TransactionCommitFailedExceptionMapper.java:18)[167:org.opendaylight.controller.sal-broker-impl:1.5.2.SNAPSHOT] at org.opendaylight.yangtools.util.concurrent.ExceptionMapper.apply(ExceptionMapper.java:102)[69:org.opendaylight.yangtools.util:1.1.2.SNAPSHOT] at org.opendaylight.controller.cluster.databroker.ConcurrentDOMDataBroker.handleException(ConcurrentDOMDataBroker.java:231)[207:org.opendaylight.controller.sal-distributed-datastore:1.5.2.SNAPSHOT] at org.opendaylight.controller.cluster.databroker.ConcurrentDOMDataBroker.access$000(ConcurrentDOMDataBroker.java:46)[207:org.opendaylight.controller.sal-distributed-datastore:1.5.2.SNAPSHOT] at org.opendaylight.controller.cluster.databroker.ConcurrentDOMDataBroker$1.onFailure(ConcurrentDOMDataBroker.java:126)[207:org.opendaylight.controller.sal-distributed-datastore:1.5.2.SNAPSHOT] at com.google.common.util.concurrent.Futures$6.run(Futures.java:1310)[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.setException(AbstractFuture.java:202)[65:com.google.guava:18.0.0] at com.google.common.util.concurrent.SettableFuture.setException(SettableFuture.java:68)[65:com.google.guava:18.0.0] at org.opendaylight.controller.cluster.datastore.SingleCommitCohortProxy$1.onComplete(SingleCommitCohortProxy.java:58)[207:org.opendaylight.controller.sal-distributed-datastore:1.5.2.SNAPSHOT] at akka.dispatch.OnComplete.internal(Future.scala:258)[181:com.typesafe.akka.actor:2.4.18] at akka.dispatch.OnComplete.internal(Future.scala:256)[181:com.typesafe.akka.actor:2.4.18] at akka.dispatch.japi$CallbackBridge.apply(Future.scala:186)[181:com.typesafe.akka.actor:2.4.18] at akka.dispatch.japi$CallbackBridge.apply(Future.scala:183)[181:com.typesafe.akka.actor:2.4.18] at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:36)[177:org.scala-lang.scala-library:2.11.11.v20170413-090219-8a413ba7cc] at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala ... (more)

edit retag flag offensive close merge delete

Comments

What is the transaction you've sent in YangUI? What makes you think that what you're referring to should be, in fact, initialized?

VincentJahjah ( 2017-09-28 05:22:25 -0700 )edit