Infiniband devices fail to start on system boot, causing network service failure
Environment
- Red Hat Enterprise Linux 7 Beta
- Infiniband devices
Issue
- Infiniband interfaces do not start on system boot
- ifup ib0 brings them up after boot.
- causes the network service to fail.
Resolution
- This issue is currently being tracked by the private bugzilla 1078915.
- As a workaround the network service can be manually restarted after boot. Or, the infiniband interface can be brought up with ifup.
Diagnostic Steps
- By using "set -x" in ifup-ib, the following messages were logged.
Mar 18 17:31:42 localhost network: ++ modprobe -c
Mar 18 17:31:42 localhost network: ++ awk 'BEGIN { alias = ""; }
Mar 18 17:31:42 localhost network: $1 == "alias" && $2 == "ib0" { alias = $3; }
Mar 18 17:31:42 localhost network: $1 == "install" { install[$2] = $3; }
Mar 18 17:31:42 localhost network: END {
Mar 18 17:31:42 localhost network: cmd = install[alias];
Mar 18 17:31:42 localhost network: print alias;
Mar 18 17:31:42 localhost network: if (alias == "" || alias == "off" || cmd == "/bin/true" || cmd == ":")
Mar 18 17:31:42 localhost network: exit 1;
Mar 18 17:31:42 localhost network: exit 0;
Mar 18 17:31:42 localhost network: }'
Mar 18 17:31:42 localhost network: + alias=
Mar 18 17:31:42 localhost network: + '[' 1 -eq 0 ']'
Mar 18 17:31:42 localhost network: + return 2
Mar 18 17:31:42 localhost network: + '[' -n '' ']'
Mar 18 17:31:42 localhost network: + net_log 'Device ib0 does not seem to be present, delaying initialization.'
Mar 18 17:31:42 localhost network: + local 'message=Device ib0 does not seem to be present, delaying initialization.'
Mar 18 17:31:42 localhost network: + local level=
Mar 18 17:31:42 localhost network: + local name=
Mar 18 17:31:42 localhost network: + '[' -z 'Device ib0 does not seem to be present, delaying initialization.' ']'
Mar 18 17:31:42 localhost network: + '[' -z '' ']'
Mar 18 17:31:42 localhost network: + level=err
Mar 18 17:31:42 localhost network: + '[' -z '' ']'
Mar 18 17:31:42 localhost network: + name=/etc/sysconfig/network-scripts/ifup-ib
Mar 18 17:31:42 localhost network: + case $level in
Mar 18 17:31:42 localhost network: + local 'txt_level=ERROR '
Mar 18 17:31:42 localhost network: + echo 'ERROR : [/etc/sysconfig/network-scripts/ifup-ib] Device ib0 does not seem to be present, delaying initialization.'
Mar 18 17:31:42 localhost network: ERROR : [/etc/sysconfig/network-scripts/ifup-ib] Device ib0 does not seem to be present, delaying initialization.
Mar 18 17:31:42 localhost network: + '[' -x /usr/bin/logger ']'
Mar 18 17:31:42 localhost network: + /usr/bin/logger -p daemon.err -t /etc/sysconfig/network-scripts/ifup-ib 'Device ib0 does not seem to be present, delaying initialization.'
Mar 18 17:31:42 localhost network: + return 0
Mar 18 17:31:42 localhost network: + exit 1
Mar 18 17:31:42 localhost /etc/sysconfig/network-scripts/ifup-ib: Device ib0 does not seem to be present, delaying initialization.
Mar 18 17:31:42 localhost network: [FAILED]
Mar 18 17:31:42 localhost systemd: network.service: control process exited, code=exited status=1
Mar 18 17:31:42 localhost systemd: Failed to start LSB: Bring up/down networking.
Mar 18 17:31:42 localhost systemd: Unit network.service entered failed state.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
