-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/22204/
-----------------------------------------------------------
(Updated Aug. 1, 2014, 2:23 p.m.)
Review request for Ambari and Dmytro Sen.
Bugs: AMBARI-1562
https://issues.apache.org/jira/browse/AMBARI-1562
Repository: ambari
Description
-------
During Agent bootstrap + registration (the Confirm Hosts step), and during
cluster Install/Start/Test, there is a chance the Hortonworks public
repositories or the EPEL repository can timeout, giving an error "no more
mirrors".
This causes the host to be marked "fail" which can be concerning to the user.
1) we should trap this timeout error specifically and auto-retry. The timeout
might only be temporary and will work on retry.
2) After a certain amount of retries, we should produce a specific "fail"
message for the end user to help them troubleshoot.
Diffs (updated)
-----
ambari-server/src/main/python/setupAgent.py 2bb7b53
Diff: https://reviews.apache.org/r/22204/diff/
Testing
-------
mvn clean test
Thanks,
Andrew Onischuk