Bug 824475

Summary: [RHEVM] [GUI] [webadmin] [Setup Host Networks] gateway setting required for non rhevm bond
Product: Red Hat Enterprise Virtualization Manager Reporter: Martin Pavlik <mpavlik>
Component: ovirt-engine-webadmin-portalAssignee: lpeer <lpeer>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Pavlik <mpavlik>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.1.0CC: acathrow, dyasny, ecohen, gklein, iheim, Rhev-m-bugs, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: network
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-17 08:02:40 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:
Attachments:
Description Flags
screenshot 1
none
screenshot 2 none

Description Martin Pavlik 2012-05-23 14:43:36 UTC
Description of problem:
if non rhevm bond is created via Setup Host Networks dialog and static IP option is chosen webadmin requires default gateway to be filled in (see screenshot 1)

if default gateway (e.g. 10.34.67.62) is filled in webadmin returns error: Default gateway should be set only on engine network (see screenshot 2)

if 0.0.0.0 is filled in default gateway transaction goes through

Version-Release number of selected component (if applicable):
oVirt Enterprise Virtualization Engine Manager Version: 3.1.0_0001-11.el6ev 

How reproducible:
always

Steps to Reproduce:

have machine with 3 or more NICs

1. create logical network
2. Hosts -> your host -> Network Interfaces -> Setup Hosts Networks
   a) drag one free NIC on another free NIC
   b) choose bonding mode 1
   c) drag your logical network to bond
   d) click pencil icon on bond
   e) choose boot protocol static
      - fill in IP and subnet mask 
      - click OK, hoover the mouse over Default Gateway filed
   
      - fill in IP, subnet mask, gateway
      - click OK, click OK

  
Actual results:
default GW field is displayed and required for non rhevm bond interface

Expected results:
default GW field should not be displayed and required for non rhevm interface

Additional info:
no log produced during this error

Comment 1 Martin Pavlik 2012-05-23 14:46:44 UTC
Created attachment 586375 [details]
screenshot 1

Comment 2 Martin Pavlik 2012-05-23 14:47:11 UTC
Created attachment 586376 [details]
screenshot 2

Comment 3 lpeer 2012-07-17 07:49:34 UTC
Martin can you please retest this bug.
It should be fixed in si10

Comment 4 Martin Pavlik 2012-07-17 08:02:40 UTC
Retested with SI10, gateway field is not present any more. Closing.