Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Ambari 2.0 remains old Realm after re-enabling Kerberos including Realm change

avatar

If you disable Kerberos, change the Realm and enable Kerberos afterwards, then Ambari 2.0 versions still wants to use the old Realm.

1 ACCEPTED SOLUTION

avatar
Guru

This is a known bug => https://issues.apache.org/jira/browse/AMBARI-10930

But what to do if you cannot upgrade Ambari but needs to enable Kerberos again with a different Realm ?

You have to remove the remaining Kerberos artifacts by using the following REST call, then you can enable Kerberos with the new Realm applied:

curl -H "X-Requested-By:ambari" -u 
<adminuser>:<adminpw>  -X DELETE http://<ambari-server>:8080/api/v1/clusters/<clustername>/artifacts/kerberos_descriptor

View solution in original post

1 REPLY 1

avatar
Guru

This is a known bug => https://issues.apache.org/jira/browse/AMBARI-10930

But what to do if you cannot upgrade Ambari but needs to enable Kerberos again with a different Realm ?

You have to remove the remaining Kerberos artifacts by using the following REST call, then you can enable Kerberos with the new Realm applied:

curl -H "X-Requested-By:ambari" -u 
<adminuser>:<adminpw>  -X DELETE http://<ambari-server>:8080/api/v1/clusters/<clustername>/artifacts/kerberos_descriptor