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

Antonenko Alexander updated AMBARI-21879:
-----------------------------------------
    Description: After adding a repository and installing it to a cluster 
(expected failure), the column is offering to upgrade when the state is 
INSTALL_FAILED.   (was: After adding a repository and installing it to a 
cluster (expected failure), the column is offering to upgrade when the state is 
INSTALL_FAILED. API results:
{
  "href" : 
"http://localhost:8080/api/v1/clusters/c1/stack_versions?fields=ClusterStackVersions/state,ClusterStackVersions/host_states";,
  "items" : [
    {
      "href" : "http://localhost:8080/api/v1/clusters/c1/stack_versions/1";,
      "ClusterStackVersions" : {
        "cluster_name" : "c1",
        "id" : 1,
        "repository_version" : 1,
        "stack" : "HDP",
        "state" : "CURRENT",
        "version" : "2.6",
        "host_states" : {
          "CURRENT" : [
            "c6403.ambari.apache.org",
            "c6401.ambari.apache.org",
            "c6402.ambari.apache.org"
          ],
          "INSTALLED" : [ ],
          "INSTALLING" : [ ],
          "INSTALL_FAILED" : [ ],
          "NOT_REQUIRED" : [ ],
          "OUT_OF_SYNC" : [ ]
        }
      }
    },
    {
      "href" : "http://localhost:8080/api/v1/clusters/c1/stack_versions/51";,
      "ClusterStackVersions" : {
        "cluster_name" : "c1",
        "id" : 51,
        "repository_version" : 51,
        "stack" : "HDP",
        "state" : "INSTALL_FAILED",
        "version" : "2.6",
        "host_states" : {
          "CURRENT" : [ ],
          "INSTALLED" : [ ],
          "INSTALLING" : [ ],
          "INSTALL_FAILED" : [
            "c6403.ambari.apache.org",
            "c6401.ambari.apache.org"
          ],
          "NOT_REQUIRED" : [
            "c6402.ambari.apache.org"
          ],
          "OUT_OF_SYNC" : [ ]
        }
      }
    }
  ]
})

> Cluster version showing as Upgrade when INSTALL_FAILED        
> -------------------------------------------------------
>
>                 Key: AMBARI-21879
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21879
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>            Reporter: Antonenko Alexander
>            Assignee: Antonenko Alexander
>            Priority: Critical
>             Fix For: 2.6.0
>
>
> After adding a repository and installing it to a cluster (expected failure), 
> the column is offering to upgrade when the state is INSTALL_FAILED. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to