Your message dated Sun, 06 Nov 2022 00:06:45 +0000 with message-id <[email protected]> and subject line Bug#999739: fixed in fai 6.0~alpha21 has caused the Debian Bug report #999739, regarding fai-setup-storage: BTRFS-RAID on NVMe fails to install 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.) -- 999739: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=999739 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: fai-setup-storage Version: 5.8.4 Severity: normal Tags: patch Dear Maintainer, I observed an issue trying to setup an BTRFS RAID on NVMe disks. I have used FAI version 5.8.4, however, I think that the bug is still present in version 5.10.3. My disk configuration (I deliberately have the 2nd partition unconfigured): disk_config disk1 disklabel:gpt-bios fstabkey:uuid primary - 32G - - primary - -100% - - disk_config disk2 sameas:disk1 disk_config btrfs fstabkey:uuid btrfs raid1 / disk1.1,disk2.1 rw,degraded,noatime,nodiratime,compress=lzo,subvol=@ createopts="-L root" Installing this on a machine with two disks /dev/nvme0n1 and /dev/nvme1n1 terminated with the error: Cannot satisfy pre-depends for mkfs.btrfs -d raid1 -L root -f \ /dev/nvme1n1p1 /dev/nvme0n1p1: pt_complete_/dev/nvmen1p1, -- \ system left untouched. Looking into /usr/share/fai/setup-storage/Commands.pm, sub "build_btrfs_commands", I noticed that line 365 (`$tmp =~ s/\d//;`) apparently tries to strip the partition number off a partition path. This is, unfortunately, too simple for these NVMe disks. I changed the regular expression to only strip the partition no at the end, including any preceding "p": $tmp =~ s/p?\d+$//; At least my system could install successfully with this patch. It would, however, now fail for "/dev/sdpX", so maybe the regex should explicitly handle NVMe disks. Best, Maximilian
--- End Message ---
--- Begin Message ---Source: fai Source-Version: 6.0~alpha21 Done: Thomas Lange <[email protected]> We believe that the bug you reported is fixed in the latest version of fai, 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. Thomas Lange <[email protected]> (supplier of updated fai 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: SHA256 Format: 1.8 Date: Tue, 01 Nov 2022 10:35:51 +0100 Source: fai Architecture: source Version: 6.0~alpha21 Distribution: experimental Urgency: low Maintainer: Thomas Lange <[email protected]> Changed-By: Thomas Lange <[email protected]> Closes: 844377 951659 977832 985303 987779 989547 990211 990633 999739 1000572 1005745 1006847 1010593 1010906 1011642 1020976 Changes: fai (6.0~alpha21) experimental; urgency=low . [ Thomas Lange ] * fai-do-scripts: write output of all scripts to scripts.log, remove code for old cfengine versions (1 and 2) * fai-make-nfsroot: drop support for .asc files, use only .gpg * add autopkgtest * install_packages: add release=<name> feature, Closes: #844377, add pacman support * fetch-basefile: use curl instead of lftp for downloading * Commands.pm: special handling of nvme devices, Closes: #999739, quote variables, Closes: #977832, remove old code need by old version of mkfs.btrfs and lvcreate * fai-mk-network: usie iproute commands instead of brctl * fai-make-nfsroot: add dracut modul network-legacy, Closes: #1010906 do not kill dhclient, Closes: #987779, drop support for dracut < 049, patch udev rule of lvm for bullseye, include empty machine-id into base.tar * Exec.pm: better error message, Closes: #1005745 * fcopy: handle broken symlinks, Closes: #985303 * fai-chboot: add variable substitution when coping a template, add option -a * fai-class: use of .source scripts now emits an error * fai-kvm: add -M for creating NVMe devices * fai-mirror: use only first line of bpo in sources.list, Closes: #1006847, print number of packages inside the mirror * fai-diskimage: call losetup with -P, Closes: #1010593, do not remove VGs, deactivate them, Closes: #990633, add option -c, print error if umount fails, increase number of tries * fai-cd: set TMPDIR for chroot, Closes: #1000572 * fai-setup: create ECDSA keys * Fstab.pm: support tmpfs size -, this uses the system default size for tmpfs, Closes: #951659 * setup-storage: add support for fstabkey:partlabel and fstabkey:partuuid, remove crypto keyfile after use * enhance disk_config format for partition label support * ftar: add support for zstd * fai: check if unshare can be used, Closes: #989547 use only IPv4 address as hostname remove code for deprecated taskname prepareapt * watch: update to version 4, use new url * install_packages: parse apt-cache output, Closes: #990211 * subroutines: umount tmpfs if config space was downloaded via http, Closes: #1011642 * task_sysinfo: print machine readable partition information, do not call commands that modify the system if no run in FAI environment, print battery information * subroutines: add help functions: ctam (Chroot TArget Mount pseudo filesystems) ctau (Chroot TArget Umount) ctai (Chroot TArget Into) rm_target (remount /target read-write) * NFSROOT: cleanup package list, add cryptsetup * update my email address * mk-basefile: remove /var/lib/dbus/machine-id, use zstd instead of gzip * simple/examples: use fai-link and fai-sed instead of ln and sed, remove cryptsetup passphrase from logs, use class ROCKY instead of CENTOS, update Ubuntu support to 22.04, add CLOUD_EFI, use ext4 for /boot in LVM examples * get-boot-info: set NIC1 even if no network is used during installation . [ Mike Gabriel ] * fai-abort:give job control to bash, Closes: #1020976 . [ Juri Grabowski ] * install_packages: add support for alpine Linux apk and Archlinux pacman . [ Guido Günther ] * subroutines: allow one to pass a debootstrap script in FAI_DEBOOTSTRAP . [ Christian Meyer ] * fai-setup: add ECDSA-key to known_hosts . [ Aki Tuomi ] * check-cross-arch: fail on errors and unbound variables . [ Hannes Eberhardt ] * package_config/ROCKY: update EFI packages Checksums-Sha1: 674897c217fddb8ecb8d60988b11a6d5003291bf 2094 fai_6.0~alpha21.dsc dadbce601b35d10861555016eafd1f2dc3ad57f6 292776 fai_6.0~alpha21.tar.xz 52ce7e0ca0b47abff0eab60f3badcd3370e74525 16335 fai_6.0~alpha21_amd64.buildinfo Checksums-Sha256: 4738945c7c375c4682740044b614ccbd830e3a93ba0523390e8397c404b1493b 2094 fai_6.0~alpha21.dsc 50b7f48d475beab3f951ca69a66c5a6c9dba51b33ee0449dd522c2c75a349d0c 292776 fai_6.0~alpha21.tar.xz 47db447a69cd91715b73597518f08fbd0a058dbd10b56588755130c3ff76e7e1 16335 fai_6.0~alpha21_amd64.buildinfo Files: 5308cd37843e9d773746bec06312fd05 2094 admin optional fai_6.0~alpha21.dsc 6979444dd9ede59d41a4b4a6f49ff480 292776 admin optional fai_6.0~alpha21.tar.xz 7e616c1142ea7e1d70fbdc57d4c09db5 16335 admin optional fai_6.0~alpha21_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQJFBAEBCAAvFiEEsR7jJz9rLetSjJPaK/jZ/gdLzeQFAmNm960RHGxhbmdlQGRl Ymlhbi5vcmcACgkQK/jZ/gdLzeQX6w//bsSF9QAzQhG95CVymWCy1f9yiwekVRUz V8XvlaGYcQO4/WmebW9tKRg7O2JgZEQ5nBobbl5NQDnQR5a4Et0OAG6WRHXGZzKk T1/UXEuY+VsVUwZuLqO9vG3vPfPEGjjjpN/ocAfBKasRDpP6cqmdCUdgXSgT/Wts sSYDvuFEjZlhu11bPU2SlCNCm2OS0GYm8RzbjDCXAzSz0Nsg+dVxYZnh/4/HMW6E 74pmoAoUAqMTgveNWlDr4g3BviysIErA3fR9HAvXlBhOd1mU9Ahfjz0rCZNzsjZ1 9TP5rY/Ev605D6Ew6kxv3ENi7mNIFMxJ9Y8611ALhzBXbj6mv1c788O7sGTQ1+cj Joo81fM4of1iVhv3kviDvYRK3ALPxY+Mz/E3pNL6xX/jb24Pc4gWF2XXufgn0WSh fDgGmwtW2hkDRLO5WLobUnTbACKuUj9pHPre/MMF647rl6+fu0//0Ad1+Uw8tvZ2 BL9KTnjL7x9P9gI83v/Nc/eoz60yhYlk0e89NKeZV7A3WTf7QjwomccuW5253a0i W7YFwWoITwy1077BY6xjcqUT7YYjWArg78XaD19R1bVnxurepxxVt4kUwM91pBpu qkV5ppxDzolFQzDD1uIn4keza3OCLIspdgatT5eJaiwvicwJ3q9MzvxdZI+dNB0O 5sE36Y+SMPc= =K803 -----END PGP SIGNATURE-----
--- End Message ---

