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/07/08 19:25:53 UTC

[jira] [Resolved] (AMBARI-2586) ambari-server encrypt-passwords fails

     [ https://issues.apache.org/jira/browse/AMBARI-2586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sumit Mohanty resolved AMBARI-2586.
-----------------------------------

    Resolution: Fixed

committed to trunk.
                
> 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
>
>         Attachments: AMBARI-2586.patch
>
>
> "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