Bug 820875

Summary: [RHEVM] [GUI] check network connectivity flag is ignored
Product: Red Hat Enterprise Virtualization Manager Reporter: Martin Pavlik <mpavlik>
Component: ovirt-engine-webadmin-portalAssignee: Einav Cohen <ecohen>
Status: CLOSED NOTABUG QA Contact: yeylon <yeylon>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.1.0CC: dyasny, ecohen, gklein, iheim, Rhev-m-bugs, srevivo, 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-05-12 06:13:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martin Pavlik 2012-05-11 09:22:49 UTC
Description of problem:

Acocording to logs, it seems that it does not matter whether the box is checked or not it always sends checkConnectivity=true

vdsm.log
Thread-5803:EBUG::2012-05-10 16:05:01,339::BindingXMLRPC::864::vds:wrapper) client [10.34.63.67]::call editNetwork with ('rhevm', 'rhevm', '', '', ['em1'], {'connectivityCheck': 'true', 'BOOTPROTO': 'dhcp', 'STP': 'no', 'connectivityTimeout': '120'}) {} flowID [1fe19ed0]
MainProcess|Thread-5803::INFO::2012-05-10 16:05:01,360::configNetwork::726::root:delNetwork) Removing network rhevm with vlan=None, bonding=None, nics=['em1']. options={'connectivityCheck': 'true', 'bootproto': 'dhcp', 'STP': 'no', 'connectivityTimeout': '120'}
MainProcess|Thread-5803::INFO::2012-05-10 16:05:01,657::configNetwork::595::root:addNetwork) Adding network rhevm with vlan=None, bonding=None, nics=['em1'], bondingOptions=None, mtu=None, bridged=True, options={'connectivityCheck': 'true', 'bootproto': 'dhcp', 'STP': 'no', 'connectivityTimeout': '120'}

engine.log
2012-05-10 16:05:14,693 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.EditNetworkVDSCommand] (pool-10-thread-45) [1fe19ed0] START, EditNetworkVDSCommand(vdsId = 6387fb68-99a2-11e1-b643-001a4a013f3a, networkName=rhevm, oldNetworkName=rhevm, hostAddr=10.34.63.67, checkConnectivity=true, connectionTimeout=120, vlanId=null, bondName=null, nics=[em1], inetAddr=null, networkMask=null, gateway=, stp=false, bondingOptions=null, bootProtocol=Dhcp), log id: 360aa73a


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

How reproducible:
100%

Steps to Reproduce:
go to 

1)Hosts-> your host -> network interfaces -> check rhevm interface -> Edit Management Network

2) Uncheck Check Connectivity tick-box -> click OK ==> Empty confirm dialog appears

3) Click ok in empty dialog

  
Actual results:
network connectivity check is performed when "check connectivity" is unticked

Expected results:
network connectivity check should not be performed when "check connectivity" is unticked

Additional info:

Comment 1 Avi Tal 2012-05-12 06:13:58 UTC
You Can't allow unchecking network connectivity when editing management network