You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrii Babiichuk (JIRA)" <ji...@apache.org> on 2013/08/21 16:40:51 UTC

[jira] [Created] (AMBARI-2976) During agent registration show list of agents that are registered but do not correspond to any hostnames that are provided by the user

Andrii Babiichuk created AMBARI-2976:
----------------------------------------

             Summary: During agent registration show list of agents that are registered but do not correspond to any hostnames that are provided by the user
                 Key: AMBARI-2976
                 URL: https://issues.apache.org/jira/browse/AMBARI-2976
             Project: Ambari
          Issue Type: Improvement
          Components: client
    Affects Versions: 1.2.5
            Reporter: Andrii Babiichuk
            Assignee: Andrii Babiichuk
             Fix For: 1.4.1


It is not uncommon to have a mismatch between the hostname provided by the user (for hosts that are member of the cluster) and the hostname used by the agent to register itself. Currently, FE shows the list host, out of the list provided by the user, that registered or failed registration. It will be useful to also show the list of hosts that have registered but do not correspond to any of the hostnames supplied by the user. This will help in debugging situations where there is a hostname mismatch.
In Confirm Hosts page, add a warning message section with a link labeled "There are X other registered hosts" if there are such hosts. This should appear above the Host Checks message area. 
"Other registered hosts" are defined as hosts that appear when we call /api/v1/hosts but do not belong to the current list of hosts provided by the user thru the UI or hosts that already belong to the cluster (ones that show up /ap1/v1/<cluster>/hosts).
If the count of such hosts is 0, we do not show this warning message.
Popup Title: "X Other Registered Hosts" where X is the number of such hosts.
Popup Body: "These are the hosts that have registered with the server, but do not appear in the list of hosts that you are adding.", followed by a list of hostnames, one per line.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira