Public bug reported:

This seems to be a new issue as LXD 2.0.0 was working perfectly well in
14.04 prior to re-installation. Currently on 16.04 with 'lxc version' of
2.0.0. Issue is as follows:

lxc launch ubuntu:xenial test
Creating test
error: Get https://cloud-images.ubuntu.com/releases/streams/v1/index.json: EOF

Proxy is set up as follows:
/etc/environment:
http_proxy=http://proxy.company.com:8080
https_proxy=http://proxy.company.com:8080
HTTP_PROXY=http://proxy.company.com:8080
HTTPS_PROXY=http://proxy.company.com:8080
no_proxy=127.0.0.1,localhost,10.0.0.0/8
NO_PROXY=127.0.0.1,localhost,10.0.0.0/8

Setup commands:
sudo lxd init
lxc config set core.proxy_http http://proxy.company.com:8080
lxc config set core.proxy_https http://proxy.company.com:8080
lxc config set core.proxy_ignore_hosts 10.0.0.0/8,127.0.0.1,*.ad.selinc.com
sudo service lxd restart
lxc profile set default environment.http_proxy http://proxy.company.com:8080
lxc profile set default environment.https_proxy http://proxy.company.com:8080   
                                                                                
                                                                       
lxc profile set default environment.HTTP_PROXY http://proxy.company.com:8080    
                                                                                
                                                          
lxc profile set default environment.HTTPS_PROXY http://proxy.company.com:8080
lxc profile set default environment.no_proxy 127.0.0.1,10.0.0.0/8
lxc profile set default environment.NO_PROXY 127.0.0.1,10.0.0.0/8
lxc launch ubuntu: mine

(Several reboots, as well)

Cannot remove 'cloud-images.ubuntu.com/*' to test if issue is limited to
those servers (I can reach those servers through a browser and I do not
believe those servers existed on my 14.04 installation (upgraded since
October)) or if the issues exists for images.linuxcontainers.org.

** Affects: lxd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1575386

Title:
  Proxy issue with 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1575386/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to