Hallo Mathias,
ich hab das Image nochmal gebootet. noapic, acpi=off und nousb hatte ich bei diesem client nur zum test angehängt. Hat in diesem Fall aber keinen Unterschied gemacht. Der Fehler kommt auch unabhängig davon, welches Produkt installiert werden soll.
Code: Alles auswählen
~$ cat /proc/cmdline
BOOT_IMAGE=net0:/linux/install-x64 initrd=/linux/miniroot-x64.bz2 debug video=vesa:ywrap,mtrr vga=normal --no-log console=tty1 console=ttyS0 dn=**entfernt** nousb product=opsi-local-image-backup pckey=**entfernt** service=**entfernt**:4447/rpc noapic hn=**entfernt** acpi=off
Code: Alles auswählen
~$ cat /tmp/log
Nov 04 14:45:54 [opsiinit] opsi init script started
Nov 04 14:45:54 [opsiinit] opsi linux bootimage version: 20191015 (4.1)
Nov 04 14:46:04 [opsiinit] getBootParam(pwh): cmdline: BOOT_IMAGE=net0:/linux/install-x64 initrd=/linux/miniroot-x64.bz2 debug video=vesa:ywrap,mtrr vga=normal --no-log console=tty1 console=ttyS0 dn=entfernt.de nousb product=opsi-local-image-backup pckey=*** confidential *** service=entfernt.de:4447/rpc noapic hn=entfernt acpi=off
Nov 04 14:46:04 [opsiinit] boot param pwh=
Nov 04 14:46:04 [opsiinit] getBootParam(nodhcp): cmdline: BOOT_IMAGE=net0:/linux/install-x64 initrd=/linux/miniroot-x64.bz2 debug video=vesa:ywrap,mtrr vga=normal --no-log console=tty1 console=ttyS0 dn=entfernt.de nousb product=opsi-local-image-backup pckey=*** confidential *** service=entfernt.de:4447/rpc noapic hn=entfernt acpi=off
Nov 04 14:46:04 [opsiinit] boot param nodhcp=0
Nov 04 14:46:04 [opsiinit] getBootParam(hn): cmdline: BOOT_IMAGE=net0:/linux/install-x64 initrd=/linux/miniroot-x64.bz2 debug video=vesa:ywrap,mtrr vga=normal --no-log console=tty1 console=ttyS0 dn=entfernt.de nousb product=opsi-local-image-backup pckey=*** confidential *** service=entfernt.de:4447/rpc noapic hn=entfernt acpi=off
Nov 04 14:46:04 [opsiinit] boot param hn=entfernt
Nov 04 14:46:04 [opsiinit] getBootParam(dhclienttimeout): cmdline: BOOT_IMAGE=net0:/linux/install-x64 initrd=/linux/miniroot-x64.bz2 debug video=vesa:ywrap,mtrr vga=normal --no-log console=tty1 console=ttyS0 dn=entfernt.de nousb product=opsi-local-image-backup pckey=*** confidential *** service=entfernt.de:4447/rpc noapic hn=entfernt acpi=off
Nov 04 14:46:04 [opsiinit] new dhclient timeout is now
Nov 04 14:46:04 [opsiinit] getBootParam(lang): cmdline: BOOT_IMAGE=net0:/linux/install-x64 initrd=/linux/miniroot-x64.bz2 debug video=vesa:ywrap,mtrr vga=normal --no-log console=tty1 console=ttyS0 dn=entfernt.de nousb product=opsi-local-image-backup pckey=*** confidential *** service=entfernt.de:4447/rpc noapic hn=entfernt acpi=off
Nov 04 14:46:04 [opsiinit] boot param lang=
Nov 04 14:46:04 [opsiinit] loading keymap de-latin1-nodeadkeys
Nov 04 14:46:04 [opsiinit] setting language environment (LANG=de_DE.UTF8, LANGUAGE=de, LC_ALL=de_DE.UTF8)
Nov 04 14:46:04 [opsiinit] getNetworkDevices(): link forced
Nov 04 14:46:04 [opsiinit] getNetworkDevices(): device(s) found: enp0s31f6 enp3s0 enp2s0, device(s) with link:
Nov 04 14:46:04 [opsiinit] getNetworkDevices(): no devices with link found, returning error
Nov 04 14:46:04 [opsiinit] no devices found, sleeping 3 seconds
Nov 04 14:46:07 [opsiinit] getNetworkDevices(): link forced
Nov 04 14:46:07 [opsiinit] getNetworkDevices(): device(s) found: enp0s31f6 enp3s0 enp2s0, device(s) with link:
Nov 04 14:46:07 [opsiinit] getNetworkDevices(): no devices with link found, returning error
Nov 04 14:46:07 [opsiinit] no devices found, sleeping 3 seconds
Nov 04 14:46:10 [opsiinit] getNetworkDevices(): link forced
Nov 04 14:46:10 [opsiinit] getNetworkDevices(): device(s) found: enp0s31f6 enp3s0 enp2s0, device(s) with link:
Nov 04 14:46:10 [opsiinit] getNetworkDevices(): no devices with link found, returning error
Nov 04 14:46:10 [opsiinit] no devices found, sleeping 3 seconds
Nov 04 14:46:13 [opsiinit] getNetworkDevices(): link forced
Nov 04 14:46:13 [opsiinit] getNetworkDevices(): device(s) found: enp0s31f6 enp3s0 enp2s0, device(s) with link:
Nov 04 14:46:13 [opsiinit] getNetworkDevices(): no devices with link found, returning error
Nov 04 14:46:13 [opsiinit] no devices found, sleeping 3 seconds
Nov 04 14:46:16 [opsiinit] getNetworkDevices(): link forced
Nov 04 14:46:16 [opsiinit] getNetworkDevices(): device(s) found: enp0s31f6 enp3s0 enp2s0, device(s) with link:
Nov 04 14:46:16 [opsiinit] getNetworkDevices(): no devices with link found, returning error
Nov 04 14:46:16 [opsiinit] no devices found, sleeping 3 seconds
Nov 04 14:46:19 [opsiinit] getNetworkDevices(): link forced
Nov 04 14:46:19 [opsiinit] getNetworkDevices(): device(s) found: enp0s31f6 enp3s0 enp2s0, device(s) with link:
Nov 04 14:46:19 [opsiinit] getNetworkDevices(): no devices with link found, returning error
Nov 04 14:46:19 [opsiinit] no devices found, sleeping 3 seconds
Nov 04 14:46:22 [opsiinit] getNetworkDevices(): link forced
Nov 04 14:46:22 [opsiinit] getNetworkDevices(): device(s) found: enp0s31f6 enp3s0 enp2s0, device(s) with link:
Nov 04 14:46:22 [opsiinit] getNetworkDevices(): no devices with link found, returning error
Nov 04 14:46:22 [opsiinit] no devices found, sleeping 3 seconds
Nov 04 14:46:25 [opsiinit] getNetworkDevices(): link forced
Nov 04 14:46:25 [opsiinit] getNetworkDevices(): device(s) found: enp0s31f6 enp3s0 enp2s0, device(s) with link:
Nov 04 14:46:25 [opsiinit] getNetworkDevices(): no devices with link found, returning error
Nov 04 14:46:25 [opsiinit] no devices found, sleeping 3 seconds
Nov 04 14:46:28 [opsiinit] getNetworkDevices(): link forced
Nov 04 14:46:28 [opsiinit] getNetworkDevices(): device(s) found: enp0s31f6 enp3s0 enp2s0, device(s) with link:
Nov 04 14:46:28 [opsiinit] getNetworkDevices(): no devices with link found, returning error
Nov 04 14:46:28 [opsiinit] no devices found, sleeping 3 seconds
Nov 04 14:46:31 [opsiinit] getNetworkDevices(): link forced
Nov 04 14:46:31 [opsiinit] getNetworkDevices(): device(s) found: enp0s31f6 enp3s0 enp2s0, device(s) with link:
Nov 04 14:46:31 [opsiinit] getNetworkDevices(): no devices with link found, returning error
Nov 04 14:46:31 [opsiinit] no devices found, sleeping 3 seconds
Nov 04 14:46:34 [opsiinit] getNetworkDevices(): link forced
Nov 04 14:46:34 [opsiinit] getNetworkDevices(): device(s) found: enp0s31f6 enp3s0 enp2s0, device(s) with link:
Nov 04 14:46:34 [opsiinit] getNetworkDevices(): no devices with link found, returning error
Nov 04 14:46:34 [opsiinit] no devices found, sleeping 3 seconds
Nov 04 14:46:37 [opsiinit] getNetworkDevices(): link forced
Nov 04 14:46:37 [opsiinit] getNetworkDevices(): device(s) found: enp0s31f6 enp3s0 enp2s0, device(s) with link:
Nov 04 14:46:37 [opsiinit] getNetworkDevices(): no devices with link found, returning error
Nov 04 14:46:37 [opsiinit] no devices found, sleeping 3 seconds
Nov 04 14:46:40 [opsiinit] getNetworkDevices(): link forced
Nov 04 14:46:40 [opsiinit] getNetworkDevices(): device(s) found: enp0s31f6 enp3s0 enp2s0, device(s) with link:
Nov 04 14:46:40 [opsiinit] getNetworkDevices(): no devices with link found, returning error
Nov 04 14:46:40 [opsiinit] no devices found, sleeping 3 seconds
Nov 04 14:46:43 [opsiinit] getNetworkDevices(): link forced
Nov 04 14:46:43 [opsiinit] getNetworkDevices(): device(s) found: enp0s31f6 enp3s0 enp2s0, device(s) with link:
Nov 04 14:46:43 [opsiinit] getNetworkDevices(): no devices with link found, returning error
Nov 04 14:46:43 [opsiinit] no devices found, sleeping 3 seconds
Nov 04 14:46:46 [opsiinit] getNetworkDevices(): link forced
Nov 04 14:46:46 [opsiinit] getNetworkDevices(): device(s) found: enp0s31f6 enp3s0 enp2s0, device(s) with link:
Nov 04 14:46:46 [opsiinit] getNetworkDevices(): no devices with link found, returning error
Nov 04 14:46:46 [opsiinit] no devices found, sleeping 3 seconds
Nov 04 14:46:49 [opsiinit] getNetworkDevices(): link forced
Nov 04 14:46:49 [opsiinit] getNetworkDevices(): device(s) found: enp0s31f6 enp3s0 enp2s0, device(s) with link:
Nov 04 14:46:49 [opsiinit] getNetworkDevices(): no devices with link found, returning error
Nov 04 14:46:49 [opsiinit] no devices found, sleeping 3 seconds
Nov 04 14:46:52 [opsiinit] getNetworkDevices(): link forced
Nov 04 14:46:52 [opsiinit] getNetworkDevices(): device(s) found: enp0s31f6 enp3s0 enp2s0, device(s) with link:
Nov 04 14:46:52 [opsiinit] getNetworkDevices(): no devices with link found, returning error
Nov 04 14:46:52 [opsiinit] no devices found, sleeping 3 seconds
Nov 04 14:46:55 [opsiinit] getNetworkDevices(): link forced
Nov 04 14:46:55 [opsiinit] getNetworkDevices(): device(s) found: enp0s31f6 enp3s0 enp2s0, device(s) with link:
Nov 04 14:46:55 [opsiinit] getNetworkDevices(): no devices with link found, returning error
Nov 04 14:46:55 [opsiinit] no devices found, sleeping 3 seconds
Nov 04 14:46:58 [opsiinit] getNetworkDevices(): link forced
Nov 04 14:46:58 [opsiinit] getNetworkDevices(): device(s) found: enp0s31f6 enp3s0 enp2s0, device(s) with link:
Nov 04 14:46:58 [opsiinit] getNetworkDevices(): no devices with link found, returning error
Nov 04 14:46:58 [opsiinit] no devices found, sleeping 3 seconds
Nov 04 14:47:01 [opsiinit] getNetworkDevices(): link forced
Nov 04 14:47:01 [opsiinit] getNetworkDevices(): device(s) found: enp0s31f6 enp3s0 enp2s0, device(s) with link:
Nov 04 14:47:01 [opsiinit] getNetworkDevices(): no devices with link found, returning error
Nov 04 14:47:01 [opsiinit] no devices found, sleeping 3 seconds
Nov 04 14:47:04 [opsiinit] getNetworkDevices(): device(s) found: enp0s31f6 enp3s0 enp2s0, device(s) with link:
Nov 04 14:47:04 [opsiinit] getNetworkDevices(): no devices with link found, returning enp0s31f6 enp3s0 enp2s0
Nov 04 14:47:04 [opsiinit] using dhcp, adding entry for device enp0s31f6 to /etc/netplan/01-enp0s31f6.yaml
Nov 04 14:47:10 [opsiinit] using dhcp, adding entry for device enp3s0 to /etc/netplan/01-enp3s0.yaml
Code: Alles auswählen
~$ cat /etc/dhcp/dhclient.conf
# Configuration file for /sbin/dhclient.
#
# This is a sample configuration file for dhclient. See dhclient.conf's
# man page for more information about the syntax of this file
# and a more comprehensive list of the parameters understood by
# dhclient.
#
# Normally, if the DHCP server provides reasonable information and does
# not leave anything out (like the domain name, for example), then
# few changes must be made to this file, if any.
#
option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;
send host-name = gethostname();
request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, domain-search, host-name,
dhcp6.name-servers, dhcp6.domain-search, dhcp6.fqdn, dhcp6.sntp-servers,
netbios-name-servers, netbios-scope, interface-mtu,
rfc3442-classless-static-routes, ntp-servers;
#send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
#send dhcp-lease-time 3600;
#supersede domain-name "fugue.com home.vix.com";
#prepend domain-name-servers 127.0.0.1;
#require subnet-mask, domain-name-servers;
timeout ;
#retry 60;
#reboot 10;
#select-timeout 5;
#initial-interval 2;
#script "/sbin/dhclient-script";
#media "-link0 -link1 -link2", "link0 link1";
#reject 192.33.137.209;
#alias {
# interface "eth0";
# fixed-address 192.5.5.213;
# option subnet-mask 255.255.255.255;
#}
#lease {
# interface "eth0";
# fixed-address 192.33.137.200;
# medium "link0 link1";
# option host-name "andare.swiftmedia.com";
# option subnet-mask 255.255.255.0;
# option broadcast-address 192.33.137.255;
# option routers 192.33.137.250;
# option domain-name-servers 127.0.0.1;
# renew 2 2000/1/12 00:00:01;
# rebind 2 2000/1/12 00:00:01;
# expire 2 2000/1/12 00:00:01;
#}
Zu bemerken ist aber, dass der Client trotz des DHCP Fehlers eine Adresse kriegt (ich hab die logs über ssh gezogen).