** Also affects: linux-kvm (Ubuntu Jammy)
Importance: Undecided
Status: New
** Also affects: linux-kvm (Ubuntu Noble)
Importance: Undecided
Status: New
** Also affects: linux-kvm (Ubuntu Oracular)
Importance: Undecided
Status: New
** Package changed: linux-kvm (Ubuntu Jammy) => cloud-init (Ubuntu
Jammy)
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/1982780
Title:
Missing dm-thin-pool Causes LXD LVM Failure
Status in cloud-init package in Ubuntu:
New
Status in cloud-init source package in Jammy:
New
Status in cloud-init source package in Noble:
New
Status in cloud-init source package in Oracular:
New
Bug description:
Summary:
Missing dm-thin-pool.ko causes LXD failure.
1) Release
root@jammy-vm:~# lsb_release -rd
Description: Ubuntu Jammy Jellyfish (development branch)
Release: 22.04
2) Package
root@jammy-vm:~# apt-cache policy linux-modules-5.15.0-1002-kvm
linux-modules-5.15.0-1002-kvm:
Installed: 5.15.0-1002.2
Candidate: 5.15.0-1002.2
Version table:
*** 5.15.0-1002.2 500
500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
100 /var/lib/dpkg/status
3) What I expect to happen
The following command should succeed.
lxd init --auto --storage-backend=lvm
4) What happened:
Lxd's default lvm storage backend fails on linux-kvm due to missing
dm-thin-pool.ko.
Output:
root@jammy-vm:~# uname -a
Linux jammy-vm 5.15.0-1002-kvm #2-Ubuntu SMP Wed Feb 9 10:14:12 UTC 2022
x86_64 x86_64 x86_64 GNU/Linux
root@jammy-vm:~# modinfo dm-thin-pool
modinfo: ERROR: Module dm-thin-pool not found.
root@jammy-vm:~# lxd init --auto --storage-backend=lvm
Error: Failed to create storage pool 'default': Error creating LVM thin pool
named "LXDThinPool": Failed to run: lvcreate --yes --wipesignatures y
--poolmetadatasize 1G --thinpool default/LXDThinPool --extents 100%FREE:
modprobe: FATAL: Module dm-thin-pool not found in directory
/lib/modules/5.15.0-1002-kvm
/sbin/modprobe failed: 1
thin-pool: Required device-mapper target(s) not detected in your kernel.
Run `lvcreate --help' for more information.
I haven't found any -kvm kernels yet that have this kmod, so I suspect
a backport of the fix will be required to supported releases.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1982780/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp