Bug 1368795

Summary: Default Export Domain reported as Inactive
Product: [oVirt] ovirt-engine Reporter: Kevin Alon Goldblatt <kgoldbla>
Component: Backend.CoreAssignee: Idan Shaby <ishaby>
Status: CLOSED WORKSFORME QA Contact: Raz Tamir <ratamir>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.0.2.4CC: bugs, tnisan
Target Milestone: ovirt-4.1.0-betaFlags: tnisan: ovirt-4.1?
kgoldbla: planning_ack?
kgoldbla: devel_ack?
kgoldbla: testing_ack?
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-10 11:54:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
screen shot none

Description Kevin Alon Goldblatt 2016-08-21 13:00:28 UTC
Description of problem:
Web Abmin - VM - Select Import VM - the default Export domain displayed in the list Source field is reported as Inactive, even though Domain is active

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


How reproducible: All the time


Tested with the following code:
----------------------------------------
rhevm-4.0.2.4-0.1.el7ev.noarch
vdsm-4.18.10-1.el7ev.x86_64

Tested with the following scenario:


Steps to Reproduce:
1. Create vm with 3 disks
2. Export vm to export domain on dc1
3. Detach export domain from dc1 and attach to dc2
4. Destroy dc1
5. Web Admin - Storage - VM Import - import vm successfully
6. Web Admin - VM - Import >>>>> The export domain is displayed in the Source Field but an Error is displayed "Not available when no export domain is active" and No relevant vm's in the list are displayed for Loading
7. Select a different source and then select the previously displayed export domain >>>>> Now the relevant vm's in the list are displayed for Loading and can be loaded


Actual results:
The export domain is displayed in the Source Field but an Error is displayed "Not available when no export domain is active" and No relevant vm's in the list are displayed for Loading


Expected results:
If the export domain is displayed in the source field by default then the list of vms on this domain should be displayed and the load option should be enabled



Additional info:
Screen shots

Comment 1 Kevin Alon Goldblatt 2016-08-21 13:21:58 UTC
Created attachment 1192583 [details]
screen shot

Screen shot added

Comment 2 Idan Shaby 2017-01-10 11:54:13 UTC
Did exactly what you described more than once and everything worked as expected.
If you still manage to reproduce, please reopen.