Activity log for bug #1793137

Date Who What changed Old value New value Message
2018-09-18 12:22:58 Alex Kavanagh bug added bug
2018-09-18 12:23:35 Alex Kavanagh bug task added charm-lxd
2018-09-18 12:26:37 Alex Kavanagh charm-lxd: assignee Alex Kavanagh (ajkavanagh)
2018-09-18 12:26:42 Alex Kavanagh charm-lxd: importance Undecided Critical
2018-09-18 12:26:48 Alex Kavanagh charm-lxd: status New In Progress
2018-09-18 12:27:41 Corey Bryant bug task added cloud-archive
2018-09-18 12:27:51 Corey Bryant nominated for series cloud-archive/queens
2018-09-18 12:27:51 Corey Bryant bug task added cloud-archive/queens
2018-09-18 12:27:51 Corey Bryant nominated for series cloud-archive/rocky
2018-09-18 12:27:51 Corey Bryant bug task added cloud-archive/rocky
2018-09-18 12:29:13 Corey Bryant bug task added nova-lxd (Ubuntu)
2018-09-18 12:29:23 Corey Bryant nominated for series Ubuntu Cosmic
2018-09-18 12:29:23 Corey Bryant bug task added nova-lxd (Ubuntu Cosmic)
2018-09-18 12:29:23 Corey Bryant nominated for series Ubuntu Bionic
2018-09-18 12:29:23 Corey Bryant bug task added nova-lxd (Ubuntu Bionic)
2018-09-18 12:30:11 Corey Bryant nova-lxd (Ubuntu Bionic): status New Triaged
2018-09-18 12:30:14 Corey Bryant nova-lxd (Ubuntu Cosmic): status New Triaged
2018-09-18 12:30:17 Corey Bryant cloud-archive/rocky: status New Triaged
2018-09-18 12:30:19 Corey Bryant cloud-archive/queens: status New Triaged
2018-09-18 12:30:22 Corey Bryant cloud-archive/queens: importance Undecided High
2018-09-18 12:30:24 Corey Bryant cloud-archive/rocky: importance Undecided High
2018-09-18 12:30:26 Corey Bryant nova-lxd (Ubuntu Bionic): importance Undecided High
2018-09-18 12:30:28 Corey Bryant nova-lxd (Ubuntu Cosmic): importance Undecided High
2018-09-18 12:31:42 Corey Bryant summary Fix for KeyError: 'storage.zfs_pool_name' only partially successful -- needs changes [SRU] Fix for KeyError: 'storage.zfs_pool_name' only partially successful -- needs changes
2018-09-18 12:32:42 Corey Bryant description The issue is that the fix was only partially successful, in that whilst it avoids the 'storage.zfs_pool_name', the other branch of code doesn't get the zfs pool name, but instead the lxd pool name; if they are different then it fails. The LXD charm used different names (it's now being patched to use the same name for the lxd pool and zfs pool), which broke nova-lxd on bionic. The code in question is in nova/virt/lxd/driver.py in get_available_resource(self, nodename) around line 1057: try: pool_name = lxd_config['config']['storage.zfs_pool_name'] except KeyError: pool_name = CONF.lxd.pool local_disk_info = _get_zpool_info(pool_name) i.e. storage.zfs_pool_name vs CONF.lxd.pool When nova-lxd is properly refactored for storage pools, this issue should be resolved. [Impact] The issue is that the fix was only partially successful, in that whilst it avoids the 'storage.zfs_pool_name', the other branch of code doesn't get the zfs pool name, but instead the lxd pool name; if they are different then it fails. The LXD charm used different names (it's now being patched to use the same name for the lxd pool and zfs pool), which broke nova-lxd on bionic. The code in question is in nova/virt/lxd/driver.py in get_available_resource(self, nodename) around line 1057:             try:                 pool_name = lxd_config['config']['storage.zfs_pool_name']             except KeyError:                 pool_name = CONF.lxd.pool             local_disk_info = _get_zpool_info(pool_name) i.e. storage.zfs_pool_name vs CONF.lxd.pool When nova-lxd is properly refactored for storage pools, this issue should be resolved. [Test Case] [Regression Potential] [Discussion]
2018-09-20 09:09:29 Alex Kavanagh charm-lxd: status In Progress Fix Committed
2018-11-20 00:28:11 David Ames charm-lxd: milestone 19.04
2019-04-17 21:54:48 David Ames charm-lxd: status Fix Committed Fix Released
2020-09-08 14:04:57 Chris MacNaughton nova-lxd: status New Won't Fix
2020-09-08 14:05:00 Chris MacNaughton cloud-archive: status Triaged Won't Fix
2020-09-08 14:05:02 Chris MacNaughton cloud-archive/queens: status Triaged Won't Fix
2020-09-08 14:05:08 Chris MacNaughton cloud-archive/rocky: status Triaged Won't Fix
2021-01-08 15:47:35 Chris MacNaughton nova-lxd (Ubuntu): status Triaged Won't Fix
2021-01-08 15:47:40 Chris MacNaughton nova-lxd (Ubuntu Cosmic): status Triaged Won't Fix
2021-01-08 15:47:44 Chris MacNaughton nova-lxd (Ubuntu Bionic): status Triaged Won't Fix