Page MenuHomePhabricator

Unable to access Kerberos keytab
Closed, ResolvedPublic

Description

Trying to follow the instructions on https://wikitech.wikimedia.org/wiki/Analytics/Systems/Kerberos/UserGuide#Run_a_recurrent_job_via_Cron_or_similar_without_kinit_every_day

To fix a cron job that can't run anymore due to lack of Kerberos authentication, I get:

gilles@stat1007:/srv/deployment/performance/asoranking$ kerberos-run-command analytics-privatedata hdfs dfs -ls /
The user keytab that you are trying to use (/etc/security/keytabs/analytics-privatedata/analytics-privatedata.keytab) doesn't exist or it isn't readable from your user, aborting...

Event Timeline

@Gilles the error is explained in the doc that you linked, you are missing sudo -u analytics-privatedata :)

Gilles claimed this task.

Duh, thanks