Bug 1506131 - When setting a specific cluster to be OVN type, all clusters become OVN type
Summary: When setting a specific cluster to be OVN type, all clusters become OVN type
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: ovirt-provider-ovn
Classification: oVirt
Component: provider
Version: 1.0.4
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-4.2.0
: ---
Assignee: Dominik Holler
QA Contact: Mor
URL:
Whiteboard:
: 1506130 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-25 08:39 UTC by Mor
Modified: 2017-11-08 12:19 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-11-08 12:19:37 UTC
oVirt Team: Network
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)
engine and ovirt-provider-ovn logs (78.12 KB, application/octet-stream)
2017-10-25 08:43 UTC, Mor
no flags Details
reproduce (2.44 KB, text/x-python)
2017-11-02 16:53 UTC, Dominik Holler
no flags Details

Description Mor 2017-10-25 08:39:57 UTC
Description of problem:
When selecting a specific cluster to be OVN type, all other clusters are affected by this setting.

Version-Release number of selected component (if applicable):
4.2.0-0.0.master.20171020191516.gitff33cdc.el7.centos
ovirt-provider-ovn-1.2-0.20171020111522.git3dd43cf.el7.centos.noarch

How reproducible:
100%

Steps to Reproduce:
At least 2 clusters are needed to reproduce.
1. Edit existing cluster and set 'Default Network Provider' to be 'ovirt-provider-ovn' (the default OVN provider created by engine-setup).
2. Edit another existing non-OVN cluster, and check the 'Default Network Provider' value.

Actual results:
All non-OVN clusters becomes OVN clusters.

Expected results:
Only the specific cluster should become OVN cluster.

Additional info:

Comment 1 Mor 2017-10-25 08:40:50 UTC
*** Bug 1506130 has been marked as a duplicate of this bug. ***

Comment 2 Mor 2017-10-25 08:43:26 UTC
Created attachment 1343119 [details]
engine and ovirt-provider-ovn logs

Comment 3 Dominik Holler 2017-11-02 16:53:31 UTC
Created attachment 1347077 [details]
reproduce

Comment 4 Dominik Holler 2017-11-02 16:57:01 UTC
I am not able to reproduce the behavior. Neither in the UI nor via the REST-API (see attachment 1347077 [details]).
Maybe the second cluster was changed by engine-setup?

Currently, engine-setup assigns the default provider to clusters without default provider. But this behavior seems to be unexpected and should be changed.

Comment 5 Mor 2017-11-02 20:45:07 UTC
Not sure what exactly has changed between versions, but I am unable to reproduce it on later oVirt version: 4.2.0-0.0.master.20171030210714.gitef6bb9c.el7.centos.

Does engine-setup assigns the default provider to all clusters during upgrade? What if the user wishes to not install OVN? Or wish to select which cluster supports OVN?

Comment 6 Dominik Holler 2017-11-02 20:50:02 UTC
> Does engine-setup assigns the default provider to all clusters during upgrade?

Currently to all clusters without a provider.

> What if the user wishes to not install OVN?

In this case, no provider is assigned.

> Or wish to select which cluster supports OVN

I think of changing it in a way that the provider is assigned only to the default cluster.

Comment 7 Dan Kenigsberg 2017-11-08 12:19:37 UTC
Please reopen if this reproduces.


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