cloudconfig: pass --connect-timeout to curl #6980

Merged
merged 1 commit into from Feb 14, 2017

Conversation

Projects
None yet
3 participants
Member

axw commented Feb 14, 2017

Description of change

Pass --connect-timeout to curl, so we don't
wait too long for a given URL when downloading
agent binaries from the controller.

QA steps

  1. juju bootstrap azure
  2. juju add-machine
  3. observe that the machine agent comes up quicker than without the change
  4. extract the curl commands from /var/log/cloud-init-output.log, run again through "time" to check that the private network URL times out in ~20 seconds.

Documentation changes

None.

Bug reference

Fixes https://bugs.launchpad.net/juju/+bug/1622531

cloudconfig: pass --connect-timeout to curl
Pass --connect-timeout to curl, so we don't
wait too long for a given URL when downloading
agent binaries from the controller.
Member

axw commented Feb 14, 2017

$$merge$$

Contributor

jujubot commented Feb 14, 2017

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

@jujubot jujubot merged commit eb8558f into juju:2.1 Feb 14, 2017

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