Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-1317

Unsuccessful remote cluster node ping

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: cellar-2.2.4
    • Fix Version/s: cellar-3.0.0, cellar-2.2.4
    • Component/s: cellar-core
    • Labels:
      None

      Description

      There are two hosts: 10.7.17.98 (local) and 10.7.17.98 (remote)
      Each host have freshly installed karaf with cellar feature and default configuration.

      In case if cluster node is located on remote host, it is not pinged by cluster:node-ping command successfully.
      Also, unsuccessful ping is not displayed correctly, but there is already karaf issue about this: https://issues.apache.org/jira/browse/KARAF-1194.

      Example output:

      > cluster:node-ping 10.7.17.97:5701

      Pinging node 10.7.17.97:5701
      PING 1 10.7.17.97:5701 10005ms
      PING 2 10.7.17.97:5701 10004ms
      PING 3 10.7.17.97:5701 10001ms
      PING 4 10.7.17.97:5701 10002ms
      PING 5 10.7.17.97:5701 10002ms
      PING 6 10.7.17.97:5701 10001ms
      PING 7 10.7.17.97:5701 10001ms
      PING 8 10.7.17.97:5701 10001ms
      PING 9 10.7.17.97:5701 10002ms
      PING 10 10.7.17.97:5701 10002ms

        Activity

        Hide
        jbonofre Jean-Baptiste Onofré added a comment -

        I improved the ping message in case of timeout.

        Regarding the "remote node" ping, I will try to reproduce (it may be related to a network issue).

        Show
        jbonofre Jean-Baptiste Onofré added a comment - I improved the ping message in case of timeout. Regarding the "remote node" ping, I will try to reproduce (it may be related to a network issue).
        Hide
        jbonofre Jean-Baptiste Onofré added a comment -

        I started different VM with different Cellar topologies (multicast, TCP/IP static list) and I don't have problem.

        karaf@root> cluster:node-list
        No. Host Name Port ID

        • 1 10.42.20.2 5701 10.42.20.2:5701
          2 10.42.20.6 5701 10.42.20.6:5701
          karaf@root> cluster:node-ping 10.42.20.6:5701
          PING 10.42.20.6:5701
          from 1: req=10.42.20.6:5701 time=46 ms
          from 2: req=10.42.20.6:5701 time=13 ms
          from 3: req=10.42.20.6:5701 time=12 ms
          from 4: req=10.42.20.6:5701 time=9 ms
          from 5: req=10.42.20.6:5701 time=24 ms
          from 6: req=10.42.20.6:5701 time=19 ms
        Show
        jbonofre Jean-Baptiste Onofré added a comment - I started different VM with different Cellar topologies (multicast, TCP/IP static list) and I don't have problem. karaf@root> cluster:node-list No. Host Name Port ID 1 10.42.20.2 5701 10.42.20.2:5701 2 10.42.20.6 5701 10.42.20.6:5701 karaf@root> cluster:node-ping 10.42.20.6:5701 PING 10.42.20.6:5701 from 1: req=10.42.20.6:5701 time=46 ms from 2: req=10.42.20.6:5701 time=13 ms from 3: req=10.42.20.6:5701 time=12 ms from 4: req=10.42.20.6:5701 time=9 ms from 5: req=10.42.20.6:5701 time=24 ms from 6: req=10.42.20.6:5701 time=19 ms

          People

          • Assignee:
            jbonofre Jean-Baptiste Onofré
            Reporter:
            sly Sergey Lysenko
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development