Doroszlai, Attila created AMBARI-24139:
------------------------------------------
Summary: Failed to force_non_member_install a stack version on
hosts
Key: AMBARI-24139
URL: https://issues.apache.org/jira/browse/AMBARI-24139
Project: Ambari
Issue Type: Bug
Components: ambari-server
Affects Versions: 2.6.0
Reporter: Doroszlai, Attila
Assignee: Doroszlai, Attila
The ability to pre-install packages on hosts using the following API request is
broken since 2.6.0:
{noformat}
$ curl -X POST -d { "HostStackVersions": { "repository_version": "2.6.1.0-129",
"stack": "HDP", "version": "2.6", "cluster_name": "TEST",
"force_non_member_install": true, "components": [ { "name" : "ZOOKEEPER_SERVER"
}, { "name": "ZOOKEEPER_CLIENT" } ] } }
http://localhost:8080/api/v1/hosts/${hostname}/stack_versions
{noformat}
The request is accepted, but:
* on 2.6.0: package installation (1st task) fails due to missing {{stack_name}}
and {{stack_version}}
* on 2.6.1: "set all" (2nd task) fails for the same reason
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)