Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 835598

Summary: [RHEVM] [backend] [Setup Host Networks] setting static IP on VLANed rhevm interface sends options={'bootproto': 'dhcp'}
Product: Red Hat Enterprise Virtualization Manager Reporter: Martin Pavlik <mpavlik>
Component: ovirt-engineAssignee: Moti Asayag <masayag>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Pavlik <mpavlik>
Severity: high Docs Contact:
Priority: high    
Version: 3.1.0CC: dyasny, ecohen, gklein, iheim, lpeer, Rhev-m-bugs, sgrinber, yeylon, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: network
Fixed In Version: si13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 20:04:16 UTC Type: Bug
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: 845494    
Bug Blocks:    
Attachments:
Description Flags
vdsm.log + engine.log + ifcfg files
none
screenshot 1
none
screenshot 2
none
logs2
none
screenshot 3
none
logs3 none

Description Martin Pavlik 2012-06-26 14:46:07 UTC
Created attachment 594498 [details]
vdsm.log + engine.log + ifcfg files

Description of problem: 
If host is added to setup over VLANed interface with static configuration. 2 problems occur. 


1) Rhevm interface is seen as DHCP configured despite it has static configuration (see screenshot 1, and ifcfg files in folder ifcfg_before) 

2) When user tries to change DHCP to static via SetupNetworks dialog,  options={'bootproto': 'dhcp'} is received by vdsm. (see scrrenshot 2 with interface settings), vdsm.log, engine.log and ifcfg files after change attached.

Version-Release number of selected component (if applicable):
oVirt Engine Version: 3.1.0-2.el6ev 
vdsm-4.9.6-17.0.el6.x86_64
Host is RHEL 6.3


How reproducible:
100%

Steps to Reproduce:
1. Create new Data Center with VLAN tagged rhevm network
2. Add cluster to DC
3. Add host to cluster over VLAN tagged interface (manually configured before adding to setup)
4. Go to hosts -> your host -> setup host networks -> click pencil icon on rhevm interface -> you will see DHCP checked (screenshot 1)
5. switch to static configuration -> fill in IP/MASK/GW -> click OK -> check Save network configuration -> click OK

rhevm interface configuration should changetto DHCP


Actual results:
1)interface configured with static IP is shown with DHCP checkbox
2)static configuration in GUI results in DHCP configuration on host

Expected results:
1) interface configured with static IP is shown as configured with static IP
2) static configuration in GUI results in static configuration on host

Additional info:

Comment 1 Martin Pavlik 2012-06-26 14:46:47 UTC
Created attachment 594499 [details]
screenshot 1

Comment 2 Martin Pavlik 2012-06-26 14:47:03 UTC
Created attachment 594500 [details]
screenshot 2

Comment 3 lpeer 2012-07-17 07:36:35 UTC
Moti -looks like a dup of 824432

Comment 6 Martin Pavlik 2012-07-18 12:26:02 UTC
Created attachment 598870 [details]
logs2

Comment 8 Martin Pavlik 2012-07-18 14:31:45 UTC
Created attachment 598904 [details]
screenshot 3

Comment 9 Martin Pavlik 2012-07-18 14:37:33 UTC
Created attachment 598905 [details]
logs3