** Also affects: juju (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: juju (Ubuntu)
       Status: New => Triaged

** Changed in: juju (Ubuntu)
   Importance: Undecided => Medium

** Also affects: juju (Ubuntu Precise)
   Importance: Undecided
       Status: New

** Description changed:

+ [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.

** Changed in: juju (Ubuntu Precise)
       Status: New => Triaged

** Changed in: juju (Ubuntu Precise)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju in Ubuntu.
https://bugs.launchpad.net/bugs/993034

Title:
  lxc deployed units don't support https APT repositories

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju/+bug/993034/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to