karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Lysenko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-1311) cluster:group-list command returns unresolvable node name
Date Fri, 11 May 2012 14:14:50 GMT

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

Sergey Lysenko commented on KARAF-1311:

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            5701
*    2 lucas.local           5701 lucas.local:5701
karaf@trun> cluster:group-list 
   Group                  Members
* [default             ] [ lucas.local:5701* ]

karaf@trun> cluster:node-ping
from 1: req= time=68 ms
from 2: req= time=15 ms
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
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: and, without any local DNS and with some
diffrerent contents in /etc/hosts file
> The host runs avahi-daemon mDns service, so it's hostname is resolved to <hostname>.local
> The host 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
> 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


View raw message