lxc deployed units don't support https APT repositories
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
Medium
|
David Britton | ||
juju (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Precise |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[Impact]
Charms written to use https based APT sources (such as private PPA's) will fail on the local provider because of the required connection through apt-cacher-ng.
[Dev Fix]
apt should be configured not to proxy HTTPS based sources through apt-cacher-ng
[Stable Fix]
Backport of the dev fix.
[Test Case]
1. Create a charm whic adds an HTTPS based APT source with a valid certificate.
2. Deploy said charm in a 'type: local' environment.
3. Affected juju will fail with a 'PROXY CONNECT' error. Fixed juju will succeed.
[Regression Potential]
Very low. Fix has been upstream for some time. Very simple change, and any regression would be contained to apt use of HTTPS urls in local provider, which seems to have been totally broken as well.
==== Original Bug Description ====
I tried to use a repository over HTTPS in a charm testing locally, and it was failing with a PROXY CONNECT error. It seems we try to use apt-cacher-ng for it and it doesn't work.
Adding Acquire::https { Proxy "false"; }; to /etc/apt/
Related branches
- Kapil Thangavelu (community): Approve
- Clint Byrum (community): Approve
-
Diff: 31 lines (+4/-1)2 files modifiedjuju/lib/lxc/data/juju-create (+2/-1)
juju/lib/lxc/tests/test_lxc.py (+2/-0)
description: | updated |
Changed in juju: | |
assignee: | nobody → David Britton (davidpbritton) |
Changed in juju: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in juju: | |
milestone: | none → galapagos |
Changed in juju: | |
status: | Confirmed → Fix Released |
Changed in juju (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
description: | updated |
Changed in juju (Ubuntu Precise): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in juju (Ubuntu Precise): | |
milestone: | none → ubuntu-12.04.1 |
This bug was fixed in the package juju - 0.5+bzr538-0ubuntu1
--------------- 0ubuntu1) quantal; urgency=low
juju (0.5+bzr538-
* New upstream snapshot (LP: #993034, LP: #926550)
-- Clint Byrum <email address hidden> Tue, 29 May 2012 22:36:40 -0700