← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2036861] Re: shiftfs-lxd.sh test in ubuntu_overlayfs_smoke_test failed with J-oem-6.5

 

I found some discussion on the Internet
https://discuss.linuxcontainers.org/t/lxd-5-12-zfs-stopped-working-in-
lxd-error-required-tool-zpool-is-missing-when-kernel-zfs-module-
version-0-8/16753/17

It looks like it's the 5.0 stable lxd on Jammy is too old for this
$ sudo snap list
Name    Version        Rev    Tracking       Publisher   Notes
core20  20230801       2015   latest/stable  canonical✓  base
lxd     5.0.2-838e1b2  24322  5.0/stable/…   canonical✓  -
snapd   2.60.3         20092  latest/stable  canonical✓  snapd

If I remove lxd and install it again, this will work.

So I think we can fix our test case with:
  sudo snap refresh lxd --channel=latest

-- 
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
https://bugs.launchpad.net/bugs/2036861

Title:
  shiftfs-lxd.sh test in ubuntu_overlayfs_smoke_test failed with
  J-oem-6.5

Status in ubuntu-kernel-tests:
  New

Bug description:
  This was failing due to the lack of ZFS support (LP: #2031269).

  With ZFS support added to the kernel in 6.5.0-1004 this is still failing:
   Running 'sudo -iu ubuntu /home/ubuntu/autotest/client/tmp/ubuntu_overlayfs_smoke_test/src/overlay-shiftfs-tests/tests/shiftfs-lxd.sh'
   Error: Required tool 'zpool' is missing
   Creating c1
   Error: Failed loading storage pool "zfs": Storage pool not found
   Error: Instance not found
   FAIL
   Error: Instance not found
   Error: Failed checking instance exists "local:c1": Instance not found
   Error: Storage pool not found

  We have also fixed the lxd update issue
  https://git.launchpad.net/~canonical-kernel-team/+git/overlay-shiftfs-
  tests/commit/?id=13d28992b5513c984c7c8b1467e6bd8d66ee5c93

  And the zpool command exists. I will need to investigate on this.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2036861/+subscriptions



References