Hello everybody, first post here so pardon me if I didn't follow all the rules.
So, I'm trying to deploy a cluster (on a single host) using Ansible and Cloudera's APIs. I have managed to install Cloudera Manager and Cloudera Management Service correctly. Now I'd like to install CDH services on this node, but I have some problems with the errors that the API returns to me. In particular I'm trying to install the services by the means of a clusterTemplate. I've managed to download a cluster template from another cluster I've deployed in the past and I'd like to use this to create a new cluster on this node. Actually I would prefer to create a cluster template from scratch but I was not able to find any useful information to build one.
By the way the problem is, when I call the apis the message I receive in response is
"message" : "The following host(s) are not available: <fully qualified hostname of my node>.
If necessary I'll provide the python code I'm using for calling the apis, but I just copied the code I found on the API's doucmentation. Plus, even if I use a curl to contact the apis I receive the same error.
Also, I'm using a EC2 aws instance for deploying the cluster.
Thanks in advance for your help.