Uploaded image for project: 'OpenFlowPlugin'
  1. OpenFlowPlugin
  2. OPNFLWPLUG-588

[Clustering]: Switch state resync is not happening after controller restart [Routed RPC issue]

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • General
    • None
    • Operating System: All
      Platform: All

    • 4866
    • Highest

    Description

      Build used :
      ===================
      Karaf distro from latest ODL Beryllium master code

      Test Type :
      ===================
      switch state resync after cluster node restart.

      Objective of test :
      ===================
      verify switch resync when node is restarted.

      Test Steps :
      ============
      1. Bring up healthy 3 node cluster say c1, c2 and c3. c1 is leader.
      2. connect OVS switch to c3 node. c3 node is entity owner as shown in attached snapshot.
      3. push 10 flows using flow-config-blaster script from follower c3
      4. total flows in switch, config DS and operational DS is 10
      5. restart c3 node
      6. connect OVS switch to c3 node, c3 node is entity owner as shown in attached snapshot.
      7. switch is showing 2 flows
      8. config DS is showing 10 flows and Operational DS is showing 2 flows

      Note: Output shown for Flows in switch and Operational DS in Step 7 and Step 8 are not consistent. In 4 times, i have seen output as 4, 0, 10 and 2 flows.

      Controllers (to cross-check logs):
      ===================================
      c1 - Controller 1 with IP 10.183.181.41 - config-inventory-shard leader
      c2 - Controller 2 with IP 10.183.181.42 - config-inventory-shard follower
      c3 - Controller 3 with IP 10.183.181.43 - config-inventory-shard follower

      Enclosed Logs:
      ==============
      c1.karaf.log for controller c1
      c2.karaf.log for controller c2
      c3.karaf.log for controller c3
      snapshot for entity ower from c3
      snapshot for flows in OVS switch

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              imanilyadav@gmail.com Anil Gujele
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: