Siddharth Wagle created AMBARI-2488:
---------------------------------------
Summary: 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