Bug 1290433

Summary: A non-management network is allowed to be chosen as a host gateway
Product: [oVirt] ovirt-engine Reporter: Yevgeny Zaspitsky <yzaspits>
Component: BLL.NetworkAssignee: Yevgeny Zaspitsky <yzaspits>
Status: CLOSED CURRENTRELEASE QA Contact: Meni Yakove <myakove>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.6.0CC: bugs, gklein, sbonazzo, ylavi, yzaspits
Target Milestone: ovirt-3.6.2Flags: danken: ovirt-3.6.z?
ylavi: planning_ack+
danken: devel_ack+
yzaspits: testing_ack?
Target Release: 3.6.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: network
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-24 15:55:09 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:

Description Yevgeny Zaspitsky 2015-12-10 13:56:45 UTC
Description of problem:
A non-management network is allowed to be chosen as a host gateway on oVirt with MultipleGatewaysSupported disabled.

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


How reproducible:
100%

Steps to Reproduce:
1. Create cluster cl1 with management network net1
2. Create cluster cl2 with management network net2 in the same DC
3. Attach net2 to cluster cl1
4. Add a host to cluster cl1 and make both network to be attached to it.
5. Set MultipleGatewaysSupported to be diabled.
6. Try to configure net2 as a host gateway.

Actual results:
The action is allowed

Expected results:
The action should be blocked.

Additional info:

Comment 1 Yaniv Lavi 2016-01-24 15:57:24 UTC
Why did you close it, if it wasn't tested?

Comment 2 Yevgeny Zaspitsky 2016-01-25 12:09:54 UTC
QA do not have a good way to test that, so we agreed to close that.