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

OFP RPC does not work from all instances in the cluster

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Highest Highest
    • Sodium
    • Sodium
    • clustering
    • None

      Regression was detected here:

      https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-3node-clustering-only-sodium/

      To reproduce just connect OVS switch to 3 controllers and file an RPC like this from all instances:
      POST http://controller:8181/restconf/operations/sal-flow:add-flow

      <?xml version="1.0" encoding="UTF-8" standalone="no"?>
      <input xmlns="urn:opendaylight:flow:service">
          <node xmlns:inv="urn:opendaylight:inventory">/inv:nodes/inv:node[inv:id="openflow:1"]</node>
          <table_id>0</table_id>
          <priority>2</priority>
          <match>
              <ethernet-match>
                  <ethernet-type>
                      <type>2048</type>
                  </ethernet-type>
              </ethernet-match>
              <ipv4-destination>10.0.1.0/24</ipv4-destination>
          </match>
          <instructions>
              <instruction>
                  <order>0</order>
                  <apply-actions>
                      <action>
                          <output-action>
                              <output-node-connector>1</output-node-connector>
                          </output-action>
                          <order>0</order>
                      </action>
                  </apply-actions>
              </instruction>
          </instructions>
      </input>
      

      At least 1 instance will complain with this message:

      <errors xmlns="urn:ietf:params:xml:ns:yang:ietf-restconf">
          <error>
              <error-type>application</error-type>
              <error-tag>operation-failed</error-tag>
              <error-message>The operation encountered an unexpected error while executing.</error-message>
              <error-info>Ask timed out on [Actor[akka.tcp://opendaylight-cluster-data@10.18.130.162:2550/user/rpc/broker#-516941188]] after [15000 ms]. Message of type [org.opendaylight.controller.remote.rpc.messages.ExecuteRpc]. A typical reason for `AskTimeoutException` is that the recipient actor didn't send a reply.</error-info>
          </error>
      </errors>
      

        1. karaf_original_owner.log
          1.85 MB
        2. karaf_successor.log
          1.78 MB
        3. karaf.log
          1.13 MB

            EmmettCox Emmett Cox
            ecelgp Luis Gomez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: