Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-220

Getting content from cluster from the second follower causes an "AskTimeoutException"

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Cannot Reproduce
    • None
    • None
    • netconf
    • None
    • Operating System: All
      Platform: All

    • 6067

    Description

      Attempting to fetch data from the second follower in a 3-node cluster when original owner is down, causes a java exception to be returned in the response text:

      <errors xmlns="urn:ietf:params:xml:ns:yang:ietf-restconf"><error><error-type>application</error-type><error-tag>operation-failed</error-tag><error-message>Problem to get data from transaction.</error-message><error-info>akka.pattern.AskTimeoutException: Ask timed out on [Actor[akka.tcp://opendaylight-cluster-data@10.29.11.243:2550/user/topology-netconf/netconf-test-device/mountpoint#1234942408]] after [5000 ms]
      at akka.pattern.PromiseActorRef$$anonfun$1.apply$mcV$sp(AskSupport.scala:334)
      at akka.actor.Scheduler$$anon$7.run(Scheduler.scala:117)
      at scala.concurrent.Future$InternalCallbackExecutor$.unbatchedExecute(Future.scala:599)
      at scala.concurrent.BatchingExecutor$class.execute(BatchingExecutor.scala:109)
      at scala.concurrent.Future$InternalCallbackExecutor$.execute(Future.scala:597)
      at akka.actor.LightArrayRevolverScheduler$TaskHolder.executeTask(Scheduler.scala:467)
      at akka.actor.LightArrayRevolverScheduler$$anon$8.executeBucket$1(Scheduler.scala:419)
      at akka.actor.LightArrayRevolverScheduler$$anon$8.nextTick(Scheduler.scala:423)
      at akka.actor.LightArrayRevolverScheduler$$anon$8.run(Scheduler.scala:375)
      at java.lang.Thread.run(Thread.java:745)
      </error-info></error></errors>

      The response code returned is 500.
      The URI requested was: /restconf/config/network-topology:network-topology/topology/topology-netconf/node/netconf-test-device/yang-ext:mount

      The request is successful when the first follower (the new owner) is querried

      Sandbox test results: https://jenkins.opendaylight.org/sandbox/job/netconf-csit-3node-clustering-only-beryllium/3/

      Test to look for is in "Entity" suite under the name "Check_Config_Data_Before_Modification_With_Original_Owner_Down"

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rudolf.brisuda@pantheon.tech Rudolf Brisuda
            erdeak@cisco.com Ernest Deák
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: