ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-9385) Implement Keytab regeneration
Date Fri, 30 Jan 2015 19:16:34 GMT

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

Hudson commented on AMBARI-9385:
--------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #1653 (See [https://builds.apache.org/job/Ambari-trunk-Commit/1653/])
AMBARI-9385. Implement Keytab regeneration (rlevas) (rlevas: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=a116498e92babd241f2bc083bb1ef2325f4ca3d7)
* ambari-server/src/main/java/org/apache/ambari/server/api/resources/ClusterResourceDefinition.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/KerberosHelperTest.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/KerberosHelper.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerImplTest.java


> Implement Keytab regeneration
> -----------------------------
>
>                 Key: AMBARI-9385
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9385
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Robert Levas
>            Assignee: Robert Levas
>              Labels: kerberos, keytabs
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-9385_01.patch, AMBARI-9385_02.patch
>
>
> Create API entry point to initiate Kerberos keytab regeneration for the cluster:
> {code}
> PUT /api/v1/clusters/{clustername}?kerberos_regenerate_keytabs="true"
> {code}
> The entry point should invoke code to determine which principals need to be updated and
then generate the following stages:
> # Update Principal Passwords
> # Generate Keytabs
> # Distribute Keytab
> This could be done in a method within {{org.apache.ambari.server.controller.KerberosHelper}}
named {{regenerateKeytabs}} and flow similarly to {{org.apache.ambari.server.controller.KerberosHelper#toggleKerberos}}
> A Server-side action implementation already exists for generating keytabs - see {{org.apache.ambari.server.serveraction.kerberos.CreateKeytabFilesServerAction}}.
> A process is already in place to distribute keytabs - {{org/apache/ambari/server/controller/KerberosHelper.java:1192}}
> A new Server-side action _may_ need to be created to update relavant principal passwords,
however {{org.apache.ambari.server.serveraction.kerberos.CreatePrincipalsServerAction}} may
work for this, unaltered.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message