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 1102636 - Sometimes iproute reports wrong device name
Summary: Sometimes iproute reports wrong device name
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: iproute
Version: 6.5
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Phil Sutter
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-29 11:06 UTC by Konstantin Volkov
Modified: 2015-11-16 14:01 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-16 14:01:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Konstantin Volkov 2014-05-29 11:06:26 UTC
Description of problem:
Sometimes iproute reports wrong device name

Version-Release number of selected component (if applicable):
iproute-2.6.32-31.el6

How reproducible:
~1 of 30000

Steps to Reproduce:
1. Create interface
2. Assign IP address
3. Run "ip route list table all"

Actual results:
---
2014-03-13T23:31:07+0400 vzctl : Container 159 : ++ ip route list table all 10.29.48.59
2014-03-13T23:31:07+0400 vzctl : Container 159 : + msg='10.29.48.59 dev if5  scope link  metric 1000 '
---

Expected results:
device should be venet0, not if[0-9]

Additional info:
Can't reproduce it in stress-test with iproute-2.6.32-23.el6

Comment 2 Pavel Šimerda (pavlix) 2014-09-11 10:10:49 UTC
The reproducer doesn't seem to be sufficient to reproduce the issue. Also, iproute just queries the kernel and displays the answer.

Comment 4 Pavel Šimerda (pavlix) 2015-04-07 10:39:56 UTC
Just a note. I've seen similar device names when checking out 'ip address save' and 'ip address restore'. It looks like a device naming scheme internal to iproute2 that is sometimes used instead of kernel based interface name translation, probably to avoid translation when it might not make sense.

Comment 6 Ondřej Pták 2015-05-18 11:28:27 UTC
Sorry, I have no idea, try jaster, who tests several last errata for iproute.

Comment 8 Jaroslav Aster 2015-07-22 13:07:15 UTC
Hi,

I tried to reproduce it, but I failed.

Comment 10 Phil Sutter 2015-11-02 15:28:04 UTC
Hi Konstantin,

(In reply to Konstantin Volkov from comment #0)
> Description of problem:
> Sometimes iproute reports wrong device name
> 
> Version-Release number of selected component (if applicable):
> iproute-2.6.32-31.el6
> 
> How reproducible:
> ~1 of 30000

I tried to reproduce this in my local RHEL6 VM with iproute-2.6.32-45.el6 installed using the following command:

# for i in {1..100000}; do ip route list table all | grep if; done

It didn't happen a single time for me. Can you still reproduce the issue with a current RHEL6 version of iproute? Maybe it has been fixed as a side-effect of some other fix.

Comment 11 Konstantin Volkov 2015-11-02 15:52:05 UTC
Hi Phil!

Well, we stop catch this issue with downgrade to iproute-2.6.32-23.el6 . I'll ask QA to restart test with latest iproute-2.6.32-45.el6 . 

PS Looks like ubuntu guys already fixed this problem, look at https://bugs.launchpad.net/ubuntu/+source/iproute/+bug/1281366 , there is also link to some test script.

Good luck,
Konstantin

Comment 12 Phil Sutter 2015-11-09 16:43:13 UTC
Hi Konstantin,

OK, so I tried to reproduce the issue after downgrading iproute to version 2.6.32-31.el6, also unsuccessful. To make sure I put a decent amount of load into the test, I also tried creating 1000 dummy interfaces, each with an IPv4 address assigned (in addition to the automatic link-local IPv6 ones). Consequently, 'ip route show table all' emits over 4000 lines of output.

Maybe this really is a kernel issue which is fixed meanwhile. Since I don't know which kernel your faulty system runs, I tested using kernel-2.6.32-573.7.1.el6.x86_64.

In order to advance this, could you please provide more information about the failing system? Especially kernel version, number and types of interfaces and ip address and route configuration are interesting. General environment might have an influence as well, like general system load, etc.

Of course I am eager to hearing what results came out when testing with iproute-2.6.32-45.el6. When do you expect them to be available?

Thanks, Phil

Comment 13 Konstantin Volkov 2015-11-16 13:40:43 UTC
Hi Phil!

Looks like i can't provide you exact version of kernel and other environment parameters of the test failed ~1.5 years ago... I just asked our QA, they confirm that on the latest iproute no similar failures found.

So, you can close it as can't reproduce.

Good luck,
Konstantin

Comment 14 Phil Sutter 2015-11-16 14:01:45 UTC
Hi Konstantin,

(In reply to Konstantin Volkov from comment #13)
> Looks like i can't provide you exact version of kernel and other environment
> parameters of the test failed ~1.5 years ago... I just asked our QA, they
> confirm that on the latest iproute no similar failures found.

Many thanks for looking into this again, even after such a long time.

> So, you can close it as can't reproduce.

Good to know the problem is gone (for whatever reason).

Thanks, Phil


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