Description of problem: When rhevm interface is connected over VLAN (see screenshot 1 with interface configuration). Field default gateway cannot be filled in Edit Management network dialog. If it is filled following error message appears in UI: The default gateway should be set only on engine network (see screenshot2) Version-Release number of selected component (if applicable): oVirt Engine Version: 3.1.0-2.el6ev How reproducible: 100% Steps to Reproduce: 1. Manually setup VLAN interface on host 2. Use the VLAN interface when adding host to setup 3. Go to Hosts -> your host -> Network Interfaces -> Setup Host Networks -> click the pencil icon on rhevm interface a) Boot protocol: Static b) fill in IP/MASK/GW c) click OK, click OK Actual results: Error appears Expected results: Default GW should be processed correctly for rhevm interface Additional info: only following WARN appears in engine.log 2012-06-25 10:52:24,793 WARN [org.ovirt.engine.core.bll.SetupNetworksCommand] (ajp-/0.0.0.0:8009-18) [1e80e89a] CanDoAction of action SetupNetworks failed. Reasons:VAR__ACTION__SETUP,VAR__TYPE__NETWORKS,NETWORK_ATTACH_ILLEGAL_GATEWAY
Created attachment 594151 [details] screenshot 1
Created attachment 594152 [details] screenshot 2
Bug isn't reproduced via rest-api setup-networks. Looking at the parameters sent from webadmin to the backend, it looks that the gateway isn't reported on the ovirtmgmt interface (ethx.vlanid) but for the underlying interface (ethx). Moving to webadmin component.
fixed in commit 74b13500e45b1a1766b1a4e88d33da950acd35b4