<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, May 17, 2017 at 7:59 AM, CLOSE Dave <span dir="ltr"><<a href="mailto:Dave.Close@us.thalesgroup.com" target="_blank">Dave.Close@us.thalesgroup.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Instructions modified to handle the company proxy per<br>
<<a href="https://insights.ubuntu.com/2016/03/16/lxd-2-0-installing-and-configuring-lxd-212/" rel="noreferrer" target="_blank">https://insights.ubuntu.com/<wbr>2016/03/16/lxd-2-0-installing-<wbr>and-configuring-lxd-212/</a>>:<br>
<br>
   # lxc config set core.proxy_http <a href="http://squid01.internal:3128" rel="noreferrer" target="_blank">http://squid01.internal:3128</a><br>
   # lxc config set core.proxy_https <a href="http://squid01.internal:3128" rel="noreferrer" target="_blank">http://squid01.internal:3128</a><br>
   # lxc config set core.proxy_ignore_hosts image-server.local<br>
<br></blockquote><div><br></div><div>I assume the proxy address is modified correctly to your real proxy?</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
(All values shown per the original pages. I modified them to use a valid<br>
user name and the correct local proxy.)<br>
<br>
Everything works /except/ the launch command. I can list the images<br>
available so I'm getting through the proxy and accessing the correct<br>
</blockquote><div><br></div><div>IIRC some commands are executed as the client (lxc command run by the user), while others are run by lxd (lxc tells lxd to run something). "lxc launch" should belong to the second category.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">site. But the launch reports,<br>
<br>
   $ lxc launch images:fedora/25<br>
   Creating joint-hamster<br>
   Retrieving image: metadata: 100% (1.80GB/s)<br>
   error: Unable to fetch <a href="https://images.linuxcontainers.org/images/fedora" rel="noreferrer" target="_blank">https://images.<wbr>linuxcontainers.org/images/<wbr>fedora</a><br>
     /25/amd64/default/20170505_02:<wbr>42/rootfs.tar.xz:<br>
     503 Service Unavailable<br>
<br>
Is the service actually running (I've seen this result for 24 hours)? </blockquote><div><br></div><div><br></div><div>Try accessing the file directly. Works for me.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Am<br>
I making some other mistake?<br></blockquote><div><br></div><div>- doublecheck your proxy setup, in case there's a typo somewhere</div><div>- check your proxy logs</div><div>- check /var/log/lxd/lxd.log (or wherever that is in fedora), look for errors</div><div><br></div><div>-- </div><div>Fajar</div><div><br></div></div></div></div>