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 C24FEF51A for ; Thu, 11 Apr 2013 16:41:16 +0000 (UTC) Received: (qmail 78488 invoked by uid 500); 11 Apr 2013 16:41:16 -0000 Delivered-To: apmail-incubator-ambari-dev-archive@incubator.apache.org Received: (qmail 78408 invoked by uid 500); 11 Apr 2013 16:41:16 -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 78390 invoked by uid 99); 11 Apr 2013 16:41:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Apr 2013 16:41:16 +0000 Date: Thu, 11 Apr 2013 16:41:16 +0000 (UTC) From: "Trevor McKay (JIRA)" To: ambari-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-1885) Cluster install wizard says that registration fails for ssh install when it has succeeded 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-1885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13629090#comment-13629090 ] Trevor McKay commented on AMBARI-1885: -------------------------------------- This test was successful: In bootstrap.py, I simply set the ssh.returncode to 0 if it was 1 for the remote setupAgent.py command. This allowed the UI to move successfully through install and registration via ssh key. So, the question remains -- why is the return code coming back 1? > Cluster install wizard says that registration fails for ssh install when it has succeeded > ----------------------------------------------------------------------------------------- > > Key: AMBARI-1885 > URL: https://issues.apache.org/jira/browse/AMBARI-1885 > Project: Ambari > Issue Type: Bug > Components: agent, controller > Affects Versions: 1.2.0 > Environment: Fedora 16 server (branch 1.2) > RHEL6 agent (ambari-agent-1.2.0.1-1.x86_64) > Reporter: Trevor McKay > Attachments: ambari-agent.log, bootstrap.out > > > If registration of an agent is done with the ssh key, the initial install process will succeed but the UI will report FAILED. > If a user leaves the agent running, presses the "BACK" button at this point, selects manual registration, and tries again registration will succeed. > I believe this may be because the ssh command from the server to run setupAgent.py is returning a bad exit code when it has actually succeeded. -- 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