Ich habe das Problem, dass ich, seit den Paketupdates auf dem opsi Server, Ubuntu nicht mehr installieren kann.
Das Bootimage wird geladen und die Installation startet, aber an dem Punkt während der Erstellung des Filesystems auf der Partition 4 (LVM), kommt die Fehlermeldung OSError (5, 'Input/Output error') (Zeile 5932 im folgenden Log) auf dem Client.
Auszug aus dem bootimage-Log:
Code: Alles auswählen
(5630) [5] [2025-09-16 13:17:26.553] [ ] Create boot partition on /dev/nvme0n1p3 start: 0M, size: 1000M (<string>:262)
(5632) [6] [2025-09-16 13:17:26.555] [ ] Executing: /usr/sbin/sgdisk --new 3::+1000M -c 3:"boot" -t 3:8300 -p /dev/nvme0n1 (Posix.py:1003)
(5633) [6] [2025-09-16 13:17:26.556] [ ] Using encoding 'UTF-8' (Posix.py:1045)
(5652) [6] [2025-09-16 13:17:27.574] [ ] Executing: /bin/sleep 2 (Posix.py:1003)
(5653) [6] [2025-09-16 13:17:27.575] [ ] Using encoding 'UTF-8' (Posix.py:1045)
(5656) [6] [2025-09-16 13:17:29.579] [ ] Executing: /usr/sbin/sgdisk -p /dev/nvme0n1 (Posix.py:1003)
(5657) [6] [2025-09-16 13:17:29.580] [ ] Using encoding 'UTF-8' (Posix.py:1045)
(5674) [5] [2025-09-16 13:17:29.593] [ ] /dev/nvme0n1p3 exists as device - fine (<string>:247)
(5675) [5] [2025-09-16 13:17:29.601] [ ] Partition /dev/nvme0n1p3 has a correct block alignment (<string>:154)
(5676) [5] [2025-09-16 13:17:29.602] [ ] Create lvm partition on /dev/nvme0n1p4 start: 0M, size: -1M (<string>:262)
(5678) [6] [2025-09-16 13:17:29.602] [ ] Executing: /usr/sbin/sgdisk --new 4:: -c 4:"LVM" -t 4:8300 -p /dev/nvme0n1 (Posix.py:1003)
(5679) [6] [2025-09-16 13:17:29.603] [ ] Using encoding 'UTF-8' (Posix.py:1045)
(5699) [6] [2025-09-16 13:17:30.616] [ ] Executing: /bin/sleep 2 (Posix.py:1003)
(5700) [6] [2025-09-16 13:17:30.616] [ ] Using encoding 'UTF-8' (Posix.py:1045)
(5704) [6] [2025-09-16 13:17:32.621] [ ] Executing: /usr/sbin/sgdisk -p /dev/nvme0n1 (Posix.py:1003)
(5705) [6] [2025-09-16 13:17:32.622] [ ] Using encoding 'UTF-8' (Posix.py:1045)
(5723) [5] [2025-09-16 13:17:32.635] [ ] /dev/nvme0n1p4 exists as device - fine (<string>:247)
(5724) [5] [2025-09-16 13:17:32.644] [ ] Partition /dev/nvme0n1p4 has a correct block alignment (<string>:154)
(5726) [6] [2025-09-16 13:17:32.645] [ ] Executing: pvcreate /dev/nvme0n1p4 (Posix.py:1003)
(5727) [6] [2025-09-16 13:17:32.645] [ ] Using encoding 'UTF-8' (Posix.py:1045)
(5732) [6] [2025-09-16 13:17:32.675] [ ] Executing: vgcreate vglvm /dev/nvme0n1p4 (Posix.py:1003)
(5733) [6] [2025-09-16 13:17:32.675] [ ] Using encoding 'UTF-8' (Posix.py:1045)
(5738) [6] [2025-09-16 13:17:32.715] [ ] Executing: lvcreate -Wy -Zy --yes -L 4000M -n swap vglvm (Posix.py:1003)
(5739) [6] [2025-09-16 13:17:32.715] [ ] Using encoding 'UTF-8' (Posix.py:1045)
(5744) [6] [2025-09-16 13:17:32.755] [ ] Executing: lvcreate -Wy -Zy --yes -l 100%FREE -n linux vglvm (Posix.py:1003)
(5745) [6] [2025-09-16 13:17:32.756] [ ] Using encoding 'UTF-8' (Posix.py:1045)
(5749) [5] [2025-09-16 13:17:32.799] [ ] Create ext4 filesystem on boot partition (<string>:569)
(5750) [5] [2025-09-16 13:17:32.799] [ ] Create file system ext4 on partition boot (/dev/nvme0n1p3) (<string>:338)
(5752) [6] [2025-09-16 13:17:32.799] [ ] Executing: sync (Posix.py:1003)
(5753) [6] [2025-09-16 13:17:32.800] [ ] Using encoding 'UTF-8' (Posix.py:1045)
(5756) [6] [2025-09-16 13:17:42.803] [ ] Executing: /sbin/mkfs.ext4 -F -L "boot" /dev/nvme0n1p3 (Posix.py:1003)
(5757) [6] [2025-09-16 13:17:42.805] [ ] Using encoding 'UTF-8' (Posix.py:1045)
(5773) [6] [2025-09-16 13:17:42.863] [ ] Executing: blkid (Posix.py:1003)
(5774) [6] [2025-09-16 13:17:42.864] [ ] Using encoding 'UTF-8' (Posix.py:1045)
(5783) [5] [2025-09-16 13:17:47.923] [ ] /dev/nvme0n1p3 exists as device - fine (<string>:328)
(5784) [5] [2025-09-16 13:17:47.923] [ ] /dev/nvme0n1p3 created and formated (<string>:366)
(5785) [5] [2025-09-16 13:17:47.923] [ ] Create ext4 filesystem on system partition (<string>:582)
(5786) [5] [2025-09-16 13:17:47.924] [ ] Create file system ext4 on partition system (/dev/mapper/vglvm-linux) (<string>:338)
(5788) [6] [2025-09-16 13:17:47.925] [ ] Executing: sync (Posix.py:1003)
(5789) [6] [2025-09-16 13:17:47.926] [ ] Using encoding 'UTF-8' (Posix.py:1045)
(5793) [6] [2025-09-16 13:17:57.934] [ ] Executing: /sbin/mkfs.ext4 -F -L "linux" /dev/mapper/vglvm-linux (Posix.py:1003)
(5794) [6] [2025-09-16 13:17:57.935] [ ] Using encoding 'UTF-8' (Posix.py:1045)
(5811) [6] [2025-09-16 13:17:58.821] [ ] Executing: blkid (Posix.py:1003)
(5812) [6] [2025-09-16 13:17:58.822] [ ] Using encoding 'UTF-8' (Posix.py:1045)
(5822) [5] [2025-09-16 13:18:03.883] [ ] /dev/mapper/vglvm-linux exists as device - fine (<string>:328)
(5823) [5] [2025-09-16 13:18:03.883] [ ] /dev/mapper/vglvm-linux created and formated (<string>:366)
(5824) [5] [2025-09-16 13:18:03.884] [ ] Create swap and swapon swap partition (<string>:597)
(5826) [6] [2025-09-16 13:18:03.884] [ ] Executing: mkswap -L swap /dev/mapper/vglvm-swap (Posix.py:1003)
(5827) [6] [2025-09-16 13:18:03.885] [ ] Using encoding 'UTF-8' (Posix.py:1045)
(5833) [6] [2025-09-16 13:18:03.895] [ ] Executing: blkid (Posix.py:1003)
(5834) [6] [2025-09-16 13:18:03.895] [ ] Using encoding 'UTF-8' (Posix.py:1045)
(5844) [6] [2025-09-16 13:18:03.908] [ ] Executing: blkid -o value -s UUID /dev/mapper/vglvm-linux (Posix.py:1003)
(5845) [6] [2025-09-16 13:18:03.908] [ ] Using encoding 'UTF-8' (Posix.py:1045)
(5850) [6] [2025-09-16 13:18:03.911] [ ] Executing: blkid -o value -s UUID /dev/mapper/vglvm-swap (Posix.py:1003)
(5851) [6] [2025-09-16 13:18:03.911] [ ] Using encoding 'UTF-8' (Posix.py:1045)
(5856) [6] [2025-09-16 13:18:03.913] [ ] Executing: blkid -o value -s UUID /dev/nvme0n1p3 (Posix.py:1003)
(5857) [6] [2025-09-16 13:18:03.914] [ ] Using encoding 'UTF-8' (Posix.py:1045)
(5862) [6] [2025-09-16 13:18:03.916] [ ] Executing: /bin/efibootmgr -v (Posix.py:1003)
(5863) [6] [2025-09-16 13:18:03.916] [ ] Using encoding 'UTF-8' (Posix.py:1045)
(5887) [5] [2025-09-16 13:18:03.926] [ ] Current (net) boot entry: UEFI: PXE IPv4 Intel(R) Ethernet Connection (11) I219-LM (<string>:706)
(5888) [6] [2025-09-16 13:18:03.926] [ ] JSON-RPC request to https://........:4447: id='......', method=config_createUnicode, Content-Type=application/msgpack, Content-Encoding=lz4, timeout=300.0 (opsiservice.py:1663)
(5892) [6] [2025-09-16 13:18:03.958] [ ] Got response status=200, id='........', method=config_createUnicode, Content-Type=application/msgpack, Content-Encoding=, duration=0.032s (opsiservice.py:1687)
(5893) [6] [2025-09-16 13:18:03.958] [ ] JSON-RPC request to https://........:4447: id='................', method=configState_create, Content-Type=application/msgpack, Content-Encoding=lz4, timeout=300.0 (opsiservice.py:1663)
(5895) [6] [2025-09-16 13:18:03.968] [ ] Got response status=200, id='................', method=configState_create, Content-Type=application/msgpack, Content-Encoding=, duration=0.010s (opsiservice.py:1687)
(5896) [5] [2025-09-16 13:18:03.968] [ ] mount swap partition (ubuntu.py:466)
(5898) [6] [2025-09-16 13:18:03.968] [ ] Executing: swapon /dev/mapper/vglvm-swap (Posix.py:1003)
(5899) [6] [2025-09-16 13:18:03.969] [ ] Using encoding 'UTF-8' (Posix.py:1045)
(5901) [5] [2025-09-16 13:18:03.973] [ ] mount system partition (ubuntu.py:468)
(5902) [5] [2025-09-16 13:18:03.975] [ ] /mnt/hd exists as directory - fine (<string>:393)
(5903) [5] [2025-09-16 13:18:03.976] [ ] mountpoint /mnt/hd exists (<string>:409)
(5904) [5] [2025-09-16 13:18:03.976] [ ] mountpoint /mnt/hd >> /dev/null 2>&1 (<string>:414)
(5905) [5] [2025-09-16 13:18:03.979] [ ] Nothing mounted on /mnt/hd - fine (<string>:429)
(5906) [5] [2025-09-16 13:18:03.982] [ ] /dev/mapper/vglvm-linux is not mounted (<string>:453)
(5908) [6] [2025-09-16 13:18:03.982] [ ] Executing: sync (Posix.py:1003)
(5909) [6] [2025-09-16 13:18:03.983] [ ] Using encoding 'UTF-8' (Posix.py:1045)
(5911) [5] [2025-09-16 13:18:03.990] [ ] mount -t ext4 /dev/mapper/vglvm-linux /mnt/hd (<string>:469)
(5912) [5] [2025-09-16 13:18:09.043] [ ] /dev/mapper/vglvm-linux mounted on /mnt/hd - fine.. (<string>:477)
(5913) [5] [2025-09-16 13:18:09.044] [ ] /mnt/hd/boot does not exists as directory - creating (<string>:395)
(5915) [6] [2025-09-16 13:18:09.044] [ ] Executing: mkdir -p /mnt/hd/boot (Posix.py:1003)
(5916) [6] [2025-09-16 13:18:09.044] [ ] Using encoding 'UTF-8' (Posix.py:1045)
(5918) [5] [2025-09-16 13:18:09.047] [ ] mountpoint /mnt/hd/boot exists (<string>:409)
(5919) [5] [2025-09-16 13:18:09.047] [ ] mountpoint /mnt/hd/boot >> /dev/null 2>&1 (<string>:414)
(5920) [5] [2025-09-16 13:18:09.048] [ ] Nothing mounted on /mnt/hd/boot - fine (<string>:429)
(5921) [5] [2025-09-16 13:18:09.050] [ ] /dev/nvme0n1p3 is not mounted (<string>:453)
(5923) [6] [2025-09-16 13:18:09.050] [ ] Executing: sync (Posix.py:1003)
(5924) [6] [2025-09-16 13:18:09.050] [ ] Using encoding 'UTF-8' (Posix.py:1045)
(5926) [5] [2025-09-16 13:18:09.055] [ ] mount -t ext4 /dev/nvme0n1p3 /mnt/hd/boot (<string>:469)
(5927) [5] [2025-09-16 13:18:14.064] [ ] /dev/nvme0n1p3 mounted on /mnt/hd/boot - fine.. (<string>:477)
(5930) [6] [2025-09-16 13:18:14.064] [ ] Copying from '/mnt/opsi/ubuntu/pkgdetails/64bit/pkgdetails' to '/usr/lib/debootstrap/' (__init__.py:259)
(5932) [3] [2025-09-16 13:18:15.217] [ ] [Errno 5] Input/output error: '/mnt/opsi/ubuntu/pkgdetails/64bit/pkgdetails' (opsimain.py:1884)
(5933) Traceback (most recent call last):
(5934) File "opsibootimage/opsimain.py", line 1834, in <module>
(5935) File "/tmp/ubuntu.py", line 501, in <module>
(5936) copy("%s/pkgdetails/64bit/pkgdetails" % (depotsource), "/usr/lib/debootstrap/")
(5937) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(5938) File "OPSI/System/__init__.py", line 266, in copy
(5939) File "OPSI/System/__init__.py", line 316, in _copy
(5940) File "shutil.py", line 469, in copy2
(5941) File "shutil.py", line 389, in copystat
(5942) File "shutil.py", line 331, in _copyxattr
(5943) OSError: [Errno 5] Input/output error: '/mnt/opsi/ubuntu/pkgdetails/64bit/pkgdetails'
(5948) [6] [2025-09-16 13:18:15.223] [ ] Updating productOnClient: {'targetConfiguration': None, 'installationStatus': 'unknown', 'actionRequest': 'none', 'lastAction': None, 'actionProgress': '', 'actionResult': 'failed', 'productVersion': '4.3.0.4', 'packageVersion': '1', 'modificationTime': None, 'actionSequence': None, 'productId': 'ubuntu', 'productType': 'NetbootProduct', 'clientId': 'FQDN_des_Clients', 'type': 'ProductOnClient'} (opsimain.py:1898)
(5949) [6] [2025-09-16 13:18:15.223] [ ] JSON-RPC request to https://.................:4447: id='....................', method=productOnClient_updateObjects, Content-Type=application/msgpack, Content-Encoding=lz4, timeout=300.0 (opsiservice.py:1663)
(5953) [6] [2025-09-16 13:18:15.270] [ ] Got response status=200, id='.....................', method=productOnClient_updateObjects, Content-Type=application/msgpack, Content-Encoding=, duration=0.048s (opsiservice.py:1687)
(5954) [5] [2025-09-16 13:18:15.271] [ ] EXITING (opsimain.py:1904)
(5955) [5] [2025-09-16 13:18:15.271] [ ] Appending journalctl logs (opsimain.py:1910)
(5957) [6] [2025-09-16 13:18:15.271] [ ] Executing: journalctl --no-tail --no-pager (Posix.py:1003)
(5958) [6] [2025-09-16 13:18:15.272] [ ] Using encoding 'UTF-8' (Posix.py:1045)
(7218) [5] [2025-09-16 13:18:15.307] [ ] Writing log to service (opsimain.py:1913)
(7219) [6] [2025-09-16 13:18:15.307] [ ] message: 'Writing log to service', progress: 99 (opsimain.py:804)
Geupdatet wurde am 11.09. auf folgende Versionen:
opsi-utils:amd64 4.3.17.0-1
opsiconfd:amd64 4.3.37.7-1
opsi-linux-bootimage:all 20250905-1
opsi-tftpd-hpa:amd64 5.2.9-4
Nachdem ich mir das Log und die ubuntu.py etwas genauer angeuckt habe, habe ich mir die Zeile mit dem Befehl:
Code: Alles auswählen
copy("%s/pkgdetails/64bit/pkgdetails" % (depotsource), "/usr/lib/debootstrap/")
Code: Alles auswählen
copy("/mnt/opsi/pkgdetails/64bit/pkgdetails", "/usr/lib/debootstrap/")
Code: Alles auswählen
(5930) [6] [2025-09-18 13:36:11.143] [ ] Copying from '/mnt/opsi/pkgdetails/64bit/pkgdetails' to '/usr/lib/debootstrap/' (__init__.py:259)
(5931) [6] [2025-09-18 13:36:11.204] [ ] Copy done (__init__.py:267)
(5932) [5] [2025-09-18 13:36:11.205] [ ] /usr/lib/debootstrap does not exists as directory - creating (<string>:395)
(5934) [6] [2025-09-18 13:36:11.205] [ ] Executing: mkdir -p /usr/lib/debootstrap (Posix.py:1003)
(5935) [6] [2025-09-18 13:36:11.205] [ ] Using encoding 'UTF-8' (Posix.py:1045)
(5941) [6] [2025-09-18 13:36:11.208] [ ] Copying from 'ubuntu/pkgdetails/64bit/pkgdetails' to '/usr/lib/debootstrap/' (Repository.py:715)
(5949) [6] [2025-09-18 13:36:11.288] [ ] Transferred 0.893 MB in 0.00 seconds, average speed was 20.23 MB/s (Repository.py:580)
(5950) [6] [2025-09-18 13:36:11.288] [ ] Copy done (Repository.py:819)
(5952) [6] [2025-09-18 13:36:11.289] [ ] Executing: chmod u+x /usr/lib/debootstrap/pkgdetails (Posix.py:1003)
(5953) [6] [2025-09-18 13:36:11.289] [ ] Using encoding 'UTF-8' (Posix.py:1045)
(5955) [6] [2025-09-18 13:36:11.291] [ ] message: 'Installing base system ....', progress: 30 (opsimain.py:804)
(5956) [5] [2025-09-18 13:36:11.314] [ ] Installing base system... (ubuntu.py:530)
(5958) [6] [2025-09-18 13:36:11.314] [ ] Executing: /sbin/debootstrap --verbose --no-merged-usr --no-check-gpg --arch amd64 --extractor=ar --include=quota noble /mnt/hd http://de.archive.ubuntu.com/ubuntu (Posix.py:1003)
Schonmal besten Dank im Voraus!
Edit:
Des Weiteren tauchen im bootimageLog diese Warnungen auf:
Code: Alles auswählen
(1094) [4] [2025-09-18 13:35:15.182] [ ] Warning 'invalid escape sequence '\|'' in file '/tmp/ubuntu.py', line 1165 (logging.py:1027)
Gruß Sascha