The new "add hosts" api is now completely broken and could return several errors to the user depending on the topology assigned to the hosts being added. This is a regression that was introduced in the patch for
The root issue here is
The patch for
AMBARI-8868 attempted to resolve its issue without resolving the root problem and in doing so, broke this functionality.
To fix this issue correctly, the root issue
AMBARI-4782 needs to be resolved. This will require coordination with the UI guys.