Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

LogSearch Does not start post Ambari upgrade

avatar
New Member

I have LogSearch installed on cluster with Ambari 2.4.2.0

upgrade Ambari to 2.5.0

Log Search fails to start

{code}

resource_management.core.exceptions.ExecutionFailed: Execution of 'ambari-sudo.sh /usr/bin/kinit -kt /etc/security/keytabs/ambari-infra-solr.service.keytab infra-solr/<myintenalhost>@EXAMPLE.COM; ambari-sudo.sh curl -k -s --negotiate -u : http://<hostnamehere>:8886/solr/admin/authorization | grep authorization.enabled && ambari-sudo.sh /usr/bin/kinit -kt /etc/security/keytabs/ambari-infra-solr.service.keytab infra-solr/<hostname>@EXAMPLE.COM; ambari-sudo.sh curl -H 'Content-type:application/json' -d '{"set-user-role": {"logsearch@EXAMPLE.COM": ["logsearch_user", "ranger_admin_user", "dev"]}}' -s -o /dev/null -w'%{http_code}' --negotiate -u: -k http://<hostnamehere>:8886/solr/admin/authorization | grep 200' returned 1. kinit: Client not found in Kerberos database while getting initial credentials
1 ACCEPTED SOLUTION

avatar
New Member

@svelpula I recall hitting this issue after ambari Upgrade. Keytab infra-solr was not present on the host before the upgrade.

Regenerating keytabs worked for me.

You can do that from the ambari UI. Under Admin tab -> Kerberos , there is a button to regenerate keytabs

screen-shot-2017-03-31-at-32136-pm.png

View solution in original post

2 REPLIES 2

avatar
New Member

@svelpula I recall hitting this issue after ambari Upgrade. Keytab infra-solr was not present on the host before the upgrade.

Regenerating keytabs worked for me.

You can do that from the ambari UI. Under Admin tab -> Kerberos , there is a button to regenerate keytabs

screen-shot-2017-03-31-at-32136-pm.png

avatar
New Member

Before Ambari 2.5.0, solr keytab was not on logsearch host, hence it is expected that user re-generates keytabs post Ambari upgrade before restarting LogSearch. Ambari has an option Regenerate Keytabs under Admin--> Kerberos to do the same