You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (Jira)" <ji...@apache.org> on 2019/08/29 17:26:00 UTC

[jira] [Commented] (AMBARI-25333) Regenerate keytab generates empty keytab file if no file present in cache

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

Hudson commented on AMBARI-25333:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-branch-2.7 #568 (See [https://builds.apache.org/job/Ambari-branch-2.7/568/])
[AMBARI-25333] Regenerate keytab generates empty keytab file if no file (root: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=ca4a712f8747227ca68575687596d704fd92e8f8])
* (edit) ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/CreatePrincipalsServerAction.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/KerberosServerAction.java


> Regenerate keytab generates empty keytab file if no file present in cache
> -------------------------------------------------------------------------
>
>                 Key: AMBARI-25333
>                 URL: https://issues.apache.org/jira/browse/AMBARI-25333
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.7.3
>            Reporter: amarnath reddy pappu
>            Assignee: amarnath reddy pappu
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> Steps to reproduce:
> If Database table has a reference for a keytab file at /var/lib/ambari-server/data/cache/ and if file is not present then Ambari would copy empty keytab files to all the hosts.
> 1. Install and Kerberize the cluster.
>  2. remove keytab file/s at /var/lib/ambari-server/data/cache/
>  3. Now re-generate missing keytab files operation.
>  4. You can find empty keytab file in cluster hosts.
> Ambari should check keytab file exist or not while deciding what to re-generate.
>  
> This BUG can cause issue during the Upgrade as it runs re-generate missing keytab operation.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)