Merge lp:~thedac/charms/precise/gunicorn/make-apt-install-fatal into lp:~charmers/charms/precise/gunicorn/trunk
Proposed by
David Ames
Status: | Rejected |
---|---|
Rejected by: | Charles Butler |
Proposed branch: | lp:~thedac/charms/precise/gunicorn/make-apt-install-fatal |
Merge into: | lp:~charmers/charms/precise/gunicorn/trunk |
Diff against target: |
27 lines (+4/-4) 1 file modified
hooks/hooks.py (+4/-4) |
To merge this branch: | bzr merge lp:~thedac/charms/precise/gunicorn/make-apt-install-fatal |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Charles Butler (community) | Disapprove | ||
Tom Haddon | Disapprove | ||
Celso Providelo (community) | Needs Information | ||
Review via email: mp+221451@code.launchpad.net |
Description of the change
Make fetch.apt_install() calls fatal on failure
To post a comment you must log in.
Unmerged revisions
- 33. By David Ames
-
Make fetch.apt_install() calls fatal if they fail
TBH, I wonder if it doesn't belong in the charmhelpers codebase, because it's seems to me that, considering the racing between the main and its subordinates charms, package installing should be retried by default. On 'main' charms the retrying would be rarely (never) reached.
Also, IMO, 'fatal' doesn't transmit well what the code does, A better alternative would be 'retry' which could modify the hardcoded "30 times 10s wait" retry behaviour or just stick more suitable defaults.