Dmitry Lysnichenko created AMBARI-2586:
------------------------------------------
Summary: ambari-server encrypt-passwords fails
Key: AMBARI-2586
URL: https://issues.apache.org/jira/browse/AMBARI-2586
Project: Ambari
Issue Type: Bug
Components: controller
Affects Versions: 1.2.5
Reporter: Dmitry Lysnichenko
Assignee: Dmitry Lysnichenko
Fix For: 1.2.5
"ambari-server encrypt-passwords" seems to be broken in trunk :
{code}
[root@va21 ~]# ambari-server encrypt-passwords
Using python /usr/bin/python2.6
Setting up password encryption...
Please provide master key for locking the credential store:
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)?
Traceback (most recent call last):
File "/usr/sbin/ambari-server.py", line 3402, in <module>
main()
File "/usr/sbin/ambari-server.py", line 3241, in main
setup_master_key()
File "/usr/sbin/ambari-server.py", line 2642, in setup_master_key
update_properties(propertyMap)
TypeError: update_properties() takes exactly 2 arguments (1 given)
{code}
--
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