Why 'NetworkManager-wait-online.service' fails to start with error 'code=exited, status=2/INVALIDARGUMENT' ?

Solution Verified - Updated -

Issue

    Jan  5 11:36:58 localhost nm-online: Error: Could not create NMClient object: Timeout was reached.
    Jan  5 11:36:58 localhost systemd: NetworkManager-wait-online.service: main process exited, code=exited, status=2/INVALIDARGUMENT
    Jan  5 11:36:58 localhost systemd: Failed to start Network Manager Wait Online.
    Jan  5 11:36:58 localhost systemd: Unit NetworkManager-wait-online.service entered failed state.
    Jan  5 11:36:58 localhost systemd: NetworkManager-wait-online.service failed.
    Jan  5 11:36:58 localhost systemd: Starting LSB: Bring up/down networking...
    Jan  5 11:41:58 localhost systemd: network.service start operation timed out. Terminating.
    Jan  5 11:41:58 localhost systemd: Failed to start LSB: Bring up/down networking.
    Jan  5 11:41:58 localhost systemd: Unit network.service entered failed state.
    Jan  5 11:41:58 localhost systemd: network.service failed.
  • If NM_CONTROLLED=no is set, then same issue doesn't occur.
  • This issue started after upgrading the kernel to newest RHEL 7.3 version kernel-3.10.0-514.2.2.el7 , booting the system with older kernel-3.10.0-327.el7 same issue is not seen and system boots UP fine.

Environment

  • kernel-3.10.0-514.2.2.el7
  • NetworkManager-1.4.0-13.el7_3.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content