cloudera / cm_api

Cloudera Manager API Client
Apache License 2.0
305 stars 284 forks source link

Cluster creation via importTemplate does not create hostTemplates in Cloudera Manager #61

Open arvind75 opened 7 years ago

arvind75 commented 7 years ago

I am using cloudera manager python API to create a cluster via import_cluster_template method.

I have a cluster template with well defined "hostTemplates" which is being used in the "instantiator" section to map it with the different hosts. I am able to successfully import the template and create the cluster services, but when I look into the "Hosts Templates", I see completely empty.

Having the hosttemplate also imported as templates would help me expand the cluster using cm_api. Let me know if I am doing anything wrong.