Merge lp:~gnuoy/charms/precise/gunicorn/gunicorn-apt-lock-checking into lp:~charmers/charms/precise/gunicorn/trunk
Proposed by
Liam Young
Status: | Merged |
---|---|
Approved by: | Mark Mims |
Approved revision: | 25 |
Merge reported by: | Mark Mims |
Merged at revision: | not available |
Proposed branch: | lp:~gnuoy/charms/precise/gunicorn/gunicorn-apt-lock-checking |
Merge into: | lp:~charmers/charms/precise/gunicorn/trunk |
Diff against target: |
28 lines (+20/-1) 1 file modified
hooks/install (+20/-1) |
To merge this branch: | bzr merge lp:~gnuoy/charms/precise/gunicorn/gunicorn-apt-lock-checking |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mark Mims (community) | Approve | ||
James Page | Pending | ||
Review via email: mp+137229@code.launchpad.net |
Description of the change
Subordinate charms can run at the same time as each other subordinate charms on the same node. This causes issues with, among other things, apt locks.
This mp doesn't fix that but reduces the risk of hitting an apt lock failure by checking for a lock and retrying for up to 5 minutes.
To post a comment you must log in.
lgtm
a note... we'll be standardizing on an approach to deal with this issue across the board. Nothing's set yet, so I'll merge this in and include some details of the proposed soln in a separate comment below.
Thanks Liam!