juju should add the cloud-archive repository differently
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Martin Packman | ||
1.16 |
Fix Released
|
High
|
Martin Packman | ||
juju-core (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Saucy |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Unable to bootstrap/deploy on Ubuntu 12.04 in DC's with restricted egress network access.
[Test Case]
In said DC environemtn
juju bootstrap
(machine bootstraps but install of juju fails)
[Regression Potential]
Limited; scope of changes is quite focussed.
[Original Bug Report]
Juju doing the following cloud-config doesn't ensure that the key can be obtained from the keyserver in order to access the cloud-archive. This means that juju's cloud config tells cloud-init to access the keyserver directly. In environments behind a proxy, they key server might not be reachable.
- source: deb http://
main
keyid: EC4926EA
cloud-init.log:Oct 23 18:08:26 node01 [CLOUDINIT] cc_apt_
om/ubuntu precise-
cloud-init-
/ubuntu precise-
A better approach could be using add-apt-repository instead of trying to import the key. Another option could be to install ubuntu-
Related branches
- Juju Engineering: Pending requested
-
Diff: 178 lines (+60/-40)5 files modifiedcloudinit/cloudinit.go (+3/-5)
cloudinit/cloudinit_test.go (+0/-7)
cloudinit/options.go (+0/-13)
environs/cloudinit/cloudinit.go (+50/-3)
environs/cloudinit/cloudinit_test.go (+7/-12)
- Juju Engineering: Pending requested
-
Diff: 178 lines (+60/-40)5 files modifiedcloudinit/cloudinit.go (+3/-5)
cloudinit/cloudinit_test.go (+0/-7)
cloudinit/options.go (+0/-13)
environs/cloudinit/cloudinit.go (+50/-3)
environs/cloudinit/cloudinit_test.go (+7/-12)
description: | updated |
description: | updated |
description: | updated |
Changed in juju-core: | |
assignee: | nobody → Martin Packman (gz) |
importance: | Undecided → High |
milestone: | none → 1.17.0 |
status: | New → Fix Committed |
description: | updated |
Changed in juju-core (Ubuntu Saucy): | |
importance: | Undecided → High |
tags: |
added: verification-done removed: verification-needed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.