Bug 1354495

Summary: v2v: import dialog - "external provider" field is not refreshed when changing DC field value
Product: [oVirt] ovirt-engine Reporter: Sharon Gratch <sgratch>
Component: BLL.VirtAssignee: Sharon Gratch <sgratch>
Status: CLOSED CURRENTRELEASE QA Contact: Nisim Simsolo <nsimsolo>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0.1CC: amarchuk, bugs, mgoldboi, michal.skrivanek, nsimsolo, tjelinek
Target Milestone: ovirt-4.0.2Flags: rule-engine: ovirt-4.0.z+
rule-engine: exception+
mgoldboi: planning_ack+
rule-engine: devel_ack+
mavital: testing_ack+
Target Release: 4.0.2.1   
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: 2016-08-25 12:16:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sharon Gratch 2016-07-11 12:31:02 UTC
Description of problem:
In v2v/import dialog, the "External Provider" field values are refreshed only for "Source" field value changes and not for "Data Center" field value changes as required.

In case there is an "external provider" exists for an "external source" and data center, opening the import vms dialog and first selecting the relevant dc and then selecting the relevant external source, caused the "external Provider" field values to stay as is and not refreshed according to the selected datacenter and therefore the appropriate external provider is not available to be chosen.

Only after re-selecting the external source, the External Provider field is refreshed.


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

How reproducible:
100%

Steps to Reproduce:
1.Declare an "external provider" for a specific external source and datacenter.
2.Open the "import Virtual machine(s) (v2v) dialog and first select the relevant datacenter and then select the relevant external source.
3.Open the pull down menu of the "External Provider" field.

Actual results:
the appropriate "external provider" declared in (1) is not displayed in pull down menu.

Expected results:
the appropriate "external provider" declared in (1) should be displayed.

Comment 1 Sharon Gratch 2016-07-21 12:08:04 UTC
not backported to 4.0 branch

Comment 2 Michal Skrivanek 2016-07-25 10:12:03 UTC
trivial one-liner for 4.0.2

Comment 3 Nisim Simsolo 2016-08-22 13:26:13 UTC
Verified: 
ovirt-engine-4.0.2.7-0.1.el7ev
qemu-kvm-rhev-2.3.0-31.el7_2.21.x86_64
vdsm-4.18.11-1.el7ev.x86_64
libvirt-client-1.2.17-13.el7_2.5.x86_64