shiftfs-lxd.sh in ubuntu_overlayfs_smoke_test failed with "Required tool 'zpool' is missing"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
lxd (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Issue found in cycle 2024.04.01 with F-gkeop (5.4.0-1091.95), F-oracle (5.4.0-1123.132)
Test log
Running 'sudo -iu ubuntu /home/ubuntu/
Error: Required tool 'zpool' is missing
Creating c1
Error: Failed loading storage pool "zfs": Storage pool not found
Error: Failed to fetch instance "c1" in project "default": Instance not found
FAIL
Error: Failed to fetch instance "c1" in project "default": Instance not found
Error: Failed checking instance exists "local:c1": Failed to fetch instance "c1" in project "default": Instance not found
Error: Storage pool not found
This is the failing command in shiftfs-lxd.sh:
$ sudo lxc storage create zfs zfs size=2GiB
Error: Required tool 'zpool' is missing
$ snap list lxd
Name Version Rev Tracking Publisher Notes
lxd 5.21.1-43998c6 28155 latest/stable canonical✓ -
This issue does not exist in 2024.03.04 cycle for these two kernels.
Related branches
- Francis Ginther: Approve
-
Diff: 26 lines (+8/-1)1 file modifiedinstall-deps (+8/-1)
tags: | added: 5.4 focal sru-20240401 ubuntu-overlayfs-smoke-test |
description: | updated |
description: | updated |
I tried the same command with Focal 5.4.0-1089-gkeop in 2024.03.04 cycle, and it's failing with the same issue.
$ sudo lxc storage create zfs zfs size=2GiB gkeop-5- 4-e2hcpu8- u-overlayfs- smk-test 5.4.0-1089-gkeop #93-Ubuntu SMP Wed Mar 13 18:13:26 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Error: Required tool 'zpool' is missing
$ uname -a
Linux f-lgkeop-
This looks like a regression in LXD to me.