[ 
https://issues.apache.org/jira/browse/AMBARI-9508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrii Tkach updated AMBARI-9508:
---------------------------------
    Attachment: AMBARI-9508.patch

> RU : UI dialog shows x hosts as INSTALLED, but API has correct statuses
> -----------------------------------------------------------------------
>
>                 Key: AMBARI-9508
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9508
>             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-2.2.1.0-2214
> Try to do stack upgrade
> Proceed to Finalize
> Error appears:
> {code}The following 1 host(s) have not been upgraded to version 2.2.1.0-2214. 
> 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-2.2.1.0-2214 is "Upgrade: In Process" (displayed as link) [^scr1.png]. On 
> click on it nothing happens.
> Hosts for HDP-2.2.1.0-2214 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 "2.2.1.0-2214 - 
> Installed" (valid filter), but there are no hosts on the table - "No hosts to 
> display" [^scr3.png].



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to