Bug 1369291

Summary: Add rhvh to engine failed over bond configured during anaconda installation
Product: [oVirt] vdsm Reporter: dguo
Component: GeneralAssignee: Fabian Deutsch <fdeutsch>
Status: CLOSED DEFERRED QA Contact: Aharon Canan <acanan>
Severity: high Docs Contact:
Priority: high    
Version: 4.18.11CC: bugs, cshao, dguo, huzhao, jiawu, leiwang, mgoldboi, weiwang, yaniwang, ycui, yzhao
Target Milestone: ---Flags: danken: ovirt-4.0.z?
mgoldboi: planning_ack+
rule-engine: devel_ack?
rule-engine: testing_ack?
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-22 08:20:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1304509    
Attachments:
Description Flags
Not change slave name: network-scripts
none
Not change slave name: host deploy log
none
Not change slave name: sosreport
none
Not change slave name: /var/log/*
none
Not change slave name: engine.log_part_aa
none
Not change slave name: engine.log_part_ab
none
Not change slave name: engine.log_part_ac
none
Change slave name: network-scrpits
none
Not change slave name: engine.log
none
Change slave name: host deploy log
none
Change slave name: sosreport
none
Change slave name: /var/log/* none

Description dguo 2016-08-23 03:27:49 UTC
Created attachment 1193121 [details]
Not change slave name: network-scripts

Description of problem:
Add rhvh to engine over bond failed, the bond were configured during the installation.

Version-Release number of selected component (if applicable):
redhat-virtualization-host-4.0-20160817.0.x86_64
imgbased-0.8.4-1.el7ev.noarch
vdsm-4.18.11-1.el7ev.x86_64
Red Hat Virtualization Manager Version: 4.0.2.6-0.1.el7ev

How reproducible:
100%

Steps to Reproduce:
1. Install rhvh via anaconda
2. On the network page, add a bond contains two slave (em1 and p4p2) 
3. After the installation, add rhvh to engine

Actual results:
1.After step#3, Failed to configure management network on the host

Expected results:
1. After step#3, Add to engine successfully

Additional info:
1. Both dhcp and static bond were failed to add to engine
2. During configuring bond, if not change the slave name, just use "em1" and "p4s2", after the installation, there will be two ifcfg files named "ifcfg-em1-1" and "ifcfg-p4p2-1"
3. If change the slave name as "slave1" and "slave2", after the installation, the ifcfg-files will be named as "ifcfg-slave1" and "ifcfg-slave2", but adding to engine still failed.
4. It should be noted that the "SLAVE=" line in ifcfg file is already kept as "SLAVE=bond0" originally, no need to modify.

Comment 1 dguo 2016-08-23 03:55:15 UTC
Created attachment 1193127 [details]
Not change slave name: host deploy log

Comment 2 dguo 2016-08-23 03:56:06 UTC
Created attachment 1193128 [details]
Not change slave name: sosreport

Comment 3 dguo 2016-08-23 03:56:36 UTC
Created attachment 1193129 [details]
Not change slave name: /var/log/*

Comment 4 dguo 2016-08-23 03:59:28 UTC
Created attachment 1193130 [details]
Not change slave name: engine.log_part_aa

Comment 5 dguo 2016-08-23 04:01:33 UTC
Created attachment 1193131 [details]
Not change slave name: engine.log_part_ab

Comment 6 dguo 2016-08-23 04:02:38 UTC
Created attachment 1193132 [details]
Not change slave name: engine.log_part_ac

Comment 7 dguo 2016-08-23 04:03:56 UTC
Created attachment 1193133 [details]
Change slave name: network-scrpits

Comment 8 dguo 2016-08-23 04:04:57 UTC
Created attachment 1193134 [details]
Not change slave name: engine.log

Comment 9 dguo 2016-08-23 04:05:48 UTC
Created attachment 1193135 [details]
Change slave name: host deploy log

Comment 10 dguo 2016-08-23 04:06:52 UTC
Created attachment 1193136 [details]
Change slave name: sosreport

Comment 11 dguo 2016-08-23 04:07:33 UTC
Created attachment 1193137 [details]
Change slave name: /var/log/*

Comment 12 Dan Kenigsberg 2016-08-23 06:14:07 UTC
Reminder: RHV-4.0.2 does not support the consumption of NM-defined interfaces until further notice.

Comment 13 Fabian Deutsch 2016-09-22 08:20:03 UTC
Closing this bug according to comment 12.

As long as NM support in vdsm is not fixed, interfaces can not be configured through anaconda.