Bug 1291083

Summary: [hosted-engine] - Adjust management network settings when deployed over VLAN interface/s
Product: [oVirt] ovirt-hosted-engine-setup Reporter: Michael Burman <mburman>
Component: NetworkAssignee: Simone Tiraboschi <stirabos>
Status: CLOSED CURRENTRELEASE QA Contact: Michael Burman <mburman>
Severity: high Docs Contact:
Priority: unspecified    
Version: 1.3.1.2CC: ahoness, bugs, danken, dfediuck, didi, gklein, jet.ovirt, lveyde, rmartins, sbonazzo, sistemas-soporte-linux, stirabos, ylavi
Target Milestone: ovirt-3.6.3Keywords: Regression
Target Release: 1.3.3.3Flags: rule-engine: ovirt-3.6.z+
rule-engine: blocker+
ylavi: planning_ack+
sbonazzo: devel_ack+
gklein: testing_ack+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
hosted-engine-setup was setting the VLAN tag attribute of the logical network at cluster level but it was not effective; setting at top level fixes it. Enforcing also that NetworkManager is off and that the hostname effectively resolves to the address used on the management network interface to provide a smooth experience.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-11 07:23:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1134346, 1305885    
Attachments:
Description Flags
screenshot
none
Logs none

Description Michael Burman 2015-12-13 15:54:44 UTC
Created attachment 1105350 [details]
screenshot

Description of problem:
[hosted-engine] - Adjust management network settings when deployed over VLAN interface/s

When self hosted engine is being deployed over VLAN it leads to situation that the management network is out-of-sync with host. Host is UP in engine. 

It is caused by engine-setup deploying engine with management network which does not have VLAN tag by default

Self hosted engine should take care of this in the final configuration stage.

WA - edit the management network with vlan tag via the Networks main tab.

Version-Release number of selected component (if applicable):
3.6.1.2-0.1.el6
ovirt-hosted-engine-setup-1.3.1.2-1.el7ev.noarch
vdsm-4.17.13-1.el7ev.noarch

How reproducible:
100

Steps to Reproduce:
1. Configure VLAN tagged interface on physical host
2. Run hosted-engine --deploy 
3. Choose the VLAN interface to be used for the management network deployment
4. Finish the hosted engine deplyoment

Actual results:
Host is out-of-sync with host. There is a difference between host(vlan) and DC(no vlan)

Expected results:
Management network should be synced to host after deployment is done.
Self hosted engine should take care of this in the final configuration stage.

Additional info:
It's a regression bug. This was fixed and verified on 3.5.z - BZ 1124207

Comment 1 Michael Burman 2015-12-14 06:06:55 UTC
Created attachment 1105476 [details]
Logs

Comment 2 Red Hat Bugzilla Rules Engine 2015-12-16 21:40:09 UTC
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.

Comment 3 Simone Tiraboschi 2016-02-03 17:24:08 UTC
*** Bug 1303931 has been marked as a duplicate of this bug. ***

Comment 4 Simone Tiraboschi 2016-02-11 14:23:45 UTC
It fails with VLAN and DHCP; moving back to assigned.

Comment 5 Red Hat Bugzilla Rules Engine 2016-02-11 14:23:46 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 6 Michael Burman 2016-02-23 09:41:47 UTC
Verified on - ovirt-hosted-engine-setup-1.3.3.3-1.el7ev.noarch

Both with rhel 7.2 and rhev-h 7.2 20160222.0.el7ev 
with:
rhevm-appliance-20160212.0-1
engine-3.6.3.1-0.1.el6
vdsm-4.17.21-0.el7ev

Tested over vlan NIC and vlan BOND with success

Comment 7 Yedidyah Bar David 2016-03-14 14:03:32 UTC
*** Bug 1317541 has been marked as a duplicate of this bug. ***