Bug 1830762

Summary: NPE on ImportVmTemplateFromConfigurationCommand when creating VM from ovf_data [4.3.z]
Product: Red Hat Enterprise Virtualization Manager Reporter: Steven Rosenberg <srosenbe>
Component: ovirt-engineAssignee: Steven Rosenberg <srosenbe>
Status: CLOSED ERRATA QA Contact: Polina <pagranat>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 4.3.9CC: ahadas, bugs, gveitmic, jeokim, jko, lsvaty, mavital, michal.skrivanek, mkalinin, mtessun, nsimsolo, pelauter, rdlugyhe
Target Milestone: ovirt-4.3.11Keywords: ZStream
Target Release: 4.3.11Flags: pagranat: needinfo-
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ovirt-engine-4.3.11 Doc Type: Bug Fix
Doc Text:
Previously, importing an OVA as a Template using the ovirt-engine-sdk's uploading script failed with a null pointer exception because some storage-related values were not set correctly. The current release fixes this issue. It adds code that checks the storage values and, if needed, sets them using values from the image object. Now, importing the OVA this way succeeds.
Story Points: ---
Clone Of: 1819960 Environment:
Last Closed: 2020-09-30 10:07:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1845473, 1852314    
Bug Blocks: 1819960    
Attachments:
Description Flags
ovf file for upload_ova_as_template.py test none

Comment 26 Jeongtae Kim 2020-05-28 03:16:35 UTC
Created attachment 1692919 [details]
ovf file for upload_ova_as_template.py test

Comment 27 Steven Rosenberg 2020-05-28 07:34:21 UTC
(In reply to Jeongtae Kim from comment #26)
> Created attachment 1692919 [details]
> ovf file for upload_ova_as_template.py test

OK thank you. To clarify and synchronize, this is a new issue with the upload_ova_as_template.py script whereas the latest fix was for the client's test script. So they are two different issues. Being that the client is not using the upload_ova_as_template.py script, this issue is less urgent. It should not hold up testing for the original issue using the script Germano provided [1]


[1] https://bugzilla.redhat.com/show_bug.cgi?id=1819960#c17

Comment 41 Polina 2020-07-06 11:26:21 UTC
it actually depends on 1852314

Comment 42 Arik 2020-07-06 11:34:02 UTC
(In reply to Polina from comment #41)
> it actually depends on 1852314

Right, it is required for testing the script from the sdk examples.
The adjusted script should work even without it though - since it doesn't upload the disk(s)

Comment 51 errata-xmlrpc 2020-09-30 10:07:13 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat Virtualization Engine security, bug fix 4.3.11), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:4112