Package: fai-client
Version: 6.2.6
Severity: normal
X-Debbugs-Cc: [email protected]

Dear Maintainer,

when trying to install a newly delivered machine which does not seem to have a 
label/partition
written to OS device, FAI's setup-storage fails with

setup-storage -X
Starting setup-storage 3.0
Using config file: /var/lib/fai/config/disk_config/DEFAULT
Executing: wipefs -af /dev/nvme0n1p1
wipefs -af /dev/nvme0n1p1 had exit code 1
(STDERR) wipefs: error: /dev/nvme0n1p1: probing initialization failed: No such 
file or directory
Command had non-zero exit code

or in FAI's monitor: TASKEND partition 710

The manual fix is easy, just running
parted -s /dev/nvme0n1 mklabel gpt
faireboot

The obvious work-around would be to first test if wipefs's target exists before 
wiping (or just ignoring
any error from it).

In case the disk config is relevant:
disk_config disk1 disklabel:gpt-bios bootable:1 fstabkey:uuid

primary /         1-  xfs    rw
primary /boot/efi 200M vfat rw

-- System Information:
Debian Release: 12.9
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-31-amd64 (SMP w/32 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to 
C.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages fai-client depends on:
ii  debconf-utils        1.5.82
ii  file                 1:5.44-3
ii  iproute2             6.1.0-3
ii  libfile-lchown-perl  0.02-3+b1
ii  perl                 5.36.0-7+deb12u1
ii  procps               2:4.0.2-3
ii  zstd                 1.5.4+dfsg2-5

Versions of packages fai-client recommends:
ii  fdisk       2.38.1-5+deb12u3
ii  util-linux  2.38.1-5+deb12u3

Versions of packages fai-client suggests:
pn  libgraph-perl  <none>
pn  logtail        <none>

-- Configuration Files:
/etc/fai/fai.conf changed [not included]

-- no debconf information

Reply via email to