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/09/19 17:09:01 UTC

[jira] [Commented] (AMBARI-24663) 'ambari-server setup' does not use AMBARI_SECURITY_MASTER_KEY env var

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

Hudson commented on AMBARI-24663:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-branch-2.7 #314 (See [https://builds.apache.org/job/Ambari-branch-2.7/314/])
AMBARI-24663. 'ambari-server setup' does not use (github: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=8d145e0c04917866fd76690688826cf44065370e])
* (edit) ambari-server/src/main/python/ambari_server/serverConfiguration.py


> 'ambari-server setup' does not use AMBARI_SECURITY_MASTER_KEY env var
> ---------------------------------------------------------------------
>
>                 Key: AMBARI-24663
>                 URL: https://issues.apache.org/jira/browse/AMBARI-24663
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.7.1
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 2.7.2
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> *STR*
> Installed ambari-server and configured password encryption, but chose not to persist master key
> {code}
> [root@h002 ~]# ambari-server setup-security
> Using python  /usr/bin/python
> Security setup options...
> ===========================================================================
> Choose one of the following options:
> [1] Enable HTTPS for Ambari server.
> [2] Encrypt passwords stored in ambari.properties file.
> [3] Setup Ambari kerberos JAAS configuration.
> [4] Setup truststore.
> [5] Import certificate to truststore.
> ===========================================================================
> Enter choice, (1-5): 2
> Password encryption is enabled.
> Do you want to reset Master Key? [y/n] (n): y
> Master Key not persisted.
> Enter current Master Key:
> Enter new Master Key:
> Re-enter master key:
> Do you want to persist master key. If you choose not to persist, you need to provide the Master Key while starting the ambari server as an env variable named AMBARI_SECURITY_MASTER_KEY or the start will prompt for the master key. Persist [y/n] (y)? n
> Adjusting ambari-server permissions and ownership...
> Ambari Server 'setup-security' completed successfully.
> {code}
> Then export environment variable
> export AMBARI_SECURITY_MASTER_KEY=hadoop
> ambari-server setup promts to enter current master key



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)