Hello
I’m trying to run Hue 4.8.0 inside a docker with kerberos, and I’m facing an issue during the kinit.
I’m looking for a solution.
root@myhost:~# docker pull gethue/hue:4.8.0
4.8.0: Pulling from gethue/hue
root@myhost:~# docker run -d -it -p 8888:8888 -v /tmp/hue.ini:/usr/share/hue/desktop/conf/z-hue.ini -v /etc/security/keytabs/hue.service.keytab:/etc/security/keytabs/hue.service.keytab -v /etc/krb5.conf:/etc/krb5.conf:ro gethue/hue:4.8.0 &
[12/Jan/2021 10:37:03 +0100] kt_renewer INFO Reinitting kerberos retry attempt 1 from keytab /usr/bin/kinit -k -t /etc/security/keytabs/hue.service.keytab -c /tmp/hue_krb5_ccache hue/di-dbdne-fe-develophdpcep-01.node.fe.sd.diod.tech@DIOD.TECH
[12/Jan/2021 10:37:04 +0100] kt_renewer ERROR Couldn’t reinit from keytab! `kinit’ exited with 1.
kinit: Pre-authentication failed: Permission denied while getting initial credentials
The config file hue.ini, the keytab hue.service.keytab and the kerberos config file krb5.conf are the ones that I use on the same server when I run Hue without docker.
Thanks in advance