[ 
https://issues.apache.org/jira/browse/KARAF-1311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13273285#comment-13273285
 ] 

Sergey Lysenko edited comment on KARAF-1311 at 5/11/12 2:14 PM:
----------------------------------------------------------------

Ok, now both cluster:node-list and cluster:group-list have same node names for 
regular and mDNS-ed hosts, and mDNS-ed is available through it's 
{hostname}.local:port name.
So this issue is fixed indirectly.

 karaf@trun> cluster:node-list 
    No. Host Name             Port ID
      1 10.7.17.98            5701 10.7.17.98:5701
 *    2 lucas.local           5701 lucas.local:5701
 karaf@trun> cluster:group-list 
    Group                  Members
 * [default             ] [10.7.17.98:5701 lucas.local:5701* ]

karaf@trun> cluster:node-ping 10.7.17.98:5701
PING 10.7.17.98:5701
from 1: req=10.7.17.98:5701 time=68 ms
from 2: req=10.7.17.98:5701 time=15 ms
^C
Error executing command: sleep interrupted

karaf@trun> cluster:node-ping lucas.local:5701
PING lucas.local:5701
from 1: req=lucas.local:5701 time=13 ms
from 2: req=lucas.local:5701 time=10 ms
from 3: req=lucas.local:5701 time=8 ms
^C
Error executing command: sleep interrupted

                
      was (Author: sly):
    Ok, now both cluster:node-list and cluster:group-list have same node names 
for regular and mDNS-ed hosts, and mDNS-ed is available through it's 
{hostname}.local:port name.
So this issue is fixed indirectly.

karaf@trun> cluster:node-list 
   No. Host Name             Port ID
     1 10.7.17.98            5701 10.7.17.98:5701
*    2 lucas.local           5701 lucas.local:5701
karaf@trun> cluster:group-list 
   Group                  Members
* [default             ] [10.7.17.98:5701 lucas.local:5701* ]

karaf@trun> cluster:node-ping 10.7.17.98:5701
PING 10.7.17.98:5701
from 1: req=10.7.17.98:5701 time=68 ms
from 2: req=10.7.17.98:5701 time=15 ms
^C
Error executing command: sleep interrupted

karaf@trun> cluster:node-ping lucas.local:5701
PING lucas.local:5701
from 1: req=lucas.local:5701 time=13 ms
from 2: req=lucas.local:5701 time=10 ms
from 3: req=lucas.local:5701 time=8 ms
^C
Error executing command: sleep interrupted

                  
> 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.3
>            Reporter: Sergey Lysenko
>            Assignee: Jean-Baptiste Onofré
>             Fix For: cellar-3.0.0, cellar-2.2.4
>
>         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