[ https://issues.apache.org/jira/browse/AMBARI-14367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15056073#comment-15056073 ]
Andrii Tkach commented on AMBARI-14367: --------------------------------------- 11515 tests complete (16 seconds) 128 tests pending > Web Client Displays Incorrect Host Version Counts For Installed Repos > --------------------------------------------------------------------- > > Key: AMBARI-14367 > URL: https://issues.apache.org/jira/browse/AMBARI-14367 > Project: Ambari > Issue Type: Bug > Components: ambari-web > Affects Versions: 2.3.0 > Reporter: Andrii Tkach > Assignee: Andrii Tkach > Priority: Critical > Fix For: 2.4.0 > > Attachments: AMBARI-14367.patch, Capture.PNG, Capture_with_patch.PNG, > Screen Shot 2015-12-11 at 8.59.26 PM.png > > > After creating and installing a repository, the web client is incorrectly > displaying the counts of hosts for each repo (see attachment). > STR: > 1) Register a new repo > 2) Install repo > {code} > { > "href": > "http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/stack_versions?fields=*,repository_versions/*,repository_versions/operating_systems/repositories/*&_=1449885691901", > "items": [ > { > "href": > "http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/stack_versions/1", > "ClusterStackVersions": { > "cluster_name": "c1", > "id": 1, > "repository_version": 1, > "stack": "HDP", > "state": "CURRENT", > "version": "2.3", > "host_states": { > "CURRENT": [ > "c6401.ambari.apache.org", > "c6402.ambari.apache.org", > "c6403.ambari.apache.org" > ], > "INSTALLED": [], > "INSTALLING": [], > "INSTALL_FAILED": [], > "OUT_OF_SYNC": [], > "UPGRADED": [], > "UPGRADE_FAILED": [], > "UPGRADING": [] > } > }, > "repository_versions": [] > }, > { > "href": > "http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/stack_versions/51", > "ClusterStackVersions": { > "cluster_name": "c1", > "id": 51, > "repository_version": 51, > "stack": "HDP", > "state": "INSTALLED", > "version": "2.3", > "host_states": { > "CURRENT": [], > "INSTALLED": [ > "c6401.ambari.apache.org", > "c6402.ambari.apache.org", > "c6403.ambari.apache.org" > ], > "INSTALLING": [], > "INSTALL_FAILED": [], > "OUT_OF_SYNC": [], > "UPGRADED": [], > "UPGRADE_FAILED": [], > "UPGRADING": [] > } > }, > "repository_versions": [] > } > ] > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)