ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <aonis...@hortonworks.com>
Subject Re: Review Request 22204: During install, retry on repo timeout and show better error message if retries fail
Date Fri, 01 Aug 2014 14:23:40 GMT

-----------------------------------------------------------
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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message