Bug 1495261 - [RFE] Define default network provider on cluster level
Summary: [RFE] Define default network provider on cluster level
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Backend.Core
Version: ---
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: ovirt-4.2.0
: ---
Assignee: Dominik Holler
QA Contact: Mor
URL:
Whiteboard:
Depends On:
Blocks: overlay_networks_support 1509235
TreeView+ depends on / blocked
 
Reported: 2017-09-25 15:59 UTC by Dominik Holler
Modified: 2018-04-29 09:30 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-12-20 11:24:47 UTC
oVirt Team: Network
Embargoed:
rule-engine: ovirt-4.2+
mgoldboi: planning_ack+
danken: devel_ack+
myakove: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 81634 0 master MERGED webadmin: Allow EXTERNAL_NETWORK in HostNetworkProviderModel 2017-09-27 05:55:19 UTC
oVirt gerrit 81664 0 master ABANDONED restapi: Enable getting external network provider per host 2017-10-04 15:02:09 UTC
oVirt gerrit 81679 0 master MERGED core: Add getter and setter for OpenstackNetworkProviderId to VDS 2017-09-28 11:59:27 UTC
oVirt gerrit 81682 0 master MERGED restapi: External network provider for hosts 2017-10-12 16:00:23 UTC
oVirt gerrit 81683 0 master MERGED Add external network provider configurations to host 2017-10-09 07:23:18 UTC
oVirt gerrit 82013 0 master MERGED core: Add default network provider to cluster 2017-09-27 05:55:22 UTC
oVirt gerrit 82052 0 master MERGED packaging: setup: ovn: Fill clusters without default network provider 2017-09-27 13:56:53 UTC
oVirt gerrit 82062 0 master MERGED restapi: Add default network provider to cluster 2017-10-12 16:00:27 UTC
oVirt gerrit 82097 0 master MERGED core: Complete openstackNetworkProviderId 2017-09-28 07:34:09 UTC
oVirt gerrit 82122 0 master MERGED webadmin: Reflect cluster's default network provider 2017-11-19 12:59:09 UTC
oVirt gerrit 82193 0 master MERGED Add a list of external network providers to cluster 2017-10-09 07:24:22 UTC
oVirt gerrit 82237 0 master MERGED webadmin: Add default network provider to cluster 2017-10-18 12:14:23 UTC
oVirt gerrit 82606 0 model_4.2 MERGED Add external network provider configurations to host 2017-10-09 07:41:49 UTC
oVirt gerrit 82607 0 model_4.2 MERGED Add a list of external network providers to cluster 2017-10-09 07:52:27 UTC
oVirt gerrit 82693 0 master MERGED restapi: Update to model 4.2.20 2017-10-12 09:45:45 UTC

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.


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