Bug 1393957

Summary: VLAN interface fails to come up when ifdown eth1.XXX; ifup eth1.XXX command is executed
Product: Red Hat Enterprise Linux 6 Reporter: suresh kumar <surkumar>
Component: initscriptsAssignee: David Kaspar // Dee'Kej <deekej>
Status: CLOSED WONTFIX QA Contact: qe-baseos-daemons
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.8CC: abdel.chehab, cww, deekej, jmaxwell, surkumar
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-15 20:18:22 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:
Attachments:
Description Flags
dmesg (rc.debug) none

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)