Hello lovely Fedora Hivemind <3
tl;dr:
after adding a NIC with a Static Setup nm-online-wait times out and the NIC will never come online at boot which breaks clevis/tang. (NIC works after boot tho).
i have a setup where my systems have two NICs.
NIC1 is a “normal” network with DHCP etc.
NIC2 is a “blank” network where every system has a static setup.
Here is a bit of story for context.
Now i come to love Fedora based systems and after Atomic i discovered CoreOS and currently try to set up my server VMs with it.
Due to LUKS working mainly with Clevis/Tang (LUKS Encryption gets open by reaching a PIN Server) i set up with a TANG server.
this setup all works well.
but for my target setup the VMs only connect for management purposes to NIC1.
all production traffic is in NIC2.
This is also the case for the final Tang server. So it is important that NIC2 is working at the time the boot process reaches LUKS (or at least some time after it arrived there).
Sadly that never happens.
thanks to the lovely folks of the CoreOS Matrix chat i managed to narrow down the problem a bit.
As soon as a second NIC is added which has no DHCP in the Network the nm-online-wait times out while booting (takes 90 seconds).
this is the case with a liveboot iso which is ok since NIC2 has no configuration yet.
but even after configuring NIC2 on a fresh install the problem persists until the boot is finished. Therefor my LUKS never works since it cant reach its Tang server.
If i enter my backup passphrase manually the NIC2 works well.
I can connect to other systems mount NFS shares and reach/setup the Tang server.
Its only at boot before LUKS that fedora is not able to use NIC2 ![]()
After a lot of try and error i currently am using those two .nmconnection configs:
connection]
id=ens18
uuid=502c72e8-1f41-402f-ad0d-f2cc4dc236e0
type=ethernet
autoconnect-priority=-99
interface-name=ens18
[ethernet]
[ipv4]
method=auto
[ipv6]
addr-gen-mode=default
method=disabled
[proxy]
&
connection]
id=ens19
uuid=887e084e-1054-4037-aa49-46e654af457d
type=ethernet
autoconnect-priority=-99
interface-name=ens19
timestamp=1775119188
[ethernet]
[ipv4]
address1=10.0.0.17/24
gateway=10.0.0.1
method=manual
[ipv6]
addr-gen-mode=default
method=disabled
after the boot the nmcli looks like this:
$ nmcli
ens19: connected to ens19
"Red Hat Virtio"
ethernet (virtio_net), BC:24:11:23:7C:1C, hw, mtu 1500
ip4 default
inet4 10.0.0.17/24
route4 default via 10.0.0.1 metric 100
route4 10.0.0.1/32 metric 0
route4 10.0.0.0/24 metric 100
ens18: connected to Wired Connection
"Red Hat Virtio"
ethernet (virtio_net), BC:24:11:37:17:EE, hw, mtu 1500
inet4 10.10.50.39/24
route4 10.10.50.0/24 metric 101
route4 default via 10.10.50.1 metric 101
route4 10.10.50.1/32 metric 0
[...]
i also tested it on fedora server and fedroa workstation in the same VM.
all with the same result. tho the symptoms differ a bit.
fedora ws and fedora server directly show the manual LUKS prompt for the passphrase while the nm-online-wait timeout is not shown. but if the passphrase is entered the timeout still can be seen while the boot progresses.
CoreOS waits until timeout to show the LUKS prompt.
if anyone has ideas how this can be fixed i would be very great full !
with kind regards
