2012-05-02 05:31:42 |
Thomas Herve |
bug |
|
|
added bug |
2012-05-02 05:32:13 |
Thomas Herve |
description |
I tried to use a repository over HTTPS in a charm, 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/apt.conf.d/02juju-apt-proxy (done in ./juju/lib/lxc/data/juju-create) seems to fix the issue. |
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/apt.conf.d/02juju-apt-proxy (done in ./juju/lib/lxc/data/juju-create) seems to fix the issue. |
|
2012-05-10 16:25:02 |
David Britton |
branch linked |
|
lp:~davidpbritton/juju/dont-proxy-https |
|
2012-05-10 16:25:06 |
David Britton |
juju: assignee |
|
David Britton (davidpbritton) |
|
2012-05-15 21:55:53 |
Clint Byrum |
juju: status |
New |
Confirmed |
|
2012-05-15 21:55:58 |
Clint Byrum |
juju: importance |
Undecided |
Medium |
|
2012-05-18 21:25:15 |
Kapil Thangavelu |
juju: milestone |
|
galapagos |
|
2012-05-22 12:19:18 |
Kapil Thangavelu |
juju: status |
Confirmed |
Fix Released |
|
2012-05-30 05:21:49 |
Clint Byrum |
bug task added |
|
juju (Ubuntu) |
|
2012-05-30 05:22:00 |
Clint Byrum |
juju (Ubuntu): status |
New |
Triaged |
|
2012-05-30 05:22:04 |
Clint Byrum |
juju (Ubuntu): importance |
Undecided |
Medium |
|
2012-05-30 05:22:10 |
Clint Byrum |
nominated for series |
|
Ubuntu Precise |
|
2012-05-30 05:22:10 |
Clint Byrum |
bug task added |
|
juju (Ubuntu Precise) |
|
2012-05-30 05:25:58 |
Clint Byrum |
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/apt.conf.d/02juju-apt-proxy (done in ./juju/lib/lxc/data/juju-create) seems to fix the issue. |
[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/apt.conf.d/02juju-apt-proxy (done in ./juju/lib/lxc/data/juju-create) seems to fix the issue. |
|
2012-05-30 05:26:02 |
Clint Byrum |
juju (Ubuntu Precise): status |
New |
Triaged |
|
2012-05-30 05:26:05 |
Clint Byrum |
juju (Ubuntu Precise): importance |
Undecided |
Medium |
|
2012-05-30 05:40:44 |
Launchpad Janitor |
juju (Ubuntu): status |
Triaged |
Fix Released |
|
2012-05-30 05:41:56 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/juju |
|
2012-05-30 07:38:37 |
Launchpad Janitor |
branch linked |
|
lp:~clint-fewbar/ubuntu/precise/juju/testing-time |
|
2012-06-01 02:32:48 |
Chris Halse Rogers |
juju (Ubuntu Precise): status |
Triaged |
Fix Committed |
|
2012-06-01 02:32:51 |
Chris Halse Rogers |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2012-06-01 02:32:54 |
Chris Halse Rogers |
bug |
|
|
added subscriber SRU Verification |
2012-06-01 02:32:58 |
Chris Halse Rogers |
tags |
|
verification-needed |
|
2012-06-01 02:40:35 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/precise-proposed/juju |
|
2012-06-26 08:05:38 |
James Page |
juju (Ubuntu Precise): milestone |
|
ubuntu-12.04.1 |
|
2012-07-05 23:00:14 |
Clint Byrum |
tags |
verification-needed |
verification-done |
|
2012-07-09 19:18:32 |
Launchpad Janitor |
juju (Ubuntu Precise): status |
Fix Committed |
Fix Released |
|