Thank you for the fast and extensive reply @Hooverdan
Just to be clear - my server is up and running again with the old installation and I don’t need immediate support. You don’t need to bother around with my problem if things are expected to work once the new Rockstor 5 is released.
Regarding the NetworkManager-wait-online
service I do have the same behaviour on my “old” 4.6.1-0 - Leap 15.4 installation and the trial yesterday with the latest 5.0.9 - Leap 15.6 installer.
It just seems that the old installation continues working even though the NetworkManager-wait-online
service failed, while the installer yesterday did not continue after this service has failed.
This is the output of my “old” & currently working rockstor installation:
admin@Kolibri:~> sudo systemctl status NetworkManager-wait-online.service
× NetworkManager-wait-online.service - Network Manager Wait Online
Loaded: loaded (/usr/lib/systemd/system/NetworkManager-wait-online.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2024-09-21 16:13:13 CEST; 1min 35s ago
Docs: man:nm-online(1)
Main PID: 852 (code=exited, status=1/FAILURE)
Sep 21 16:12:43 Kolibri systemd[1]: Starting Network Manager Wait Online...
Sep 21 16:13:13 Kolibri systemd[1]: NetworkManager-wait-online.service: Main process exited, code=exited, status=1/FAILURE
Sep 21 16:13:13 Kolibri systemd[1]: NetworkManager-wait-online.service: Failed with result 'exit-code'.
Sep 21 16:13:13 Kolibri systemd[1]: Failed to start Network Manager Wait Online.
admin@Kolibri:~> sudo systemctl start NetworkManager-wait-online.service
Job for NetworkManager-wait-online.service failed because the control process exited with error code.
See "systemctl status NetworkManager-wait-online.service" and "journalctl -xeu NetworkManager-wait-online.service" for details.
I can also power-cycle the machine (mainboard will reboot once power is applied) and without any manual intervention everything will start up, from NFS & SMB, to all docker containers and even the rockstor web-UI.
Regarding the network interfaces, I actually see 3 devices:
- eth0 (unavailable)
- eth1 (connected)
- usb0 (connecting)
The usb0 is in “STATE” (vianmcli device
):connecting (getting IP configuration)
which is exactly the reason why the theNetworkManager-wait-online
service fails according to the documentation.
After about 10 Minutes (definitely larger than 3) the usb0 will change to state disconnected
, after which I can manually start the NetworkManager-wait-onlin
service and it will exit with SUCCESS:
admin@Kolibri:~> sudo systemctl start NetworkManager-wait-online.service
[sudo] password for root:
admin@Kolibri:~> sudo systemctl status NetworkManager-wait-online.service
● NetworkManager-wait-online.service - Network Manager Wait Online
Loaded: loaded (/usr/lib/systemd/system/NetworkManager-wait-online.service; enabled; vendor preset: disabled)
Active: active (exited) since Sat 2024-09-21 16:52:25 CEST; 5s ago
Docs: man:nm-online(1)
Process: 17731 ExecStart=/bin/bash -c if [ ${NM_ONLINE_TIMEOUT} -gt 0 ]; then /usr/bin/nm-online -s -q --timeout=${NM_ONLINE_TIMEOUT} ; else /bin/true ; fi (code=exited, status=0/SUCCESS)
Main PID: 17731 (code=exited, status=0/SUCCESS)
Sep 21 16:52:25 Kolibri systemd[1]: Starting Network Manager Wait Online...
Sep 21 16:52:25 Kolibri systemd[1]: Finished Network Manager Wait Online.
admin@Kolibri:~>
So the physically unconnected NIC is not an issue with real hardware, because the state is simply “unavailable” - but the usb0
interface is an issue in my setup.
To be honest, I have no clue about the usb0
interface on my machine. I find an option to disable each of the ethernet interfaces in the BIOS, but no mentioning of a usb ethernet interface directly.
I do have a server Motherboard (Asus P12R-I) with onboard management/kvm functionality and also some kind of BMC. Although I love the management over IP & kvm functionality I have not had a look at what the BMC and Sideband Interface present on my motherboard actually are.
I will probably have a look if I can somehow disable some of this functionality and check whether I can let the usb0 interface disappear.
Cheers
Simon