You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Doroszlai, Attila (JIRA)" <ji...@apache.org> on 2018/06/18 14:37:00 UTC

[jira] [Updated] (AMBARI-24139) Failed to force_non_member_install a stack version on hosts

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

Doroszlai, Attila updated AMBARI-24139:
---------------------------------------
    Description: 
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

  was:
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


> 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
>            Priority: Major
>
> 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)