Return-Path: X-Original-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8239210C1B for ; Wed, 26 Jun 2013 04:11:22 +0000 (UTC) Received: (qmail 90100 invoked by uid 500); 26 Jun 2013 04:11:22 -0000 Delivered-To: apmail-incubator-ambari-dev-archive@incubator.apache.org Received: (qmail 89839 invoked by uid 500); 26 Jun 2013 04:11:21 -0000 Mailing-List: contact ambari-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@incubator.apache.org Delivered-To: mailing list ambari-dev@incubator.apache.org Received: (qmail 89823 invoked by uid 99); 26 Jun 2013 04:11:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Jun 2013 04:11:20 +0000 Date: Wed, 26 Jun 2013 04:11:20 +0000 (UTC) From: "Siddharth Wagle (JIRA)" To: ambari-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-2488) LDAP: Error when executing resetmasterkey MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-2488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Siddharth Wagle updated AMBARI-2488: ------------------------------------ Attachment: AMBARI-2488-1.patch Comment 1 incorporated in AMBARI-2490. > 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-1.patch, 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 > 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