Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

HDP3 upgradation failed with check keytabs kerberos client failed

Solved Go to solution

HDP3 upgradation failed with check keytabs kerberos client failed

Expert Contributor

Hi Folks

I'm upgrading HDP 2.6.5 to 3.0.1, between i got below error "Check Keytabs Kerberos Client"

Caught an exception while executing custom service command: <type 'exceptions.Exception'>: Command requires configs with timestamp=1545289935876 but configs on agent have timestamp=1545289934256; Command requires configs with timestamp=1545289935876 but configs on agent have timestamp=1545289934256


I'm trying to find the issue. Please help me
1 ACCEPTED SOLUTION

Accepted Solutions

Re: HDP3 upgradation failed with check keytabs kerberos client failed

Expert Contributor

Hi

I have resolved the issue.

i have done all steps on that node where i was facing issue

First i clean cache from /tmp to some temporary directory.

Then move all keytabs from /etc/security/keytabs/ to other temporary directory and finally i restart ambari-agent where i was facing issue. Then tried regenerate keytabs which i got successfully.

Now i have resumed the upgradation.

3 REPLIES 3
Highlighted

Re: HDP3 upgradation failed with check keytabs kerberos client failed

New Contributor

@Vinay

Could you please check your ambari-agent and ambari-server version.

check in database as well.

This issue occurs when there are incorrect entries present in the ambari database. The following is the table in the database. From the host_version

ambari=>select*from host_version;

Thanks,

Owez

Re: HDP3 upgradation failed with check keytabs kerberos client failed

Expert Contributor

Hi @Owez Mujawar

Ambari server and amabri agent version is 2.7.1.0-169.

Output of host_version is

ambari=> select * from host_version; id | repo_version_id | host_id | state -----+-----------------+---------+-----------

57 | 51 | 1 | CURRENT

56 | 51 | 7 | CURRENT

53 | 51 | 3 | CURRENT

55 | 51 | 4 | CURRENT

54 | 51 | 5 | CURRENT

52 | 51 | 6 | CURRENT

51 | 51 | 2 | CURRENT

Re: HDP3 upgradation failed with check keytabs kerberos client failed

Expert Contributor

Hi

I have resolved the issue.

i have done all steps on that node where i was facing issue

First i clean cache from /tmp to some temporary directory.

Then move all keytabs from /etc/security/keytabs/ to other temporary directory and finally i restart ambari-agent where i was facing issue. Then tried regenerate keytabs which i got successfully.

Now i have resumed the upgradation.