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 2018/07/05 17:28:00 UTC
[jira] [Commented] (AMBARI-24229) Prevent Configuration Changes
During Keytab Regeneration in an Upgrade
[ https://issues.apache.org/jira/browse/AMBARI-24229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16533927#comment-16533927 ]
Hudson commented on AMBARI-24229:
---------------------------------
FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #9572 (See [https://builds.apache.org/job/Ambari-trunk-Commit/9572/])
[AMBARI-24229] Prevent Configuration Changes During Keytab Regeneration (github: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=a100a99037d26cdf4e262eaf3ee03dd6581027f0])
* (edit) ambari-server/src/test/java/org/apache/ambari/server/serveraction/kerberos/AbstractPrepareKerberosServerActionTest.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/PrepareEnableKerberosServerAction.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/KerberosHelper.java
* (add) ambari-server/src/main/java/org/apache/ambari/server/controller/UpdateConfigurationPolicy.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/api/resources/ClusterResourceDefinition.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java
* (edit) ambari-server/src/test/java/org/apache/ambari/server/controller/internal/UpgradeResourceProviderTest.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/PrepareDisableKerberosServerAction.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/PrepareKerberosIdentitiesServerAction.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/KerberosHelperImpl.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/KerberosServerAction.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/AbstractPrepareKerberosServerAction.java
> Prevent Configuration Changes During Keytab Regeneration in an Upgrade
> ----------------------------------------------------------------------
>
> Key: AMBARI-24229
> URL: https://issues.apache.org/jira/browse/AMBARI-24229
> Project: Ambari
> Issue Type: Bug
> Affects Versions: 2.7.0
> Reporter: Kavan Suresh
> Assignee: Robert Levas
> Priority: Blocker
> Labels: pull-request-available
> Fix For: 2.7.0
>
> Time Spent: 4.5h
> Remaining Estimate: 0h
>
> Certain configuration changes should be avoided when regenerating keytab files during different scenarios.
> For example, existing non-Kerberos configurations should not be changed during the regenerate keytabs operation performed during an upgrade. However it is necessary for Kerberos identity-related configurations (such as keytab file paths and principal names) to be added and updated; as well as allow for new Kerberos-related configurations to be added.
> To allow for this, a new _update configuration policy_ value has been added to the set of directives (*_config_update_policy_*) allowed when issuing a call to regenerate keytab files. This directive replaces the less flexible *_ignore_config_updates_* directive which only allows a user to enable or disable the ability for the operation to change configurations. The values allowed for *_config_update_policy_* are as follows:
> * {{none}} - No configurations will be updated
> * {{identities_only}} - New and updated configurations related to Kerberos identity information - principal, keytab file, and auth-to-local rule properties
> * {{new_and_identities}} - Only new configurations declared by the Kerberos descriptor and stack advisor as well as the identity-related changes
> * {{all}} - All configuration changes
> During an upgrade, the _update configuration policy_ is set to {{new_and_identities}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)