RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1184511 - ifup fails, but claims to succeed
Summary: ifup fails, but claims to succeed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: initscripts
Version: 7.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: initscripts Maintenance Team
QA Contact: Jan Ščotka
URL:
Whiteboard:
Depends On:
Blocks: 1263700
TreeView+ depends on / blocked
 
Reported: 2015-01-21 15:15 UTC by Michael Burman
Modified: 2016-11-25 13:01 UTC (History)
3 users (show)

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.
Clone Of:
: 1263700 (view as bug list)
Environment:
Last Closed: 2015-11-19 11:29:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:2134 0 normal SHIPPED_LIVE initscripts bug fix update 2015-11-19 10:18:39 UTC

Description Michael Burman 2015-01-21 15:15:26 UTC
Description of problem:
ifup fails, but claims to succeed.
This issue is a reproduction of BZ 1183728, but out of oVirt.

Version-Release number of selected component (if applicable):
initscripts-9.49.17-1.el7_0.1.x86_64
3.5.0-0.29.el6ev

Red Hat Enterprise Linux Server release 7.0 (Maipo)

How reproducible:
100

Steps to Reproduce:
1. Define ifcfg-bond0(2 slaves) with MTU 50000 (custom MTU that is not supported by host)
2. ifup bond0
3. Check if proper bond0 is created

Actual results:
Proper bond0 doesn't created, bond0 is broken, there is no slaves.
and ends without error.

cat /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
BONDING_OPTS='mode=4 miimon=100'
ONBOOT=no
NM_CONTROLLED=no
HOTPLUG=no
MTU=50000

echo $?  (after ifup bond0 command)
0

cat /sys/class/net/bond0/bonding/slaves
empty

cat /sys/class/net/bond0/
no slaves

ip a
bond0: <NO-CARRIER,BROADCAST,MULTICAST,MASTER,UP> mtu 50000 qdisc noqueue state DOWN

Expected results:
ifup command should succeed, and if not, then should be a proper error about this.

Additional info:
See also-  https://bugzilla.redhat.com/show_bug.cgi?id=1183728

Comment 2 Lukáš Nykrýn 2015-01-26 14:17:51 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.

Comment 3 Dan Kenigsberg 2015-01-26 17:20:25 UTC
In Michael's case, *none* of the slaves were activated. In my opinion, this should be considered an error case.

Comment 4 Lukáš Nykrýn 2015-05-07 12:47:54 UTC
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.)

Comment 8 errata-xmlrpc 2015-11-19 11:29:42 UTC
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


Note You need to log in before you can comment on or make changes to this bug.