Support Questions
Find answers, ask questions, and share your expertise

Error when uploading a blueprint of a HDF cluster with kerberos.



I'm trying to automate the creation of a kerberized HDF cluster using openstack VMs, using blueprints.

The principals are not managed by ambari,

I first configured the cluster manually and then downloaded the blueprint.

When i try to create a cluster with that blueprint i get the following error

curl -H "X-Requested-By ambari" -X POST  -u admin:admin http://amabri-host:8080/api/v1/clusters/clusterName -d @hostmapping.json
  "status" : 400,
  "message" : "Topology validation failed: org.apache.ambari.server.topology.InvalidTopologyException: kdc.admin.credential is missing from request."

Do i need to add any extra param to the curl request?



@Paula Morais

Take a look at this posting thanks to @Kuldeep Kulkarni it could help you resolve


Hi, Thanks for your reply.

But is this valid when the kerberos is configured with the option "KDC Type: Manage Kerberos principals and keytabs manually"? This documentation refers if ambari is managing the KDC.

When i configured the cluster manually with Kerberos, the CSV file generated doesn't contain the admin principal.

Since ambari is not responsible for creating the principals/keytabs, do we really need this when uploading the blueprint?



; ;