This bug was fixed in the package ubuntu-fan - 0.12.3 --------------- ubuntu-fan (0.12.3) artful; urgency=medium
* fanatic: Prevent error message without docker installed (LP: #1691485) * fanatic: Supply LXD storage if needed (LP: #1691490) * dep8: Add LXD auto-test -- Stefan Bader <stefan.ba...@canonical.com> Mon, 22 May 2017 14:02:34 +0200 ** Changed in: ubuntu-fan (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to ubuntu-fan in Ubuntu. https://bugs.launchpad.net/bugs/1691490 Title: fanatic needs to provide storage option for LXD tests Status in ubuntu-fan package in Ubuntu: Fix Released Status in ubuntu-fan source package in Zesty: Fix Committed Bug description: Release: 17.04/Zesty Version: 0.12.2 The lxc interface changed and now requires --storage when creating a new container. Fix: Get the list of available storages and if this succeeds, use the first one as default for creating the test container. SRU justification: Impact: In Zesty (and later) the CLI of LXD changed. There is now a storage command and creating a container expects the storage pool which should be used to be provided via the --pool argument. Fix: Added a function which returns the first storage pool found by calling "lxc storage list". For older versions of LXD this command fails and returns an error (+ empty string). In that case the "lxc launch" command, which is called later will be used without any --pool option (which is as it was before the CLI change). With this things should work with the old CLI and the new one and regression potential should be low. Testcase: - [with LXD installed and configured] - fanatic enable-fan ... - fanatic enable-lxd ... - fanatic test-local-lxd ... To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-fan/+bug/1691490/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp