Bug 854496 - MTU configuration should be disabled and blocked for 3.0 DC
Summary: MTU configuration should be disabled and blocked for 3.0 DC
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-webadmin-portal
Version: 3.1.0
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: ---
: ---
Assignee: Alona Kaplan
QA Contact: Meni Yakove
URL:
Whiteboard: network
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-05 08:07 UTC by Moti Asayag
Modified: 2016-02-10 20:00 UTC (History)
7 users (show)

Fixed In Version: SI18
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-04 20:08:05 UTC
oVirt Team: Network
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Moti Asayag 2012-09-05 08:07:35 UTC
Description of problem:
The MTU support is introduced for 3.1 cluster level hosts.
Currently a user can define a network on 3.1 DC and set its MTU to differ from the default value.

The MTU check box on 'Add Logical Network' dialog should be disabled for 3.0 DC (either from DC's 'Logical Networks' sub-tab or from Cluster's 'Logical Networks' sub tab)

In addition, there backend should also block/prevent from passing MTU to vdsm for 3.0 DC level.

Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. Create DC 3.0
2. Create new logical network - check the "Override MTU" checkbox
  
Actual results:
A network with configured MTU is created for 3.0 DC.

Expected results:
Action should be blocked.

Additional info:

Comment 1 Moti Asayag 2012-09-06 11:56:44 UTC
A suggested patch:

Disable MTU for 3.0 DC on engine side:
http://gerrit.ovirt.org/#/c/7813/

Disable MTU for 3.0 DC on UI:
http://gerrit.ovirt.org/#/c/7814/

Comment 3 Alona Kaplan 2012-09-10 15:53:22 UTC
upstream commit http://gerrit.ovirt.org/#/c/7908/5

Comment 5 Meni Yakove 2012-09-16 07:35:29 UTC
Tested on rhevm-3.1.0-16.el6ev.noarch.

MTU checkbox is greyed out on DC level and on cluster level.

Comment 6 Moti Asayag 2012-09-16 08:15:03 UTC
(In reply to comment #5)
> Tested on rhevm-3.1.0-16.el6ev.noarch.
> 
> MTU checkbox is greyed out on DC level and on cluster level.

That covers the bug fix on UI side. On backend side it could be verified by adding new network via rest-api and providing an mtu for a network being added to 3.0 DC.

Comment 7 Meni Yakove 2012-09-19 07:03:56 UTC
Tested with REST.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <fault>
            <reason>Operation Failed</reason>
            <detail>[Cannot add Network. Overriding MTU is not supported for this Data Center's compatibility version.]</detail>
    </fault>


Note You need to log in before you can comment on or make changes to this bug.