Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E37AB10B9E for ; Thu, 29 Jan 2015 05:19:34 +0000 (UTC) Received: (qmail 20458 invoked by uid 500); 29 Jan 2015 05:19:35 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 20424 invoked by uid 500); 29 Jan 2015 05:19:35 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 20116 invoked by uid 99); 29 Jan 2015 05:19:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jan 2015 05:19:35 +0000 Date: Thu, 29 Jan 2015 05:19:35 +0000 (UTC) From: "Robert Levas (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-9385) Implement Keytab regeneration MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-9385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Levas updated AMBARI-9385: --------------------------------- Attachment: AMBARI-9385_01.patch * Added the ability to handle directives related to updating a cluster resources with the security_type of KERBEROS. * Handles directive {{regenerate_keytabs}} to regenerate keytabs on an previously Kerberized cluster Patch File [^AMBARI-9385_01.patch] > 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 > > > 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)