Bug 1184511
| Summary: | ifup fails, but claims to succeed | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Michael Burman <mburman> | |
| Component: | initscripts | Assignee: | initscripts Maintenance Team <initscripts-maint-list> | |
| Status: | CLOSED ERRATA | QA Contact: | Jan Ščotka <jscotka> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 7.0 | CC: | danken, jscotka, lnykryn | |
| Target Milestone: | rc | |||
| Target Release: | --- | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | initscripts-9.49.25-1.el7 | Doc Type: | Bug Fix | |
| Doc Text: |
Cause:
When you call ifup on a bond master, it internally also calls ifup for all of his slaves, but it does ignore return codes of those subsequent calls. So even if all of its slaves fails, it still looks like everything is ok.
Consequence:
It is not nice.
Fix:
If subsequent call fails we will print a nice warning message.
Result:
The call of ifup on the master will still succeed, but at leat it will print a warning messages.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1263700 (view as bug list) | Environment: | ||
| Last Closed: | 2015-11-19 11:29:42 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1263700 | |||
|
Description
Michael Burman
2015-01-21 15:15:26 UTC
When you have bond interface you expect that some of the slaves may fail and it is still OK, or they could be activated later. We can't change that behavior. We could add a warning message, but that won't probably help in your case. In Michael's case, *none* of the slaves were activated. In my opinion, this should be considered an error case. After some thinking, I have just added the warning message. The bond gets up just fine, the fact that it does not have any slave is something different (they could be added for example by hand later.) Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-2134.html |