Bug 1393957 - VLAN interface fails to come up when ifdown eth1.XXX; ifup eth1.XXX command is executed
Summary: VLAN interface fails to come up when ifdown eth1.XXX; ifup eth1.XXX command ...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: initscripts
Version: 6.8
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: David Kaspar // Dee'Kej
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-10 17:20 UTC by suresh kumar
Modified: 2020-09-10 09:56 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-15 20:18:22 UTC
Target Upstream Version:


Attachments (Terms of Use)
dmesg (rc.debug) (324.00 KB, text/plain)
2016-11-14 10:37 UTC, Abdelfattah CHEHAB
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 5019851 0 None None None 2020-04-27 23:42:40 UTC

Description suresh kumar 2016-11-10 17:20:34 UTC
Description of problem:
VLAN interface fails to come up when  ifdown eth1.XXX; ifup eth1.XXX command is executed.

Version-Release number of selected component (if applicable):
initscripts-9.03.53-1.el6.x86_64

How reproducible:
Always

Steps to Reproduce:
$cat ifcfg-eth1.100 
DEVICE=eth1.100
TYPE=Ethernet
ONBOOT=no
NM_CONTROLLED=no
BOOTPROTO=none
IPADDR=192.168.1.100
VLAN=yes
LINKDELAY=0


#ifup eth1.100
Determining if ip address 192.168.1.100 is already in use for device eth1...
[root@localhost Desktop]#

#ifdown eth1.100; ifup eth1.100
arping: recvfrom: Network is down <<<<<

#ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
2: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 52:54:00:30:09:21 brd ff:ff:ff:ff:ff:ff
3: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 52:54:00:98:3b:1f brd ff:ff:ff:ff:ff:ff
    inet 10.10.10.253/24 brd 10.10.10.255 scope global eth2
28: eth1.100@eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP 
    link/ether 52:54:00:30:09:21 brd ff:ff:ff:ff:ff:ff

$ps auxwww |grep ifup
root      3306  0.2  0.1 108748  1976 ?        S<   11:50   0:00 /bin/bash /etc/sysconfig/network-scripts/ifup-eth ifcfg-eth1.100
root      3353  0.0  0.0 103320   828 pts/0    S+   11:51   0:00 grep ifup


Actual results:
1. VLAN interface fails to come up with configured IP.  
2. The ifup process keeps running.  cu also observed these process in 'Z' state


Expected results:
VLAN interface up with configured IP


Additional info:
1. The issue not observed in RHEL 7. 
2. Issue observed for VLAN interfaces. 
3. Tried to reproduce it for alias interfaces (eth1:0). But was not success. Command executed successfully.

Comment 1 Lukáš Nykrýn 2016-11-11 09:37:01 UTC
I was not able to reproduce the issue, could you please tell your customer to boot with "rc.debug" on kernel cmdline, reproduce the issue and post here output of "dmesg"?

Comment 4 Abdelfattah CHEHAB 2016-11-14 10:36:57 UTC
(In reply to Lukáš Nykrýn from comment #1)
> I was not able to reproduce the issue, could you please tell your customer
> to boot with "rc.debug" on kernel cmdline, reproduce the issue and post here
> output of "dmesg"?

the bug is reproduced on any fresh installed RHEL6.8 and eariler please find attached logs you asked for

Comment 5 Abdelfattah CHEHAB 2016-11-14 10:37:59 UTC
Created attachment 1220348 [details]
dmesg (rc.debug)

dmesg output (rc.debug)


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