You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "chaoran.su (Jira)" <ji...@apache.org> on 2023/11/21 03:51:00 UTC

[jira] [Commented] (FLINK-33519) standalone mode could not create keytab secret

    [ https://issues.apache.org/jira/browse/FLINK-33519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17788241#comment-17788241 ] 

chaoran.su commented on FLINK-33519:
------------------------------------

actually, this is because of flink-kubernetes lib's logic, which will modify the configuration of "security.kerberos.login.keytab",  which I think this should be clearly wrote in flink operator doc, to explain this error could be solved by modified the path in this "security.kerberos.login.keytab" configuration to "
/opt/kerberos/kerberos-keytab". Or just create a soft link from source dir to this dir.

> standalone mode could not create keytab secret
> ----------------------------------------------
>
>                 Key: FLINK-33519
>                 URL: https://issues.apache.org/jira/browse/FLINK-33519
>             Project: Flink
>          Issue Type: Bug
>          Components: Kubernetes Operator
>    Affects Versions: kubernetes-operator-1.3.0, kubernetes-operator-1.4.0, kubernetes-operator-1.3.1, kubernetes-operator-1.5.0, kubernetes-operator-1.6.0, kubernetes-operator-1.6.1
>            Reporter: chaoran.su
>            Priority: Major
>
> when standalone build cluster, and configuration with security.kerberos.login.* configurations.
> flink-kubernetes module will modify the path of security.kerberos.login.keytab configuration to /opt/kerberos/kerberos-keytab, and then create secret for job manager. the secret data from operator pod's keytab file.
> after job manager created, creating task manager process will find the keytab file from the location from security.kerberos.login.keytab configuration, then it throws a exception says keytabs file not find. 
> the bug is because of the configuration modified once, and reused it when create tm. Native mode didn't exist this issue.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)