Bug 2218522

Summary: [RHV 4.4 SP1] UI exception while importing a VM and template of a VM
Product: Red Hat Enterprise Virtualization Manager Reporter: Ulhas Surse <usurse>
Component: ovirt-web-uiAssignee: Sharon Gratch <sgratch>
Status: NEW --- QA Contact: Lukas Svaty <lsvaty>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.5.3CC: michal.skrivanek
Target Milestone: ---Flags: michal.skrivanek: needinfo? (usurse)
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ulhas Surse 2023-06-29 13:44:41 UTC
Description of problem:
- There is UI exception while creating a VM template. 

Version-Release number of selected component (if applicable):
RHV 4.5 / RHV 4.4 SP1

How reproducible:
Always

Steps to Reproduce:
1. Detach storage domain or import any storage domain from other cluster
2. Try to import VM and templates
3. UI exception is displayed. 

~~~
Uncaught exception: com.google.gwt.core.client.JavaScriptException: (TypeError) : a is null
Please have your administrator check the UI logs
~~~

Actual results:
exception occurs 

Expected results:
Import should be without exception. 


Additional info:
Import of VM and template is successful though.

Comment 2 Michal Skrivanek 2023-07-13 10:16:23 UTC
Can you please add more details about the exact flo?. What kind of import, what kind of template. Please add exact steps if possible

Comment 3 Ulhas Surse 2023-07-19 08:55:46 UTC
(In reply to Michal Skrivanek from comment #2)
> Can you please add more details about the exact flo?. What kind of import,
> what kind of template. Please add exact steps if possible

Hello,

These are simple 
- Created a minimal RHEL 8 VM. 
- Make template of the VM. 
- detach storage domain from DC. 
- Try to import storage domain and import VM and template. 
- While importing vm and template, the exception is displayed. 

Let me know if any more details are required.