juju bootstrap fails when http_proxy is set in environments.yaml
Bug #1431286 reported by
Corey Bryant
on 2015-03-12
This bug affects 1 person
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | juju-core |
Medium
|
Unassigned | ||
Bug Description
juju bootstrap fails when http_proxy is set in environments.yaml
juju-core version: 1.22-beta5-
juju bootstrap errors with:
"2015-03-12 10:55:01 ERROR juju.cmd supercommand.go:411 no instances found"
See console log attachment for more details.
| Corey Bryant (corey.bryant) wrote : | #4 |
I'm not setting any proxy settings in the shell env when bootstrapping. I assume I shouldn't be.
| Changed in juju-core: | |
| status: | Incomplete → New |
| Curtis Hovey (sinzui) wrote : | #5 |
We need more information. Please use --debug to capture what juju is trying to do:
juju --debug bootstrap --upload-tools
| Changed in juju-core: | |
| status: | New → Incomplete |
| Corey Bryant (corey.bryant) wrote : | #6 |
James Page (james-page)
on 2015-03-30
| Changed in juju-core: | |
| status: | Incomplete → New |
John George (jog)
on 2015-03-30
| Changed in juju-core: | |
| status: | New → Triaged |
| importance: | Undecided → High |
| tags: | added: bootstrap openstack-provider proxy |
Curtis Hovey (sinzui)
on 2015-04-21
| Changed in juju-core: | |
| importance: | High → Medium |
| Corey Bryant (corey.bryant) wrote : | #7 |
I'm pretty sure this isn't a juju bug. 'nova list' can't find the keystone endpoint when http_proxy env var is set on serverstack, without juju involved. So I'm going to mark this invalid.
| Changed in juju-core: | |
| status: | Triaged → Invalid |
To post a comment you must log in.


Are you also setting proxy settings in the shell env when bootstrapping? A common reason bootstraps fail when a proxy is needed is because bootstraping using the shell env vars, then once the environment is bootstrapped the settings in the config are used. And it is common for the values on the host bootstraping to be different from the setting in the yaml.