You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Sumit Mohanty (JIRA)" <ji...@apache.org> on 2013/06/26 03:24:20 UTC

[jira] [Commented] (AMBARI-2488) LDAP: Error when executing resetmasterkey

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

Sumit Mohanty commented on AMBARI-2488:
---------------------------------------

LGTM, few nits:
* print 'Saving secure ldap password failed. Exiting.'
Change to: Failed to save secure ldap password. Exiting.

* key while starting the ambari server as a env variable
change to ... as an env. variable ...

                
> LDAP: Error when executing resetmasterkey
> -----------------------------------------
>
>                 Key: AMBARI-2488
>                 URL: https://issues.apache.org/jira/browse/AMBARI-2488
>             Project: Ambari
>          Issue Type: Bug
>          Components: controller
>    Affects Versions: 1.2.5
>            Reporter: Siddharth Wagle
>            Assignee: Siddharth Wagle
>             Fix For: 1.2.5
>
>         Attachments: AMBARI-2488.patch
>
>
> Received a python error attempting to reset master key when LDAP is used:
> {noformat}
> [root@ip-10-145-211-227 sbin]# ambari-server resetmasterkey
> Using python  /usr/bin/python2.6
> Reseting master key for credential store
> Please provide master key for the credential store:
> Please 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 a env variable named ambari.security.master.key or the start will prompt for the master key. Persist [y/n] (y)? y
> Enter Database Password [bigdata]:
> Traceback (most recent call last):
>   File "/usr/sbin/ambari-server.py", line 3047, in <module>
>     main()
>   File "/usr/sbin/ambari-server.py", line 2893, in main
>     reset_master_key()
>   File "/usr/sbin/ambari-server.py", line 2375, in reset_master_key
>     setup_master_key(resetKey=True)
>   File "/usr/sbin/ambari-server.py", line 2454, in setup_master_key
>     configure_ldap_password(True)
> TypeError: configure_ldap_password() takes no arguments (1 given)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira