Your message dated Wed, 08 Mar 2023 03:19:42 +0000
with message-id <[email protected]>
and subject line Bug#1032482: fixed in lxd 5.0.2-3
has caused the Debian Bug report #1032482,
regarding LXD - issue with btrfs backend loop file
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1032482: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1032482
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lxd
Severity: important
Hello,
I had an issue when using a btrfs backend loop file.
To confirm the issue, I bootstrapped a fresh Deb12 install. This is
the method to reproduce the issue.
After installed lxd,btrfs-progs and done the init wizard :
lxc storage create pool_btrfs_1 btrfs size=50GiB
lxc profile device add default root disk path=/ pool=pool_btrfs_1
lxc profile device add default ethlan nic name=ethlan nictype=bridged
parent=brlan
lxc init images:debian/12 Deb12test -v
All seems to be fine, trying to limit storage for this container
lxc config device override Deb12test root size=20GiB
Error: Failed to update device "root": Failed to run: btrfs qgroup
create 0/257 /var/lib/lxd/storage-pools/pool_btrfs_1/containers/Deb12test:
exit status 1 (ERROR: unable to create quota group: File exists)
I've the issue
Try to create a new container
lxc init images:debian/12 Deb12test2 -v
Creating Deb12test2
Error: Failed instance creation: Failed creating instance from image:
Failed to run: btrfs qgroup create 0/256
/var/lib/lxd/storage-pools/pool_btrfs_1/images/3971d4f65afc45437f1a688151487848e966088de60e995d9a6e638e292bae71:
exit status 1 (ERROR: unable to create quota group: File exists)
Issue again, no more action possible :(
After some previous tests I discovered this issue is related to btrfs 6.
Downgrade it :
wget
http://snapshot.debian.org/archive/debian/20220922T121957Z/pool/main/b/btrfs-progs/btrfs-progs_5.19.1-1_amd64.deb
dpkg -i btrfs-progs_5.19.1-1_amd64.deb
(no reboot performed)
lxc init images:debian/12 Deb12test2 -v
Creating Deb12test2
lxc config device override Deb12test root size=20GiB
Device root overridden for Deb12test
All works fine !
I found this issue on LXD tracker https://github.com/lxc/lxd/issues/11210
Therefore, changelog of 5.0.2 seems have the fix :
https://linuxcontainers.org/lxd/news/#lxd-502-lts-has-been-released
"lxd/storage/drivers/driver/btrfs/utils: Fix getQGroup to suport BTRFS >= 6.0.1"
I will also try to inform upstream devs. I will keep you if I have
news from them.
Sylvain
--- End Message ---
--- Begin Message ---
Source: lxd
Source-Version: 5.0.2-3
Done: Mathias Gibbens <[email protected]>
We believe that the bug you reported is fixed in the latest version of
lxd, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Mathias Gibbens <[email protected]> (supplier of updated lxd package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 08 Mar 2023 02:27:33 +0000
Source: lxd
Architecture: source
Version: 5.0.2-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team <[email protected]>
Changed-By: Mathias Gibbens <[email protected]>
Closes: 1032482
Changes:
lxd (5.0.2-3) unstable; urgency=medium
.
* Cherry-pick upstream commit to fix issue with btrfs-progs >= 6.0
(Closes: #1032482)
* Document known issue with virtual machines not working with QEMU 7.2
(See: #1030365)
Checksums-Sha1:
ec45ebb5a29ccd544b1453c17ef152051963e103 3949 lxd_5.0.2-3.dsc
79dc1d52d6e2975914114c6927807b6556161cba 3280313 lxd_5.0.2.orig.tar.gz
e49f9a16a46184817e1201d936b34555c4bc5d0d 16556 lxd_5.0.2-3.debian.tar.xz
2c26b97447695f601416418618c41f5d0e4b66a6 21850 lxd_5.0.2-3_amd64.buildinfo
Checksums-Sha256:
e3df77dd3e26a8840fb59fd48421d0312923ed9c64911888f50406af201cc26b 3949
lxd_5.0.2-3.dsc
7e59ba843b43b6863b7b88076b1c15b699e7583f8ee575fe35f26ea1b7ce83a9 3280313
lxd_5.0.2.orig.tar.gz
0549399486c6fe2c6b7e4c468e884af236bb740eeb6c160676323636e4b4aceb 16556
lxd_5.0.2-3.debian.tar.xz
3d94d21502003af01219ca499ddd9e7c64a0934119b08b7d94091295ea9155a8 21850
lxd_5.0.2-3_amd64.buildinfo
Files:
42c7d8d5ab88341bc3079aa5149bda17 3949 admin optional lxd_5.0.2-3.dsc
35087b78cebc2f758da4c84d036231d6 3280313 admin optional lxd_5.0.2.orig.tar.gz
d15f5f8c7e2cae7e25b6d954fd4f4560 16556 admin optional lxd_5.0.2-3.debian.tar.xz
7d833294283932bd9faf986539d0d092 21850 admin optional
lxd_5.0.2-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCgAwFiEE1Bp60H32xfynSJ8cKe7i1uz0QvkFAmQH+GESHGdpYm1hdEBk
ZWJpYW4ub3JnAAoJECnu4tbs9EL5oAQQALpDePZzYKjaZL44uYSQfLRULoaFASM1
JwXBGeJ3QTo/eSXg9oq1ScxJf2WR7TRRfgevugU1h/C5vxF638B9xyT5WWTR/raq
eHoh0GI2EQ9lIDeZ3VWnvxaYGp/GW9UeUQIcWUWIm8fZ1/34rUroWUZKuBJuUwt8
P9/edOegq4wc9r4Z1pQ/O9DIj+63lHbsi8YWssalnZIN6V2tjlxPDvqKdmJXpPtg
5e8X6gN5vXCRlqFcznqR+ZR9gDQlGPEdG0v5LR2Um+oUEBXVFKA0Xi1iTNs91QzG
Z/P7rQX+SuYYVm/H29NQSucFW9Exu3v2Nk5uQNRm0by0hQB1onZnIKSN1TvQILa+
vgQUP9fcheZQ52plOweFhYisr5DtboAdboBVnNmMHssrsK7/+FchQHyZoeKRbt8i
kCCdH6wZXWpR7qOG3YDD4DRecVwzLlb8ik0U/qZbZ3Lz3bO0pEyKPEJ/ly1uISrv
PxzHY6SyLH7GDyjOyqShe17mLMqfBOl3MeZM1Kj2Yr/V2iK469r4KgkGOF9KcebY
tu0W1tk1nYDxghoJ0Jq+I+lPiBbaZQYDQKUIjqqDRfAOs9A8vZ1iZFAarpMKmRTg
fmZXkktz7GqlJAUsZUEoWtsMGMzil2WxKpf9kpMzR7/8FPkHIUF8pmwk4rwwDApk
cF+324JOEWT2
=t1VN
-----END PGP SIGNATURE-----
--- End Message ---