Bug 1495261

Summary: [RFE] Define default network provider on cluster level
Product: [oVirt] ovirt-engine Reporter: Dominik Holler <dholler>
Component: Backend.CoreAssignee: Dominik Holler <dholler>
Status: CLOSED CURRENTRELEASE QA Contact: Mor <mkalfon>
Severity: urgent Docs Contact:
Priority: high    
Version: ---CC: bugs, danken, dholler, mgoldboi, mkalfon, myakove
Target Milestone: ovirt-4.2.0Keywords: FutureFeature
Target Release: ---Flags: rule-engine: ovirt-4.2+
mgoldboi: planning_ack+
danken: devel_ack+
myakove: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-20 11:24:47 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:
Bug Depends On:    
Bug Blocks: 1254213, 1509235    

Description Dominik Holler 2017-09-25 15:59:26 UTC
Description of problem:
All oVirt hosts, which could host a VM with an interface attached to an external, e.g. OVN, network. If the VM is not pinned to specific hosts, any host in the VM’s cluster can host the VM. For this reason all hosts in the cluster needs the provide the external network. To manage the availability of an external network over all hosts of a cluster, the cluster is extended by a default network provider, which should be supported by every host in the cluster, if the host does not explicitly overwrites.

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


How reproducible:


Steps to Reproduce:
1. Add a new host with default values
2.
3.

Actual results:
Host does not provide access to external networks.

Expected results:
Host provides access to external networks of the default network provider of it's cluster.

Additional info:

Comment 1 Dan Kenigsberg 2017-10-24 08:51:02 UTC
cluster provider should be exposed in UI, REST, and Ansible.

Comment 2 Dominik Holler 2017-11-03 11:55:27 UTC
The Ansible part is excluded from this bug and tracked in https://bugzilla.redhat.com/1509235.
Setting this bug to MODIFIED, because UI and REST are done.

Comment 3 Mor 2017-11-19 10:15:26 UTC
Is deploy/undeploy functionality included in the RFE?

Comment 4 Dominik Holler 2017-11-20 07:12:18 UTC
Deploy functionality on newly added hosts is included because the "does not explicitly overwrites.".
Undeploy functionality is not yet implemented, and from my point if view, undeploy functionality is not required to fulfill the RFE.

Comment 5 Mor 2017-11-21 14:04:23 UTC
On existing OVN cluster, edit of cluster External Network Provider to to 'ovirt-provider-ovn' does not trigger the deployment to all hosts.

version 4.2.0-0.0.master.20171119135709.git6d448d3.el7.centos

Comment 6 Mor 2017-11-21 14:17:45 UTC
Relocation of oVirt host from non-OVN cluster to OVN cluster is also not triggering OVN deployment on the host.

Comment 7 Mor 2017-11-26 13:39:07 UTC
Only add host operation on existing 'ovirt-provider-ovn' cluster is tested.

Missing functionality:
- Undeploy is yet implemented (NOT TESTED)
- Move existing OVN/non-OVN host from OVN/non-OVN to non-OVN/OVN cluster is yet implemented (NOT TESTED)

Verified on:
RHV version 4.2.0-0.5.master.el7
ovirt-engine-4.2.0-0.5.master.el7.noarch
ovirt-provider-ovn-driver-1.2-0.20171026134055.git942c2ca.el7ev.noarch

Comment 8 Mor 2017-11-26 13:39:49 UTC
* Also:

- Edit existing External Network Provider of cluster is yet implemented (NOT TESTED)

Comment 9 Sandro Bonazzola 2017-12-20 11:24:47 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.