<div dir="ltr">Hi Johnathan,<div><br></div><div>Can you ask this in the systemd community?Any workaround if they can offer.</div><div><br></div><div>Ratan</div><div><br></div></div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 18, 2022 at 4:26 AM Johnathan Mantey <<a href="mailto:johnathanx.mantey@intel.com">johnathanx.mantey@intel.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">/I/ntel has recently run into an issue regarding a systemd service, and <br>
we're interested in soliciting feedback from the community.<br>
<br>
Issue: systemd-networkd-wait-online.service stalls for 120 seconds when <br>
the managed NICs do not have a network connection.<br>
<br>
TLDR: Should OpenBMC remove systemd-networkd-wait-online.service <br>
universally?<br>
<br>
System Config: All NICs in the system are not connected to an active <br>
network.<br>
<br>
Test Process: The system under test (SUT) has AC removed, and some time <br>
later AC applied. Wait for BMC/BIOS to boot<br>
<br>
Behavior: U-Boot hands control to the Linux boot process, and the <br>
systemd services are started. When systemd-networkd-wait-online.service <br>
starts it stalls waiting for the NICs to enter a fully functional state. <br>
This never happens during the default 120 second timeout period for this <br>
service. When the timeout elapses, an error message is logged to the <br>
journal reporting the service exited unsuccessfully.<br>
<br>
Issues: This service blocks entry to multi-user.target.<br>
phosphor-state-manager uses multi-user.target to report the BMC is ready <br>
to use.<br>
This is reported via IPMI Get Device ID.<br>
The Intel BIOS is blocked from booting until <br>
systemd-networkd-wait-online times out.<br>
BMC entry to multi-user.target is delayed. Journal entries are created.<br>
<br>
Question for the community: Given the negative side effects caused by <br>
running this service does the community want to have this service <br>
collectively removed from global build image?<br>
<br>
-- <br>
Johnathan Mantey<br>
Senior Software Engineer<br>
*azad te**chnology partners*<br>
Contributing to Technology Innovation since 1992<br>
Phone: (503) 712-6764<br>
Email: <a href="mailto:johnathanx.mantey@intel.com" target="_blank">johnathanx.mantey@intel.com</a><br>
<br>
</blockquote></div>