juju should support an apt proxy or alternate mirror for private clouds
Bug #897645 reported by
Kapil Thangavelu
This bug affects 17 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Medium
|
Unassigned | ||
juju-core |
Fix Released
|
High
|
Unassigned | ||
pyjuju |
Triaged
|
High
|
Unassigned |
Bug Description
private clouds / data centers may not allow public internet access, being able to configure an environment property defining a apt mirror/proxy for instances in the cloud would alleviate this. We should be able to put this into place via cloud-init.
Related branches
Changed in juju: | |
milestone: | none → florence |
status: | New → Confirmed |
summary: |
- juju should support an apt proxy for private clouds + juju should support an apt proxy or alternate mirror for private clouds |
Changed in juju: | |
importance: | Undecided → High |
Changed in juju: | |
milestone: | florence → galapagos |
Changed in cloud-init: | |
status: | Fix Committed → Fix Released |
Changed in juju: | |
assignee: | nobody → Kapil Thangavelu (hazmat) |
status: | Confirmed → In Progress |
Changed in juju: | |
milestone: | galapagos → honolulu |
Changed in juju: | |
status: | In Progress → Confirmed |
Changed in juju: | |
milestone: | 0.6 → 0.7 |
Changed in juju-core: | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in juju: | |
assignee: | Kapil Thangavelu (hazmat) → nobody |
Changed in juju: | |
milestone: | 0.7 → 0.8 |
Changed in juju-core: | |
importance: | Medium → Low |
Changed in juju: | |
status: | Confirmed → Triaged |
tags: | added: cts-cloud-review |
Changed in juju-core: | |
status: | Triaged → Fix Released |
milestone: | none → 1.17.0 |
To post a comment you must log in.
I do not think that juju is the correct place to "support an apt proxy".
Just as cloud-init selects a mirror correctly, JuJu should let cloud-init do apt proxy configuration (if applicable).
The most generic solution for this is to allow users to provide user-data parts to cloud-init.
Then, to support apt proxy selection, the user (with no specific juju support) could add a boothook like: my-local- proxy:3128/"; }; };' > /etc/apt/ apt.conf. d/local- proxy
#!/bin/sh
echo 'Acquire { HTTP { Proxy "http://
I also just opened cloud-init bug 897688, which will make specification of apt_proxy supported via cloud-config.