Public bug reported: When I try to pass lxc (from lxd-client) a set of templates and root tarball to import an image using a URL it balks because the URL is not https:
ubuntu@xwing:~$ lxc image import http://10.0.0.1/cloud/xenial-server-cloudimg-amd64-lxd.tar.xz rootfs http://10.0.0.1/cloud/xenial-server-cloudimg-amd64-root.tar.xz --alias xenial error: Only https:// is supported for remote image import. This makes it impossible to host my own store of LXD images on a local MAAS server, without having some sort of SSL (and MAAS does not provide https support). My use case is that I have a MAAS server that I need to use in a completely offline environment, NO INTERNET ACCESS IS ALLOWED. So I have a working MAAS 2.1.x server that hosts a mirror of main and universe (including -updates and -security), mirrors of some PPAs and it serves some cloud and now LXD images via apache. Every piece of this works except for the LXD bits, which don't work because MAAS doesn't provide an https facility, and it's not reasonable to set one up just for this. I should be able to override this behaviour at the very least, perhaps a --nonsecure option to force it to accept non-secure URLs so that I have to explicitly override the feature. Otherwise, I am forced to copy the image to my machine manually before I can import it into LXD, which is not somethin I should have to do. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: lxd-client 2.0.8-0ubuntu1~ubuntu16.04.2 ProcVersionSignature: Ubuntu 4.4.0-51.72-generic 4.4.30 Uname: Linux 4.4.0-51-generic x86_64 NonfreeKernelModules: zfs zunicode zcommon znvpair zavl ApportVersion: 2.20.1-0ubuntu2.5 Architecture: amd64 CurrentDesktop: Unity Date: Wed Jan 25 16:30:50 2017 Dependencies: gcc-6-base 6.0.1-0ubuntu1 libc6 2.23-0ubuntu5 libgcc1 1:6.0.1-0ubuntu1 InstallationDate: Installed on 2016-02-11 (349 days ago) InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160210) SourcePackage: lxd UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: lxd (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1659418 Title: lxd-client should accept images from non-SSL URLs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1659418/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
