Bug 1526032 (ovirt_upload_template_ova) - [RFE] Allow uploading a pre-existing VM template image (OVA) into the environment
Summary: [RFE] Allow uploading a pre-existing VM template image (OVA) into the environ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: ovirt_upload_template_ova
Product: ovirt-engine
Classification: oVirt
Component: BLL.Virt
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-4.3.0
: 4.3.0
Assignee: Arik
QA Contact: Nisim Simsolo
URL:
Whiteboard:
Depends On:
Blocks: 1155676
TreeView+ depends on / blocked
 
Reported: 2017-12-14 16:29 UTC by Arik
Modified: 2019-02-13 07:45 UTC (History)
5 users (show)

Fixed In Version: ovirt-engine-4.3.0_alpha
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-02-13 07:45:04 UTC
oVirt Team: Virt
Embargoed:
rule-engine: ovirt-4.3+
mavital: testing_plan_complete+
mtessun: planning_ack+
rule-engine: devel_ack+
mavital: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 89073 0 master MERGED core: cleanup in import template 2020-04-08 03:57:48 UTC
oVirt gerrit 89785 0 master MERGED restapi: cleanup in add-template 2020-04-08 03:57:48 UTC
oVirt gerrit 89786 0 master MERGED core: add a query of template from ovf configuration 2020-04-08 03:57:48 UTC
oVirt gerrit 89787 0 master MERGED restapi: import template from configuration 2020-04-08 03:57:47 UTC
oVirt gerrit 89831 0 master MERGED Add import template from configuration 2020-04-08 03:57:47 UTC
oVirt gerrit 89852 0 master MERGED examples: upload ova as a virtual machine template 2020-04-08 03:57:47 UTC
oVirt gerrit 90005 0 master MERGED core: remove duplicate validations on import template from conf 2020-04-08 03:57:47 UTC
oVirt gerrit 90006 0 master MERGED core: import vm template from configuration 2020-04-08 03:57:47 UTC
oVirt gerrit 90305 0 model_4.2 MERGED Add import template from configuration 2020-04-08 03:57:47 UTC
oVirt gerrit 90363 0 master MERGED restapi: Update to model 4.3.10 2020-04-08 03:57:46 UTC
oVirt gerrit 90364 0 ovirt-engine-4.2 MERGED restapi: Update to model 4.2.32 2020-04-08 03:57:46 UTC
oVirt gerrit 90372 0 ovirt-engine-4.2 MERGED restapi: import template from configuration 2020-04-08 03:57:46 UTC
oVirt gerrit 90375 0 ovirt-engine-4.2 MERGED core: add a query of template from ovf configuration 2020-04-08 03:57:46 UTC
oVirt gerrit 90719 0 sdk_4.2 MERGED examples: upload ova as a virtual machine template 2020-04-08 03:57:46 UTC
oVirt gerrit 91465 0 ovirt-engine-4.2 MERGED core: import vm template from configuration 2020-04-08 03:57:46 UTC

Description Arik 2017-12-14 16:29:56 UTC
BZ 1049604 enabled uploading a VM image to an environment.
This RFE is about enabling the same functionality for VM template image.

Comment 3 Michal Skrivanek 2018-04-17 09:23:59 UTC
stupid bot

Comment 4 Sandro Bonazzola 2018-04-18 11:05:31 UTC
Michal, still "stupid bot" or is this modified in 4.2.3 instead of 4.2.5?

Comment 5 Michal Skrivanek 2018-04-18 17:32:33 UTC
bot indeed:)

Comment 6 Sandro Bonazzola 2018-06-29 15:24:25 UTC
This can be tested in 4.2.4

Comment 7 Nisim Simsolo 2018-07-04 11:14:16 UTC
Reassigned: 
- When running export_template_as_ova.py, the action failed with: 
ovirtsdk4.Error: Fault reason is "Incomplete parameters". Fault detail is "Action [storageDomain.id|name] required for export". HTTP response code is 400.

- Using REST API, this action failed with "404 Not Found" (for URL: https://ovirt-engine.lab.tlv.redhat.com/ovirt-engine/api/templates/template-ID/to_path_on_host)
or "400 Bad Request" (for URL: https://engine_name.redhat.com/ovirt-engine/api/templates/template-ID/export)

Builds used for verification:
rhvm-4.2.5-0.1.el7ev
vdsm-4.20.33-1.el7ev.x86_64
libvirt-3.9.0-14.el7_5.6.x86_64
qemu-kvm-rhev-2.10.0-21.el7_5.4.x86_64
python-ovirt-engine-sdk4-4.2.7-1.el7ev.x86_64

Comment 8 Michal Skrivanek 2018-07-16 14:25:13 UTC
sorry, still the same issue as comment #3

I'm going to keep it in ASSIGNED, hopefully the bot won't touch it anymore

Comment 9 Michal Skrivanek 2018-08-21 08:19:21 UTC
completed for 4.3. backport is too complicated, so giving up on that

Comment 10 Nisim Simsolo 2018-09-04 11:40:58 UTC
verified_upstream

polarion test case attached. 

ovirt-engine-4.3.0-0.0.master.20180830074543.gitf6e50e0.el7.noarch
vdsm-4.30.0-545.gitd43376f.el7.x86_64
libvirt-client-3.9.0-14.el7_5.7.x86_64
qemu-kvm-common-ev-2.10.0-21.el7_5.4.1.x86_64
sanlock-3.6.0-1.el7.x86_64

Comment 11 Raz Tamir 2018-09-05 08:52:07 UTC
QE verification bot: the bug was verified upstream

Comment 12 Sandro Bonazzola 2018-11-02 14:34:31 UTC
This bugzilla is included in oVirt 4.2.7 release, published on November 2nd 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.7 release, it has been closed with a resolution of CURRENT RELEASE.

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

Comment 13 Sandro Bonazzola 2018-11-02 14:50:53 UTC
Closed by mistake, moving back to qa -> verified

Comment 14 Arik 2018-12-24 08:40:20 UTC
Documented in bz 1155676

Comment 15 Sandro Bonazzola 2019-02-13 07:45:04 UTC
This bugzilla is included in oVirt 4.3.0 release, published on February 4th 2019.

Since the problem described in this bug report should be
resolved in oVirt 4.3.0 release, it has been closed with a resolution of CURRENT RELEASE.

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


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