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 1291825 - iproute: 'ip addr flush' failed to send flush request: Cannot assign requested address
Summary: iproute: 'ip addr flush' failed to send flush request: Cannot assign requeste...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: iproute
Version: 7.3
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: rc
: ---
Assignee: Phil Sutter
QA Contact: Jaroslav Aster
Mirek Jahoda
URL:
Whiteboard:
Depends On: 1276591
Blocks: 1301628 1313485
TreeView+ depends on / blocked
 
Reported: 2015-12-15 16:26 UTC by Phil Sutter
Modified: 2016-11-03 23:37 UTC (History)
7 users (show)

Fixed In Version: iproute-3.10.0-56.el7
Doc Type: Deprecated Functionality
Doc Text:
The *libnetlink* library contained in the _iproute-devel_ package has been deprecated. The user should use the *libnl* and *libmnl* libraries instead.
Clone Of: 1276591
Environment:
Last Closed: 2016-11-03 23:37:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2016:2162 0 normal SHIPPED_LIVE iproute bug fix and enhancement update 2016-11-03 13:14:33 UTC

Comment 3 Jaroslav Aster 2016-05-19 16:26:56 UTC
Hi Phil,

could you be more specific where is the issue on rhel-7? My test for rhel-6 does not work on rhel-7.

I see these messages on the old version and nothing on the new version of iproute. Are these messages a one of the aspect of the bug?

:: [  BEGIN   ] :: Try to flush test-iface :: actually running 'ip addr flush dev test-iface |& tee flush.log'
Dump was interrupted and may be inconsistent.
Dump was interrupted and may be inconsistent.
Dump was interrupted and may be inconsistent.

Comment 4 Phil Sutter 2016-05-20 14:05:12 UTC
Hi Jaroslav,

Yes, the error message is what I had in mind when writing this bug's description. The additional commit to backport was:

commit d25ec03e1dce4cf22093a9f7106e9401ab5bf066
Author: Phil Sutter <phil>
Date:   Tue Nov 24 15:31:02 2015 +0100

    ipaddress: fix ipaddr_flush for Linux >= 3.1
    
    Linux version 3.1 introduced a consistency check for netlink dumps in
    commit 670dc28 ("netlink: advertise incomplete dumps"). This bites
    iproute2 when flushing more addresses than can fit into a single
    RTM_GETADDR response. To silence the spurious error message "Dump was
    interrupted and may be inconsistent.", advise rtnl_dump_filter_l() to
    not care about NLM_F_DUMP_INTR.
    
    Signed-off-by: Phil Sutter <phil>

What does "does not work on rhel-7" mean precisely? If I'm not mistaken, iproute-3.10.0-55.el7 should behave just like described in the original bug, namely printing "Failed to send flush request: Cannot assign requested address" error message when flushing many ip addresses. Do you disagree?

Thanks, Phil

Comment 5 Jaroslav Aster 2016-05-20 15:12:33 UTC
Hi Phil,

"does not work on rhel-7" means my test does not work on rhel-7, because I use this code

rlAssertNotGrep "Failed to send flush request" flush.log
rlAssertNotGrep "Flush terminated" flush.log

Iproute on rhel-7 does not print these messages. It prints only "Dump was interrupted and may be inconsistent." I'm going to fix my test.

Comment 8 errata-xmlrpc 2016-11-03 23:37: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/RHEA-2016-2162.html


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