Bug 1242508

Summary: Having RHEVM network on a bonded VLAN together with other networks screws up network-config files
Product: Red Hat Enterprise Virtualization Manager Reporter: rhev-integ
Component: vdsmAssignee: Ido Barkan <ibarkan>
Status: CLOSED ERRATA QA Contact: Meni Yakove <myakove>
Severity: high Docs Contact:
Priority: high    
Version: 3.5.3CC: bazulay, danken, ecohen, eedri, fdeutsch, gklein, jentrena, lpeer, lsurette, mburman, mtessun, ycui, yeylon, ylavi
Target Milestone: ---Keywords: ZStream
Target Release: 3.5.4Flags: ylavi: Triaged+
Hardware: All   
OS: Linux   
Whiteboard: network
Fixed In Version: vdsm-4.16.23-1 Doc Type: Bug Fix
Doc Text:
Due to a bug in VDSM, ifcfg files that served multiple networks sometimes contained ONBOOT=no, and as a consequence, rendered management networks (or other important networks) unavailable during the early stages of boot. As a part of another change, all ifcfg files are now ONBOOT=yes, thus solving this bug, and making this scenario impossible. All networks are now loaded by network service and are not flushed later by VDSM, except in cases where the VDSM service recognizes them as different from the persistent network configuration.
Story Points: ---
Clone Of: 1234293 Environment:
Last Closed: 2015-09-03 18:13:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Network RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1234293    
Bug Blocks:    

Comment 1 Dan Kenigsberg 2015-07-14 16:11:34 UTC
This bug was cloned so this specific scenario is verified by QE on the z-stream build.

Comment 3 Michael Burman 2015-07-23 13:22:35 UTC
Verified on - 3.5.4-1.1.el6ev with vdsm-4.16.23-1.el7ev.x86_64


[root@navy-vds1 ~]# brctl show
bridge name     bridge id               STP enabled     interfaces
;vdsmdummy;             8000.000000000000       no
n1              8000.00145edd0924       no              bond0.167
rhevm           8000.00145edd0924       no              bond0.162

[root@navy-vds1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-n1 
# Generated by VDSM version 4.16.23-1.el7ev
DEVICE=n1
TYPE=Bridge
DELAY=0
STP=off
ONBOOT=yes
MTU=1500
DEFROUTE=no
NM_CONTROLLED=no
HOTPLUG=no
[root@navy-vds1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-bond0.167
# Generated by VDSM version 4.16.23-1.el7ev
DEVICE=bond0.167
VLAN=yes
BRIDGE=n1
ONBOOT=yes
MTU=1500
NM_CONTROLLED=no
HOTPLUG=no

Restarted network service with success and rebooted server with success, all network configuration kept. Server is UP in rhev-M.

Comment 5 errata-xmlrpc 2015-09-03 18:13:14 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-1729.html