I am trying to add additional node to an AWS ambari server on AWS.
I have installed ambari-agent on the new node and is up and running.
But when I try to add the node to my cluster through ambari, it fails with an error (see screenshot-1)

I am not able to find the correct logs in the ambari server.
Any ideas where the logs will be?
What is the problem that might have happened?