cluster:group-list command returns unresolvable node name
---------------------------------------------------------

                 Key: KARAF-1311
                 URL: https://issues.apache.org/jira/browse/KARAF-1311
             Project: Karaf
          Issue Type: Bug
          Components: cellar-core
    Affects Versions: cellar-2.2.4
            Reporter: Sergey Lysenko
         Attachments: unresolvable-nodename.png

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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to