Bug 845822

Summary: SetupNetworks | MTU not set to default when removing network from interface.
Product: Red Hat Enterprise Virtualization Manager Reporter: Meni Yakove <myakove>
Component: ovirt-engine-webadmin-portalAssignee: Einav Cohen <ecohen>
Status: CLOSED WONTFIX QA Contact: Meni Yakove <myakove>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: dyasny, ecohen, 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-08-05 11:46:44 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
engine.log none

Description Meni Yakove 2012-08-05 11:21:52 UTC
Description of problem:
When attaching network with custom MTU to interface and then removing the network from the interface the custom MTU on the interface is still the custom MTU and not the default 1500. 

Version-Release number of selected component (if applicable):
rhevm-3.1.0-10.el6ev.noarch

How reproducible:
100$

Steps to Reproduce:
1.Create network with MTU 5000 and attach it to cluster.
2.Open SetupNetworks and attach MTU network to interface > apply > check MTU on host, should be 5000
3.Open SetupNetwork and detach MTU network from the interface > apply > check MTU on the host, still 5000 
  
Actual results:
The MTU on the interface is 5000 after detaching the network from the interface.

Expected results:
The MTU on the host should be the default 1500 when detaching network from interface

Comment 1 Meni Yakove 2012-08-05 11:22:21 UTC
Created attachment 602351 [details]
engine.log

Comment 2 Itamar Heim 2012-08-05 11:46:44 UTC
I don't see how/why we would fix this.
what if the inerface had an MTU of 8000 before?
we don't keep this value to restore it.

Comment 3 Yaniv Kaul 2012-08-05 12:52:39 UTC
(In reply to comment #2)
> I don't see how/why we would fix this.
> what if the inerface had an MTU of 8000 before?

Then configuring to 1500 will be just as good.
Certainly better than keeping it with a higher value.

> we don't keep this value to restore it.