Dmitry Lysnichenko created AMBARI-8868:
------------------------------------------
Summary: API call used by Install Wizard to retry installation
does not work
Key: AMBARI-8868
URL: https://issues.apache.org/jira/browse/AMBARI-8868
Project: Ambari
Issue Type: Bug
Components: ambari-server
Affects Versions: 2.0.0
Environment: d91074a0cb968dd1b6df52cf943689740ac2a3b8
Reporter: Dmitry Lysnichenko
Assignee: Dmitry Lysnichenko
Fix For: 2.0.0
PUT /api/v1/clusters/y1/host_components?HostRoles/state=INSTALLED
Form Data:
{"RequestInfo":{"context":"Install
Components","operation_level":{"level":"CLUSTER","cluster_name":"y1"}},"Body":{"HostRoles":
{"state":"INSTALLED"}
}}
Server response:
{ "status" : 400, "message" : "java.lang.IllegalArgumentException: Invalid
arguments, cluster name, component name and host name should be provided" }
I saw another failure pattern where the same call returns 500.
Please try testing this scenario end to end with the UI.
You can just do a single node install and force invoke failure by renaming
/var/lib/ambari-agent dir, for example.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)