openstack-ansible-os_nova/releasenotes/notes/default-lxd-pool-1aa179bd77868cb0.yaml
Jonathan Rosser 14572c3153 Fix nova-lxd tests for bionic.
This patch adjusts the nova-lxd deployment so that it works correctly
with LXD3 and bionic.

* Update the zuul job and project config to switch from xenial to bionic.

* Change the variable lxd_storage_pool to always have a defined value
  in the role defaults. This variable represents the name of the LXD
  storage pool which is distinct from any names associated with underlying
  storage. LXD storage pools created with 'lxd init' are always called 'default'.

* Switch the role test storage backend from dir to ZFS. nova-lxd is
  currently not working for the dir backend as it expects the storage
  subsystem to support quotas.

* Due to limitiations in nova-lxd it is necessary to ensure that the
  LXD storage pool name and ZFS pool names are both set to 'default'.

Closes-Bug: #1800837
Change-Id: If1e48bb2e789e13f20435da19907b5adb7c1ef1f
2018-11-20 20:55:52 +00:00

12 lines
584 B
YAML

---
features:
- |
The nova configuration is updated to always specify an LXD storage pool
name when 'nova_virt_type' is 'lxd'. The variable 'lxd_storage_pool' is
defaulted to 'default', the LXD default storage pool name. A new variable
'lxd_init_storage_pool' is introduced which specifies the underlying
storage pool name. 'lxd_init_storage_pool' is used by lxd init when setting
up the storage pool. If not provided, lxd init will not use this parameter
at all. Please see the lxd man page for further information about the
storage pool parameter.