cloudinit/sshinit: retry on apt-get failure #1420

Merged
merged 1 commit into from Jan 16, 2015

Conversation

Projects
None yet
2 participants
Member

axw commented Jan 15, 2015

If apt-get fails with an error of 100, we will
retry in case it is due to lock contention. We
loop retrying in this way forever, and rely on
bootstrap-timeout or user intervention (ctrl-c)
to shut things down.

Fixes https://bugs.launchpad.net/juju-core/+bug/1384259

(Review request: http://reviews.vapour.ws/r/746/)

cloudinit/sshinit: retry on apt-get failure
If apt-get fails with an error of 100, we will
retry in case it is due to lock contention. We
loop retrying in this way forever, and rely on
bootstrap-timeout or user intervention (ctrl-c)
to shut things down.

Fixes https://bugs.launchpad.net/juju-core/+bug/1384259
Member

axw commented Jan 16, 2015

$$merge$$

Contributor

jujubot commented Jan 16, 2015

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

jujubot added a commit that referenced this pull request Jan 16, 2015

Merge pull request #1420 from axw/lp1384259-aptget-lock-retry
cloudinit/sshinit: retry on apt-get failure

If apt-get fails with an error of 100, we will
retry in case it is due to lock contention. We
loop retrying in this way forever, and rely on
bootstrap-timeout or user intervention (ctrl-c)
to shut things down.

Fixes https://bugs.launchpad.net/juju-core/+bug/1384259

(Review request: http://reviews.vapour.ws/r/746/)

@jujubot jujubot merged commit 16ffaa8 into juju:master Jan 16, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment