Below are the results. (The last command was running while I tried
running the first two commands in another window, but no additional log
entries were generated after startup) In case it is really just an issue
with the company's proxy configuration (blocking specific ports,
etc...), are the images from cloud-images.ubuntu.com served on a port
other than 443? Is there anything 'unusual' or 'recent' about the
server's config, TLS version, etc...? Any other thoughts?

$ https_proxy=http://proxy.company.com:8080 
http_proxy=http://proxy.company.com:8080 lxc image info ubuntu:
error: Get https://cloud-images.ubuntu.com/releases/streams/v1/index.json: EOF

$ https_proxy=http://proxy.company.com:8080 
http_proxy=http://proxy.company.com:8080 lxc image export ubuntu: /tmp/
error: Get https://cloud-images.ubuntu.com/releases/streams/v1/index.json: EOF

$ lxc config show
config:
  core.proxy_http: http://proxy.company.com:8080
  core.proxy_https: http://proxy.company.com:8080
  core.proxy_ignore_hosts: 10.0.0.0/8,127.0.0.1,*.company.com

$ sudo systemctl stop lxd
Warning: Stopping lxd.service, but it can still be activated by:
  lxd.socket

$ sudo systemctl stop lxd.socket

$ sudo lxd --debug --group lxd
INFO[04-27|08:09:08] LXD is starting in normal mode           path=/var/lib/lxd
WARN[04-27|08:09:08] CGroup memory swap accounting is disabled, swap limits 
will be ignored. 
INFO[04-27|08:09:08] Default uid/gid map: 
INFO[04-27|08:09:08]  - u 0 165536 65536 
INFO[04-27|08:09:08]  - g 0 165536 65536 
INFO[04-27|08:09:08] Init                                     
driver=storage/btrfs                                                            
                                          
INFO[04-27|08:09:08] Looking for existing certificates        
cert=/var/lib/lxd/server.crt key=/var/lib/lxd/server.key                        
                                          
INFO[04-27|08:09:08] LXD isn't socket activated                                 
                                                                                
                        
DBUG[04-27|08:09:08] Detected stale unix socket, deleting                       
                                                                                
                        
DBUG[04-27|08:09:08] Pruning expired images                                     
                                                                                
                        
DBUG[04-27|08:09:08] Updating images                                            
                                                                                
                        
INFO[04-27|08:09:08] REST API daemon:                                           
                                                                                
                        
INFO[04-27|08:09:08]  - binding Unix socket                   
socket=/var/lib/lxd/unix.socket                                                 
                                          
DBUG[04-27|08:09:08] Done pruning expired images                                
                                                                                
                        
DBUG[04-27|08:09:08] Processing image                         
fp=0b06c2858e2efde5464906c93eb9593a29bf46d069cf8d007ada81e5ab80613c 
server=https://cloud-images.ubuntu.com/daily protocol=simplestreams 
alias=xenial                                                                    
                                                                                
          
EROR[04-27|08:09:08] Error loading image                      err="sql: no rows 
in result set" fp=                                                              
                        
DBUG[04-27|08:09:08] Processing image                         
fp=b69c9370446a28c02ad5b0d41f07e028a1756a74bee62b7d59467201a6488fc2 
server=https://cloud-images.ubuntu.com/releases protocol=simplestreams 
alias=default                                                                   
                                                                                
       
EROR[04-27|08:09:08] Error loading image                      fp= err="sql: no 
rows in result set"

-- 
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