Bug 1830762 - NPE on ImportVmTemplateFromConfigurationCommand when creating VM from ovf_data [4.3.z]
Summary: NPE on ImportVmTemplateFromConfigurationCommand when creating VM from ovf_dat...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 4.3.9
Hardware: x86_64
OS: Linux
urgent
urgent
Target Milestone: ovirt-4.3.11
: 4.3.11
Assignee: Steven Rosenberg
QA Contact: Polina
URL:
Whiteboard:
Depends On: 1845473 1852314
Blocks: 1819960
TreeView+ depends on / blocked
 
Reported: 2020-05-03 17:35 UTC by Steven Rosenberg
Modified: 2023-12-15 17:48 UTC (History)
13 users (show)

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.
Clone Of: 1819960
Environment:
Last Closed: 2020-09-30 10:07:13 UTC
oVirt Team: Virt
Target Upstream Version:
Embargoed:
pagranat: needinfo-


Attachments (Terms of Use)
ovf file for upload_ova_as_template.py test (11.49 KB, application/xml)
2020-05-28 03:16 UTC, Jeongtae Kim
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 5394061 0 None None None 2020-09-14 00:05:06 UTC
Red Hat Product Errata RHBA-2020:4112 0 None None None 2020-09-30 10:08:13 UTC
oVirt gerrit 108617 0 ovirt-engine-4.3 MERGED core: Replaced null ids with image ids 2021-01-19 14:05:36 UTC
oVirt gerrit 108778 0 master ABANDONED core: fix import template from ova via the sdk 2021-01-19 14:05:34 UTC
oVirt gerrit 108951 0 ovirt-engine-4.3 MERGED core: fix import template from ova via the sdk 2021-01-19 14:04:55 UTC
oVirt gerrit 109262 0 master MERGED core: fix import template from ova via the sdk 2021-01-19 14:04:55 UTC
oVirt gerrit 109511 0 master MERGED core: Fixed upload ova template script error 2021-01-19 14:04:54 UTC
oVirt gerrit 109715 0 ovirt-engine-4.3 MERGED core: Fixed upload ova template script error 2021-01-19 14:04:54 UTC

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


Note You need to log in before you can comment on or make changes to this bug.