[
https://issues.apache.org/jira/browse/AMBARI-1885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13629058#comment-13629058
]
Trevor McKay commented on AMBARI-1885:
--------------------------------------
To keep the logs small, I did this:
1) Start the ambari server
2) Run bootstrap.py by hand for a new agent to grab the output.
This shows the sequence up through the run of setupAgent.py
Attached is the output from bootstrap.py, as well as the ambari-agent.log
> 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
>
> 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