You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Vitalyi Brodetskyi <vb...@hortonworks.com> on 2014/03/17 17:50:33 UTC

Review Request 19302: Host confirmation failed on suse

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19302/
-----------------------------------------------------------

Review request for Ambari and Dmitro Lisnichenko.


Bugs: AMBARI-5111
    https://issues.apache.org/jira/browse/AMBARI-5111


Repository: ambari


Description
-------

1. On install options page passed 
{noformat}
suse1101.ambari.apache.org
suse1102.ambari.apache.org - failed to register
suse1103.ambari.apache.org
{noformat}
as an argument. 

On ConfirmHosts page 2 hosts were registered successfully and 1 registration failed. 

On the problematic host, agent is up and running. 
{noformat}
suse1102:~ # ambari-agent status
Found ambari-agent PID: 14906
ambari-agent running.
Agent PID at: /var/run/ambari-agent/ambari-agent.pid
Agent out at: /var/log/ambari-agent/ambari-agent.out
Agent log at: /var/log/ambari-agent/ambari-agent.log
suse1102:~ # ps aux | grep agent
root     14890  0.0  0.4  85084 10368 ?        S    15:52   0:00 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/AmbariAgent.py start restart --expected-hostname=suse1102.ambari.apache.org
root     14906  0.1  0.4 121180 11624 ?        Sl   15:52   0:03 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/main.py start restart --expected-hostname=suse1102.ambari.apache.org
{noformat}
Attached relevant cluster logs snapshot (after hadoop succesfully installed on 1-st and 3-rd hosts, 2-nd being skipped due to failed registration). 
[~dlysnichenko] suggests, that a possible cause for this was that bootstrap failed prior to agent fully started. 


Diffs
-----

  ambari-server/src/main/python/setupAgent.py 9a4eaa9 
  ambari-server/src/test/python/TestSetupAgent.py 7846220 

Diff: https://reviews.apache.org/r/19302/diff/


Testing
-------

----------------------------------------------------------------------
Ran 188 tests in 1.106s

OK
----------------------------------------------------------------------
Total run:507
Total errors:0
Total failures:0
OK


Thanks,

Vitalyi Brodetskyi


Re: Review Request 19302: Host confirmation failed on suse

Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19302/#review37400
-----------------------------------------------------------

Ship it!


Ship It!

- Dmitro Lisnichenko


On March 17, 2014, 4:50 p.m., Vitalyi Brodetskyi wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19302/
> -----------------------------------------------------------
> 
> (Updated March 17, 2014, 4:50 p.m.)
> 
> 
> Review request for Ambari and Dmitro Lisnichenko.
> 
> 
> Bugs: AMBARI-5111
>     https://issues.apache.org/jira/browse/AMBARI-5111
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> 1. On install options page passed 
> {noformat}
> suse1101.ambari.apache.org
> suse1102.ambari.apache.org - failed to register
> suse1103.ambari.apache.org
> {noformat}
> as an argument. 
> 
> On ConfirmHosts page 2 hosts were registered successfully and 1 registration failed. 
> 
> On the problematic host, agent is up and running. 
> {noformat}
> suse1102:~ # ambari-agent status
> Found ambari-agent PID: 14906
> ambari-agent running.
> Agent PID at: /var/run/ambari-agent/ambari-agent.pid
> Agent out at: /var/log/ambari-agent/ambari-agent.out
> Agent log at: /var/log/ambari-agent/ambari-agent.log
> suse1102:~ # ps aux | grep agent
> root     14890  0.0  0.4  85084 10368 ?        S    15:52   0:00 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/AmbariAgent.py start restart --expected-hostname=suse1102.ambari.apache.org
> root     14906  0.1  0.4 121180 11624 ?        Sl   15:52   0:03 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/main.py start restart --expected-hostname=suse1102.ambari.apache.org
> {noformat}
> Attached relevant cluster logs snapshot (after hadoop succesfully installed on 1-st and 3-rd hosts, 2-nd being skipped due to failed registration). 
> [~dlysnichenko] suggests, that a possible cause for this was that bootstrap failed prior to agent fully started. 
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/python/setupAgent.py 9a4eaa9 
>   ambari-server/src/test/python/TestSetupAgent.py 7846220 
> 
> Diff: https://reviews.apache.org/r/19302/diff/
> 
> 
> Testing
> -------
> 
> ----------------------------------------------------------------------
> Ran 188 tests in 1.106s
> 
> OK
> ----------------------------------------------------------------------
> Total run:507
> Total errors:0
> Total failures:0
> OK
> 
> 
> Thanks,
> 
> Vitalyi Brodetskyi
> 
>