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

** Changed in: ubuntu-fan (Ubuntu Zesty)
   Importance: Undecided => Medium

** Changed in: ubuntu-fan (Ubuntu Zesty)
       Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1691490

Title:
  fanatic needs to provide storage option for LXD tests

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-fan/+bug/1691490/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to