Hi all,
I am having problems installing openSUSE 15.6 (older versions behave the same) via PXE for a few weeks.
I am installing openSUSE for years using opsi (software deployment system). But suddenly this stopped working. I already spent a lot of time searching for the solution.
The workflow is as follows:
- opsi-linux-bootimage boots via PXE
- opsi-linux-bootimage fetches opensuse kernel and initrd from server
- opsi-linux-bootimage executes the new kernel
- linuxrc runs and starts the GUI with automated opensuse installation using an autoyast.xml
Everything works fine until 4. Linuxrc stops and shows the message: “Please make sure your installation medium is available”.
The pop up window contains the correct https URL to the isocontent folder. If I try again, it says: “DHCP configuration failed”.
I have already discovered the following during troubleshooting:
- the problem is, that linuxrc does not get an IP address and therefore can not connect to the isocontent folder
- during the installation process PXE and the opsi linux boot image already received the right IP address, so network connection basically works
- I am aware of this opensuse topic (SLES 15 SP5 | Deployment Guide | Preparing network boot environment) and the client is configured to send the dhcp clientID using the RFC2131 standard through this line of pyhton code run from the opsi-linux-bootimage:
execute(f"{which('kexec')} --load {kernel_file} --append='install=https://{fqdn}:{pckey}@{depotAddress}:4447/depot/{productId}/isocontent/ {append_line} ifcfg={hardwareAddress}=dhcp,DHCLIENT_CREATE_CID=rfc2132' --initrd={inird_file}")
- I tried to restart the network interface using
wicked ifdown/ifup
or ìp link set down/up` from the linuxrc shell after the error occurs, both do not work to get an IP address - the only way to get an IP address is to unplug the ethernet cable at the and plug it in again, after that linuxrc automatically gets the IP address, also
wicked down/up
works correctly after this
I need to automate the installation process. So unplugging the cable is not an satisfying option. I don’t understand why wicked
and ip link set
do not do the same as unplugging and plugging in the cable. If this would work I could try to implement wicked ifdown/ifup
in the startup process of linuxrc.
I have no more ideas and really hope someone has experienced similar things and con help me with this problem.
Thanks a lot in advance.
Best regards,
segler