Commit Graph

13 Commits

Author SHA1 Message Date
James Page 6603a7f323 Retire master branch of nova-lxd
Drop content and replace with retirement notice.

Change-Id: I2de2eff7694d60597a6413a0a64124fbbede69bb
2019-07-23 13:56:57 +01:00
Alex Kavanagh bd4378a74f Allow nova-lxd to also use mount & umount in rootwrap
For config drive purposes, nova-lxd needs to call mount and umount.
These need to be added to the rootwrap.d/lxd.filters file.

Change-Id: Id04558cc57c95d09e23f17208c5e275fc9702504
Closes-Bug: #1747720
2018-05-15 18:25:46 +01:00
James Page aaa8b60215 Redux use of InstanceInfo object
Recent changes in Nova [0] remove a number of parameters from the
InstanceInfo object; re-align the nova-lxd driver to not provide
these values when constructing this object.

Also add chown & chmod to rootwrap configuration file until
nova-lxd moves to using privsep rather than rootwrap.

Include minor change to .testr.conf to deal with switch to
stestr (via os-testr).

[0] I5fe5c8121800e2b8da0860d53d818b7bd83c9e9d

Change-Id: I21caccaeb8794d1ee82956bd8c897b3f1cc366b0
2017-09-12 10:21:17 -06:00
James Page 02ce341738 Report ZFS pool capacity and usage statistics
When LXD is using a ZFS backend, correctly report disk stats
based on the usage of the ZFS pool rather than the usage of
the filesystem at /var/lib/lxd.

Change-Id: I2f2b843156cdc47c2f3324d69c384f943a0e1499
Closes-Bug: 1680869
2017-04-07 17:17:41 +01:00
Chuck Short 17dfe8e8d9 Update filters
Add btrfs to filters.

Change-Id: Ifa6ad89b3ff7a855f68c28fbe9119e4724afe291
Signed-off-by: Chuck Short <chuck.short@canonical.com>
2016-07-22 12:15:44 -04:00
Chuck Short 3f9f39e32b Add support for zfs backend
Add support for zfs ephemeral storage backends. Also
use nova.virt.driver.block_device_info_get_ephemerals
method for determining ephemeral information.

Change-Id: Ie85e12ca22118e6439e9ebfd88af1ed53bfaebd7
Signed-off-by: Chuck Short <chuck.short@canonical.com>
2016-07-14 12:24:21 -04:00
Chuck Short 132c9f96a5 Remove uneeded file
Remove lxd.template. This used long long time ago.

Change-Id: I15f3380a70ccfb5bd8cabcb4f84e440d6eb64d11
Signed-off-by: Chuck Short <chuck.short@canonical.com>
2016-07-12 13:48:29 -04:00
Chuck Short 9649113f72 Update filters
Signed-off-by: Chuck Short <chuck.short@canonical.com>
2015-04-18 20:43:14 -04:00
Chuck Short b133e41f59 Fix template
Signed-off-by: Chuck Short <chuck.short@canonical.com>
2015-02-20 11:17:10 -05:00
Chuck Short f3d0bd561b Config fix ups
Signed-off-by: Chuck Short <chuck.short@canonical.com>
2015-02-20 09:40:58 -05:00
Chuck Short 5a3c5cd5af Add missing btrfs
Signed-off-by: Chuck Short <chuck.short@canonical.com>
2015-02-03 09:13:12 -05:00
Chuck Short 23f84e3a20 Update filters
Signed-off-by: Chuck Short <chuck.short@canonical.com>
2015-01-12 12:31:09 -05:00
Chuck Short ce54272ad4 Frist commit
Signed-off-by: Chuck Short <chuck.short@canonical.com>
2015-01-09 11:33:42 -05:00