Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on 03-31-2017 10:11 PM - edited 09-16-2022 04:23 AM
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": {"[email protected]": ["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
Created 03-31-2017 10:28 PM
@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
Created 03-31-2017 10:28 PM
@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
Created 03-31-2017 10:28 PM
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