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

cluster:group-list command returns unresolvable node name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • cellar-2.2.3
    • cellar-2.2.4
    • cellar
    • None

    Description

      There are two test hosts: 10.7.17.97 and 10.7.17.98, without any local DNS and with some diffrerent contents in /etc/hosts file
      The host 10.7.17.97 runs avahi-daemon mDns service, so it's hostname is resolved to <hostname>.local
      The host 10.7.17.97 is visible and pingable by terms of OS from shell prompt.

      Both hosts has one karaf instance running with installed cellar feature

      Output of cluster:node-list command displays correct and resolvable node names (which is different for these two hosts and finely resolvable on each of then),
      while output of cluster:group-list outputs uses hostname resolved by mDns for the 10.7.17.97 host.

      Node name which contains resolved hostname can not be used for access to this node while using other commands.

      It is expected that node names in cluster:group-list are resolvable, same as in output of cluster:node-list command.

      Either output of cluster:group-list should be changed, or access to nodes through hostnames resolved by mDns should be provided

      See screenshot for reference.

      Attachments

        1. unresolvable-nodename.png
          157 kB
          Sergey Lysenko

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            sly Sergey Lysenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: