[lxc-users] LXD launch fails
Fajar A. Nugraha
list at fajar.net
Wed May 17 04:57:46 UTC 2017
On Wed, May 17, 2017 at 7:59 AM, CLOSE Dave <Dave.Close at us.thalesgroup.com>
> Instructions modified to handle the company proxy per
> # lxc config set core.proxy_http http://squid01.internal:3128
> # lxc config set core.proxy_https http://squid01.internal:3128
> # lxc config set core.proxy_ignore_hosts image-server.local
I assume the proxy address is modified correctly to your real proxy?
> (All values shown per the original pages. I modified them to use a valid
> user name and the correct local proxy.)
> Everything works /except/ the launch command. I can list the images
> available so I'm getting through the proxy and accessing the correct
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.
> site. But the launch reports,
> $ lxc launch images:fedora/25
> Creating joint-hamster
> Retrieving image: metadata: 100% (1.80GB/s)
> error: Unable to fetch https://images.linuxcontainers.org/images/fedora
> 503 Service Unavailable
> Is the service actually running (I've seen this result for 24 hours)?
Try accessing the file directly. Works for me.
> I making some other mistake?
- doublecheck your proxy setup, in case there's a typo somewhere
- check your proxy logs
- check /var/log/lxd/lxd.log (or wherever that is in fedora), look for
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lxc-users