使用 OVSDB 插件时出现错误 resconf
Error resconf using OVSDB plugin
我正在使用 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.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.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"
> }
> ]
> } }
我的 OS 是 Debian 9。
我从未见过这个 "it's not initialized yet. Please try again later" NotInitializedException,但它似乎表明数据存储尚未准备就绪。要么您只需要稍等片刻,要么可能在启动过程中出现严重错误向上。您检查过您的 karaf.log 是否有任何可以解释原因的错误吗?
我正在使用 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.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.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"
> }
> ]
> } }
我的 OS 是 Debian 9。
我从未见过这个 "it's not initialized yet. Please try again later" NotInitializedException,但它似乎表明数据存储尚未准备就绪。要么您只需要稍等片刻,要么可能在启动过程中出现严重错误向上。您检查过您的 karaf.log 是否有任何可以解释原因的错误吗?