Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-1654

C: write-transactions rpc does not return

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • None
    • None
    • clustering
    • None
    • Operating System: All
      Platform: All

    • 8372

      (my job #597)
      used odl: https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/distribution-karaf/0.6.0-SNAPSHOT/distribution-karaf-0.6.0-20170503.152424-68.zip

      is built from controller=33/56433/5
      https://jenkins.opendaylight.org/releng/view/integration/job/integration-multipatch-test-carbon/11/

      write-transactions is called on the first node of 3 node cluster with params
      url: http://172.17.0.4:8181/restconf/operations/odl-mdsal-lowlevel-control:write-transactions, data: <input xmlns="tag:opendaylight.org,2017:controller:yang:lowlevel:control">
      <id>prefix-1</id>
      <seconds>5</seconds>
      <transactions-per-second>10</transactions-per-second>
      <chained-transactions>False</chained-transactions>
      </input>

      but is not returned after 5 seconds. It timeout out on robot side after 65 seconds.

      The test started around 2017-05-04 10:43:09,965 | INFO | h for user karaf | command | 46 - org.apache.karaf.log.command - 3.0.8 | ROBOT MESSAGE: Starting test Write_Transactions_1_Node

      The particular rest call was around :43:10.216 and expected to finish after 5 seconds. It did not happen.

      Instead there is

      2017-05-04 10:43:31,838 | WARN | lt-dispatcher-33 | ClusterCoreDaemon | 201 - com.typesafe.akka.slf4j - 2.4.17 | Cluster Node [akka.tcp://opendaylight-cluster-data@172.17.0.4:2550] - Marking node(s) as UNREACHABLE [Member(address = akka.tcp://opendaylight-cluster-data@172.17.0.5:2550, status = Up), Member(address = akka.tcp://opendaylight-cluster-data@172.17.0.6:2550, status = Up)]. Node roles [member-1]

      The system is not under the stress, so i do not really understand why there are akka problems.

      2017-05-04 10:43:12,217 | DEBUG | lt-dispatcher-32 | ShardDataTree | 226 - org.opendaylight.controller.sal-distributed-datastore - 1.5.0.SNAPSHOT | member-1-shard-default-config: Preparing transaction member-1-datastore-config-fe-0-txn-10-0

      2017-05-04 10:43:31,823 | DEBUG | lt-dispatcher-32 | CompositeDataTreeCohort | 226 - org.opendaylight.controller.sal-distributed-datastore - 1.5.0.SNAPSHOT | member-1-datastore-config-fe-0-txn-10-0: canCommit - candidate: [FAILED toString()]

        1. karaf_log_1.tar.gz
          107 kB
        2. karaf_log_1.tar.gz.601_simple
          102 kB
        3. karaf_log_1.tar.gz.603_chained
          101 kB
        4. write_transactions.tar
          787 kB

            rovarga Robert Varga
            pgubka@cisco.com Peter Gubka
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: