You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Jan (Jira)" <ji...@apache.org> on 2020/02/28 12:31:00 UTC

[jira] [Created] (AMBARI-25488) Host creation Wizard failed HTTP request

Jan created AMBARI-25488:
----------------------------

             Summary: Host creation Wizard failed HTTP request
                 Key: AMBARI-25488
                 URL: https://issues.apache.org/jira/browse/AMBARI-25488
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server, ambari-web
    Affects Versions: 2.7.5
         Environment: Standard installation from scratch.

Initial host was removed and now I am trying to recreate it. Thats where the error comes up.

SLES12, Ambari 2.7.5, based on this installation documentation: [https://docs.cloudera.com/HDPDocuments/Ambari-2.7.5.0/bk_ambari-installation/content/ch_Getting_Ready.html]

 
            Reporter: Jan
         Attachments: image-2020-02-28-13-21-53-928.png

When creating a new host with the "Add Host Wizard", I get an empty screen on the Slave / Client selection screen:

!image-2020-02-28-13-21-53-928.png|width=863,height=316!

I then noticed this is due to an error 400 to the API:

URL: [http://host:8080/api/v1/stacks/HDP/versions/2.6/validations]

Request Body:

 
{code:java}
{"hosts":["host"],"services":[],"validate":"host_groups","recommendations":{"blueprint":{"host_groups":[{"name":"host-group-1","components":[{"name":"JOURNALNODE"},{"name":"ZKFC"},{"name":"GANGLIA_MONITOR"},{"name":"METRICS_MONITOR"},{"name":"LOGSEARCH_LOGFEEDER"},{"name":"HST_AGENT"},{"name":"KERBEROS_CLIENT"}]}]},"blueprint_cluster_binding":{"host_groups":[{"name":"host-group-1","hosts":[{"fqdn":"host"}]}]}}}{code}
(replaced the actual host by "host")

Status Code: 400, Bad Request

Response Body:
{code:java}
Request body is not correct, error: java.util.LinkedHashSet cannot be cast to java.util.List{code}
I guess the json request created seems to be unexpected by the server.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)