- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Ambari Infra UI HTTP ERROR 401 after Kerberos
- Labels:
-
Apache Ambari
Created ‎11-17-2016 06:02 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
After Kerberos with MIT KDC, I got error when try to access Ambari Infra UI
HTTP ERROR 401
Problem accessing /solr/. Reason: Authentication required
Kinit with infra and HTTP keytabs worked fine.
[root@qwang-hdp ~]# kinit -kt /etc/security/keytabs/ambari-infra-solr.service.keytab infra-solr/qwang-hdp.field.hortonworks.com@FIELD.HORTONWORKS.COM [root@qwang-hdp ~]# klist Ticket cache: FILE:/tmp/krb5cc_0 Default principal: infra-solr/qwang-hdp.field.hortonworks.com@FIELD.HORTONWORKS.COM Valid starting Expires Service principal 11/17/2016 17:53:33 11/18/2016 17:53:33 krbtgt/FIELD.HORTONWORKS.COM@FIELD.HORTONWORKS.COM [root@qwang-hdp ~]# kinit -kt /etc/security/keytabs/spnego.service.keytab HTTP/qwang-hdp.field.hortonworks.com@FIELD.HORTONWORKS.COM [root@qwang-hdp ~]# klist Ticket cache: FILE:/tmp/krb5cc_0 Default principal: HTTP/qwang-hdp.field.hortonworks.com@FIELD.HORTONWORKS.COM Valid starting Expires Service principal 11/17/2016 18:01:33 11/18/2016 18:01:33 krbtgt/FIELD.HORTONWORKS.COM@FIELD.HORTONWORKS.COM
Any other keytabs I need to check and anything else that could cause the problem?
Created ‎11-17-2016 11:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Qi
As the SOLR UI is kerberised, you need to have a valid ticket on your laptop to access these kerberised views.
Please follow the instruction in this link which explain how to enable your laptop and browser for kerberos authentication.
Thanks
Ravi
Created ‎11-17-2016 11:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Qi
As the SOLR UI is kerberised, you need to have a valid ticket on your laptop to access these kerberised views.
Please follow the instruction in this link which explain how to enable your laptop and browser for kerberos authentication.
Thanks
Ravi
Created ‎11-18-2016 03:57 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@QiWang Just wanted to check if you got a chance to try this.
Created ‎11-18-2016 04:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have not tried this yet, but the link you provide is sufficient for my reference. I was trying to troubleshoot Infra but the underlying problem was fixed after installing Log Search. So it is fine now.
