Fix problem with 'storage.zfs_pool_name' being removed from lxd 3
Cherry-pick from master: f1bbc03b65ab8af25be5fa982e3ac24ba591bee9
LXD 3.x onwards removes the key 'storage.zfs_pool_name' from the config.
This means the storage_pool API needs to be used to get the name of the
pool that juju is using for ZFS. This is a temporary fix until storage
pools can be threaded into nova-lxd properly. This occurs on bionic due
to LXD 3 being shipped as standard.
Reviewed: https:/ /review. openstack. org/584900 /git.openstack. org/cgit/ openstack/ nova-lxd/ commit/ ?id=84a8c59be69 cb0c2c473eb3307 985264b4fba98f
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 84a8c59be69cb0c 2c473eb33079852 64b4fba98f
Author: Alex Kavanagh <email address hidden>
Date: Thu Jul 19 15:04:30 2018 +0100
Fix problem with 'storage. zfs_pool_ name' being removed from lxd 3
Cherry-pick from master: f1bbc03b65ab8af 25be5fa982e3ac2 4ba591bee9
LXD 3.x onwards removes the key 'storage. zfs_pool_ name' from the config.
This means the storage_pool API needs to be used to get the name of the
pool that juju is using for ZFS. This is a temporary fix until storage
pools can be threaded into nova-lxd properly. This occurs on bionic due
to LXD 3 being shipped as standard.
Change-Id: Ic80ad942759718 785b62e4fc887de d0a345bb260
Related-Bug: #1782329