Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-1217

Hazelcast warning msgs with version mismatch when switched to ONOS-1.0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 1.0.1
    • Fix Version/s: 1.0.2
    • Component/s: None
    • Labels:

      Description

      I just switched to onos-1.0 (maintenance branch) and pulled below changes,
      but notice that some of the ONOS instances took longer than usual
      to come up and I see ONOS instances are continuously logging
      below warning messages from all the ONOS nodes in cluster
      as well from other ONOS nodes in lab network even though
      I have my hazelcast.xml configured with different user/passwd.

      2015-03-03 15:23:28,321 | WARN | .MulticastThread | MulticastService | 52 - com.hazelcast - 3.3.5 | [10.128.40.43]:5701 [choTest5New] [3.3.5] Received a JoinRequest with a different packet version! This -> 2, Incoming -> 3, Sender -> /10.128.101.223

      Let me know in case if I missed something here.

      ####################################################
      admin@chONOSbench:~/ONOS$ git checkout onos-1.0
      Switched to branch 'onos-1.0'
      Your branch is behind 'origin/onos-1.0' by 5 commits, and can be fast-forwarded.
      (use "git pull" to update your local branch)
      admin@chONOSbench:~/ONOS$ git pull
      remote: Counting objects: 16811, done
      remote: Finding sources: 100% (89/89)
      remote: Total 89 (delta 34), reused 68 (delta 34)
      Unpacking objects: 100% (89/89), done.
      From ssh://gerrit.onosproject.org:29418/onos
      cbe6de3..35b4ecb master -> origin/master
      Updating fdcf235..7104493
      Fast-forward
      core/api/src/main/java/org/onosproject/net/intent/LinkCollectionIntent.java | 27 +++++-
      core/api/src/test/java/org/onosproject/net/intent/LinkCollectionIntentTest.java | 10 ++
      core/net/src/main/java/org/onosproject/net/device/impl/DeviceManager.java | 6 +-
      .../java/org/onosproject/net/intent/impl/LinkCollectionIntentInstaller.java | 124 ++++++++++++++++++++-----
      .../org/onosproject/net/intent/impl/MultiPointToSinglePointIntentCompiler.java | 11 ++-
      .../org/onosproject/net/intent/impl/SinglePointToMultiPointIntentCompiler.java | 3 +
      .../dist/src/main/java/org/onosproject/store/link/impl/GossipLinkStore.java | 43 ++++++---
      .../src/main/java/org/onosproject/store/trivial/impl/SimpleLinkStore.java | 16 ++--
      tools/test/topos/oe-linear-3.json | 48 ----------
      tools/test/topos/oe-nonlinear-10.json | 149 ------------------------------
      tools/test/topos/oe-nonlinear-4.json | 52 -----------
      tools/test/topos/optical.py | 79 ----------------
      tools/test/topos/optical2.py | 84 -----------------
      tools/test/topos/sys-nonlinear-10.config | 183 -------------------------------------
      tools/test/topos/sys-nonlinear-4.config | 79 ----------------
      tools/test/topos/sys.config | 183 -------------------------------------
      16 files changed, 190 insertions, 907 deletions
      delete mode 100644 tools/test/topos/oe-linear-3.json
      delete mode 100644 tools/test/topos/oe-nonlinear-10.json
      delete mode 100644 tools/test/topos/oe-nonlinear-4.json
      delete mode 100755 tools/test/topos/optical.py
      delete mode 100644 tools/test/topos/optical2.py
      delete mode 100644 tools/test/topos/sys-nonlinear-10.config
      delete mode 100644 tools/test/topos/sys-nonlinear-4.config
      delete mode 100644 tools/test/topos/sys.config
      admin@chONOSbench:~/ONOS$ git log -1
      commit 710449392e16e5064a51f3fde314a4104262cfe0
      Author: HIGUCHI Yuta <y-higuchi@ak.jp.nec.com>
      Date: Thu Feb 26 14:28:49 2015 -0800

      Workaround for ConcurrentModificationException

      • Workaround fix for ONOS-1193
      • If locking the whole link collection damages the performance,
        apply the fix suggested on GossipLinkStore comment.

      Change-Id: Idd4d2e5b8e3a50843fe7abd10a615cfbd9a16478
      (cherry picked from commit 4d973ebae6ef01cf69f43a2bb38fcb3ffce155df)
      admin@chONOSbench:~/ONOS$

      #########################################
      ONOS LOGS
      ##############################

      Members [5]

      { Member [10.128.40.41]:5701 Member [10.128.40.42]:5701 Member [10.128.40.43]:5701 this Member [10.128.40.44]:5701 Member [10.128.40.45]:5701 }

      2015-03-03 15:23:25,218 | INFO | .cached.thread-4 | SocketConnector | 52 - com.hazelcast - 3.3.5 | [10.128.40.43]:5701 [choTest5New] [3.3.5] Connecting to /10.128.40.45:5701, timeout: 0, bind-any: true
      2015-03-03 15:23:25,219 | INFO | .cached.thread-4 | TcpIpConnectionManager | 52 - com.hazelcast - 3.3.5 | [10.128.40.43]:5701 [choTest5New] [3.3.5] Established socket connection between /10.128.40.43:34231 and /10.128.40.45:5701
      2015-03-03 15:23:25,220 | INFO | event-dispatch-0 | MastershipManager | 154 - org.onosproject.onos-core-net - 1.0.2.SNAPSHOT | instance DefaultControllerNode

      {id=10.128.40.45, ip=10.128.40.45, tcpPort=9876}

      added/activated
      2015-03-03 15:23:26,439 | WARN | .MulticastThread | MulticastService | 52 - com.hazelcast - 3.3.5 | [10.128.40.43]:5701 [choTest5New] [3.3.5] Received a JoinRequest with a different packet version! This -> 2, Incoming -> 3, Sender -> /10.128.30.12
      2015-03-03 15:23:26,487 | WARN | .MulticastThread | MulticastService | 52 - com.hazelcast - 3.3.5 | [10.128.40.43]:5701 [choTest5New] [3.3.5] Received a JoinRequest with a different packet version! This -> 2, Incoming -> 3, Sender -> /10.128.174.1
      2015-03-03 15:23:27,707 | WARN | .MulticastThread | MulticastService | 52 - com.hazelcast - 3.3.5 | [10.128.40.43]:5701 [choTest5New] [3.3.5] Received a JoinRequest with a different packet version! This -> 2, Incoming -> 3, Sender -> /10.128.5.51
      2015-03-03 15:23:28,321 | WARN | .MulticastThread | MulticastService | 52 - com.hazelcast - 3.3.5 | [10.128.40.43]:5701 [choTest5New] [3.3.5] Received a JoinRequest with a different packet version! This -> 2, Incoming -> 3, Sender -> /10.128.101.223
      2015-03-03 15:23:35,524 | WARN | .MulticastThread | MulticastService | 52 - com.hazelcast - 3.3.5 | [10.128.40.43]:5701 [choTest5New] [3.3.5] Received a JoinRequest with a different packet version! This -> 2, Incoming -> 3, Sender -> /10.128.4.10
      2015-03-03 15:23:39,073 | WARN | .MulticastThread | MulticastService | 52 - com.hazelcast - 3.3.5 | [10.128.40.43]:5701 [choTest5New] [3.3.5] Received a JoinRequest with a different packet version! This -> 2, Incoming -> 3, Sender -> /10.128.20.11
      2015-03-03 15:23:40,992 | WARN | .MulticastThread | MulticastService | 52 - com.hazelcast - 3.3.5 | [10.128.40.43]:5701 [choTest5New] [3.3.5] Received a JoinRequest with a different packet version! This -> 2,

        Attachments

        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            hari hari
            Reporter:
            hari hari
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: