Initialise default proxy config from environment #7002

Merged
merged 1 commit into from Feb 17, 2017

Conversation

Projects
None yet
3 participants
Member

babbageclunk commented Feb 17, 2017

Description of change

The proxy info is set into the environment by cloud-init for the
bootstrap, so we need to load it here so that we have the correct values
for requests made during bootstrapping. before the proxyupdater is running.

QA steps

  • bootstrap with proxy settings
  • ensure that initial web requests made during bootstrap go via the proxy

Bug reference

Referenced from this comment: https://bugs.launchpad.net/juju/+bug/1633788/comments/30
Part of fixing: https://bugs.launchpad.net/juju/2.1/+bug/1654591

Initialise proxy config from environment
The proxy info is set into the environment by cloud-init for the
bootstrap, so we need to load it here so that we have the correct values
before the proxyupdater is running.

axw approved these changes Feb 17, 2017

Member

babbageclunk commented Feb 17, 2017

$$merge$$

Contributor

jujubot commented Feb 17, 2017

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

@jujubot jujubot merged commit 191f572 into juju:2.1 Feb 17, 2017

@babbageclunk babbageclunk deleted the babbageclunk:initial-proxy branch Feb 17, 2017

babbageclunk added a commit to babbageclunk/juju that referenced this pull request Feb 17, 2017

Merge pull request #7002 from babbageclunk/initial-proxy
Initialise default proxy config from environment

## Description of change

The proxy info is set into the environment by cloud-init for the
bootstrap, so we need to load it here so that we have the correct values
for requests made during bootstrapping. before the proxyupdater is running. 

## QA steps

* bootstrap with proxy settings
* ensure that initial web requests made during bootstrap go via the proxy

## Bug reference

Referenced from this comment: https://bugs.launchpad.net/juju/+bug/1633788/comments/30
Part of fixing: https://bugs.launchpad.net/juju/2.1/+bug/1654591

jujubot added a commit that referenced this pull request Feb 17, 2017

Merge pull request #7004 from babbageclunk/merge-proxy-fix
Merge fix for proxy initialisation from 2.1

Merge #7002 into develop - it landed after the rest of the changes from 2.1 were merged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment