Bug 441380
Summary: | NIC Bonding Does Not Resolve on Startup | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Steve Wells <swells> | ||||||||||
Component: | initscripts | Assignee: | Bill Nottingham <notting> | ||||||||||
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||
Severity: | medium | Docs Contact: | |||||||||||
Priority: | low | ||||||||||||
Version: | 8 | CC: | dcbw, k.georgiou, rvokal, wtogami | ||||||||||
Target Milestone: | --- | ||||||||||||
Target Release: | --- | ||||||||||||
Hardware: | i686 | ||||||||||||
OS: | Linux | ||||||||||||
Whiteboard: | |||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||
Doc Text: | Story Points: | --- | |||||||||||
Clone Of: | Environment: | ||||||||||||
Last Closed: | 2008-04-14 20:38:51 UTC | Type: | --- | ||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||
Documentation: | --- | CRM: | |||||||||||
Verified Versions: | Category: | --- | |||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||
Embargoed: | |||||||||||||
Attachments: |
|
Description
Steve Wells
2008-04-07 19:40:52 UTC
-> initscripts What sort of messages do you get from the kernel? Created attachment 301905 [details]
/var/log/messages
Attached is the messages file.
NOTE config specifies bootproto=none and generates warning (following) and same
config works fine upon service network restart. One other note - when
restarting network service message is displayed, "shutting down interface
/etc/sysconfig/network-scripts/ifdown-eth1 line 105 :
/sys/classes/net/bond0/bonding/slaves : No Such File or Directory" (presumably
because the bond didn't set up first time). Also note that while ifcfg-bond0
is set to onboot=yes, it doesn't appear in startup log. Thanks.
Apr 9 13:09:38 ptapp1 NetworkManager: <WARN>
nm_system_device_get_system_config(): Network configuration for device 'eth1'
was invalid (non-DHCP configuration, but no IP address specified. Will use
DHCP instead.
Do you have NetworkManager enabled? I have tried with network manager enabled and disabled. Currently it is disabled in the ifcfg-bond0 + ifcfg-eth0 + ifcfg-eth1 but I've tried with those set to enabled, too. I believe I may have also tried with varying combinations ala enabled for bond but not for ports & vice-versa. Do you have any specific settings you'd like me to try? Also, btw, I noticed in log that ntpd was getting loaded before NetworkManager - should(n't) it be afterwards and what's the optimal way to set that dependency? What's the output of: chkconfig --list NetworkManager chkconfig --list network Also, can you attach your ifcfg files? Created attachment 302378 [details]
Bonding Port Config
Created attachment 302379 [details]
Bonding Port Config
Created attachment 302380 [details]
Bonding Port Config
And the chkconfig output? After system startup, before network restart: network 0:off 1:off 2:off 3:off 4:off 5:off 6:off NetworkManager 0:off 1:off 2:on 3:on 4:on 5:on 6:off After service network restart: network 0:off 1:off 2:off 3:off 4:off 5:off 6:off NetworkManager 0:off 1:off 2:on 3:on 4:on 5:on 6:off FYI - one time it seemed, upon system restart, a ping was issued ... whereby it hung for considerable time (10 seconds) - but whereupon communications (some, at least) were established without need for a service network restart. However, when thereafter issuing the service network restart, it (still) showed the stop as failing and then succeeding on the startup. This system is a Gateway 9425 server. It has two stock 1 GB Intel ethernet ports. It also has an add-on Intel communications card. In prior editions of Fedora the onboard NICs were not recognized during startup (a known issue with that chipset and earlier linux kernels) and thus required the addition of the card. FC8 recognizes the onboard NICs just fine (outside this reported issue) - so the card is still there but we are using the onboard NICs and is how the ifcfg-eth0 + ifcfg-eth1 files (previously attached) are configured. You are running with NetworkManager enabled. That *will not work* with bonding. You need to run: - chkconfig --level 345 NetworkManager off - chckonfig --level 345 network on That does it! THANKS! One problem remaining is that SSHD is still failing upon first startup - what setting or command will ensure proper dependency? Shouldn't make a difference - what's the ssh error? Corrected unrelated config issue to resolve - all OK on FC8 bootup :) Thanks! |