使用OVSDB插件时出现resconf错误

时间:2017-12-01 18:23:19

标签: opendaylight

我正在使用ODL-Carbon并试图获得一个简单的REST:

  

http://ip-controller:8181/restconf/config/network-topology:network-topology/topology/ovsdb:1/

但我收到此错误消息:

> {
>     "errors": {
>         "error": [
>             {
>                 "error-type": "application",
>                 "error-tag": "operation-failed",
>                 "error-message": "Error executeRead ReadData for path /(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)network-topology/topology/topology[{(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)topology-id=ovsdb:1}]",
>                 "error-info": "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\n\tat
> org.opendaylight.controller.cluster.datastore.shardmanager.ShardManager.createNotInitializedException(ShardManager.java:948)\n\tat
> org.opendaylight.controller.cluster.datastore.shardmanager.ShardManager.onShardNotInitializedTimeout(ShardManager.java:769)\n\tat
> org.opendaylight.controller.cluster.datastore.shardmanager.ShardManager.handleCommand(ShardManager.java:251)\n\tat
> org.opendaylight.controller.cluster.common.actor.AbstractUntypedPersistentActor.onReceiveCommand(AbstractUntypedPersistentActor.java:31)\n\tat
> akka.persistence.UntypedPersistentActor.onReceive(PersistentActor.scala:170)\n\tat
> org.opendaylight.controller.cluster.common.actor.MeteringBehavior.apply(MeteringBehavior.java:104)\n\tat
> akka.actor.ActorCell$$anonfun$become$1.applyOrElse(ActorCell.scala:544)\n\tat
> akka.actor.Actor$class.aroundReceive(Actor.scala:502)\n\tat
> akka.persistence.UntypedPersistentActor.akka$persistence$Eventsourced$$super$aroundReceive(PersistentActor.scala:168)\n\tat
> akka.persistence.Eventsourced$$anon$1.stateReceive(Eventsourced.scala:727)\n\tat
> akka.persistence.Eventsourced$class.aroundReceive(Eventsourced.scala:183)\n\tat
> akka.persistence.UntypedPersistentActor.aroundReceive(PersistentActor.scala:168)\n\tat
> akka.actor.ActorCell.receiveMessage(ActorCell.scala:526)\n\tat
> akka.actor.ActorCell.invoke(ActorCell.scala:495)\n\tat
> akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)\n\tat
> akka.dispatch.Mailbox.run(Mailbox.scala:224)\n\tat
> akka.dispatch.Mailbox.exec(Mailbox.scala:234)\n\tat
> scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)\n\tat
> scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)\n\tat
> scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)\n\tat
> scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)\n"
>             }
>         ]
>     } }

我的操作系统是Debian 9。

1 个答案:

答案 0 :(得分:0)

我从来没有见过这个“它还没有初始化。请稍后再试”NotInitializedException,但它似乎表明Data Store还没有准备好......要么你只是需要等一下,要么它可能就是启动期间出现严重错误。您是否检查过您的karaf.log是否有任何错误可以解释原因?