ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrii Babiichuk (JIRA)" <>
Subject [jira] [Commented] (AMBARI-9508) RU : UI dialog shows x hosts as INSTALLED, but API has correct statuses
Date Fri, 06 Feb 2015 12:48:34 GMT


Andrii Babiichuk commented on AMBARI-9508:

+1 for the patch

> RU : UI dialog shows x hosts as INSTALLED, but API has correct statuses
> -----------------------------------------------------------------------
>                 Key: AMBARI-9508
>                 URL:
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: 2.0.0
>            Reporter: Andrii Tkach
>            Assignee: Andrii Tkach
>            Priority: Critical
>             Fix For: 2.0.0
>         Attachments: AMBARI-9508.patch
> *Revised Description*:
> The UI dialog box that shows how many hosts are Current, Installed, or Not Installed
is not calculating the numbers correctly by using the API.
> See the screenshot where a RU is in progress, so the API reports 3 hosts in UPGRADING
and 1 INSTALLED (because none of its components advertise a version, so it will never transition
to UPGRADING, but instead, the Finalize will transition it directly to CURRENT). However,
the UI always seems to display the total count as Installed, and has a link to the Hosts page
with a pre-set filter for INSTALLED, which obviously won't coincide.
> *Original Description*:
> Install cluster
> Enable HA
> Register and install HDP-
> Try to do stack upgrade
> Proceed to Finalize
> Error appears:
> {code}The following 1 host(s) have not been upgraded to version Please
install and upgrade the Stack Version on those hosts and try again.\nHosts: org.apache.ambari.server.orm.entities.HostVersionEntity@49b8a9c3\n{code}
> Click on "Ignore and Proceed"
> Status become "Upgrade Completed"
> Close RU-window.
> On the page http://host:8080/#/main/admin/stack/versions status for HDP-
is "Upgrade: In Process" (displayed as link) [^scr1.png]. On click on it nothing happens.
> Hosts for HDP- version:
> {code}0 Not Installed
> 3 Installed
> 0 Current{code}
> Click on "Installed"
> Popup with 3 hosts appears [^scr2.png].
> Click on "Go to Hosts"-button
> User is navigated to Hosts page with filter for Versions " - Installed" (valid
filter), but there are no hosts on the table - "No hosts to display" [^scr3.png].

This message was sent by Atlassian JIRA

View raw message