You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Antonenko Alexander (JIRA)" <ji...@apache.org> on 2017/09/05 13:41:00 UTC
[jira] [Created] (AMBARI-21879) Cluster version showing as Upgrade
when INSTALL_FAILED
Antonenko Alexander created AMBARI-21879:
--------------------------------------------
Summary: 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
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. 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" : [ ]
}
}
}
]
}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)