Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1526032 (ovirt_upload_template_ova)

Summary: [RFE] Allow uploading a pre-existing VM template image (OVA) into the environment
Product: [oVirt] ovirt-engine Reporter: Arik <ahadas>
Component: BLL.VirtAssignee: Arik <ahadas>
Status: CLOSED CURRENTRELEASE QA Contact: Nisim Simsolo <nsimsolo>
Severity: high Docs Contact:
Priority: high    
Version: 4.2.0CC: bugs, mavital, michal.skrivanek, mtessun, nsimsolo
Target Milestone: ovirt-4.3.0Keywords: FutureFeature
Target Release: 4.3.0Flags: rule-engine: ovirt-4.3+
mavital: testing_plan_complete+
mtessun: planning_ack+
rule-engine: devel_ack+
mavital: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.3.0_alpha Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-13 07:45:04 UTC Type: Bug
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:    
Bug Blocks: 1155676    

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.