Description of problem: When you have multiple external network providers, and the default 'ovirt-provider-ovn' is selected for a cluster, when you create new external network on this cluster, it selects the last created external network provider as default, where it should select the 'ovirt-provider-ovn' as configured in the cluster settings. Version-Release number of selected component (if applicable): 4.2.0-0.0.master.20171020191516.gitff33cdc.el7.centos How reproducible: 100% Steps to Reproduce: 1. Create additional external network provider (except ovirt-provider-ovn that should be created by engine-setup). 2. Edit exiting cluster and select 'ovirt-provider-ovn' as default network provider. 3. Create external network on that cluster and choose 'Create on external provider' checkbox. Actual results: Wrong provider is selected as default external provider (last one that was created in engine). Expected results: Should select the default one. Additional info:
Hi, Correct me if I am wrong. You want to have selected value based on which cluster is attached? If so it doesn't make much sense: - When you have multiple cluster selected which one do you choose for the provider? - Current workflow -> User first selects external provider and then clusters.
The bug is about the default value for the external of a logical network created under a cluster that has a value for default network provider. I expect the default value of the logical network to be the one that is defined in the cluster.
Created attachment 1344946 [details] screenshot
Hi Ales, I tried to test it on version: 4.2.0-0.0.master.20171119135709.git6d448d3.el7.centos The behaviour is not what I expected to be (also see my comment #2). Currently, it selects 'ovirt-provider-ovn' always, where it should select the External Network Provider as it's set on the cluster entity. Steps: 1. Create a dummy External Network Provider named 'test_enp'. 'ovirt-provider-ovn' should exist by default. (at this point, two providers exists the system) 2. Edit a cluster and set the default External Network Provider to be 'test_enp'. 3. Under clusters, choose the cluster and go to the Logical Networks tab, click Add Network and tick on Create on external provider. --> 'ovirt-provider-ovn' is selected where 'test_enp' should be selected.
Verified on RHV 4.2.0-0.6.el7.noarch
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.