Bug 1230614

Summary: [7.1_3.5.4]Change the OVA file format from gzip to tar while download which leads the error during configuring hosted engine with OVA type
Product: Red Hat Enterprise Virtualization Manager Reporter: wanghui <huiwa>
Component: ovirt-node-plugin-hosted-engineAssignee: Ryan Barry <rbarry>
Status: CLOSED ERRATA QA Contact: wanghui <huiwa>
Severity: high Docs Contact:
Priority: urgent    
Version: unspecifiedCC: cshao, cwu, fdeutsch, gklein, huiwa, leiwang, nsednev, yaniwang, ycui
Target Milestone: ovirt-3.6.0-rcKeywords: TestBlocker, ZStream
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-node-plugin-hosted-engine-0.3.0-1.el7ev Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1235348 (view as bug list) Environment:
Last Closed: 2016-03-09 14:29:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1059435, 1235348, 1250199    

Description wanghui 2015-06-11 09:02:03 UTC
Description of problem:
It can not setup hosted engine through OVA from TUI. It reports that the downloaded image is neither an OVA nor an ISO.

Version-Release number of selected component (if applicable):
rhev-hypervisor7-7.1-20150609.0
ovirt-node-plugin-hosted-engine-0.2.0-15.0.el7ev.noarch
rhevm-appliance-20150421.0-1.x86_64.rhevm.ova	

How reproducible:


Steps to Reproduce:
1. Clean install rhev-hypervisor7-7.1-20150609.0
2. File the OVA URL to point the rhevm appliance from brew.
3. Check the rhevm ova file's type

Actual results:
1. After step2, it will reports the downloaded image is neither an OVA nor an ISO.
2. After step3, the output is as follows.
# file /data/ovirt-hosted-engine-setup/rhevm-appliance-20150421.0-1.x86_64.rhevm.ova 
/data/ovirt-hosted-engine-setup/rhevm-appliance-20150421.0-1.x86_64.rhevm.ova: POSIX tar archive (GNU)

While the remote ova format is gzip as follows.
# file rhevm-appliance-20150421.0-1.x86_64.rhevm.ova
rhevm-appliance-20150421.0-1.x86_64.rhevm.ova: gzip compressed data, was "/tmp/koji/tasks/9978/9019978/ou", last modified: Wed Apr 22 03:04:21 2015, max compression

Expected results:
1. It should start the hosted engine setup with OVA file.

Additional info:
No such issue when using the same OVA file in rhev-hypervisor6-6.7-20150609.0.

Comment 3 wanghui 2015-10-28 06:27:15 UTC
Test version:
rhev-hypervisor7-7.2-20151025.0.el7ev
ovirt-node-3.3.0-0.18.20151022git82dc52c.el7ev.noarch
ovirt-node-plugin-hosted-engine-0.3.0-1.el7ev.noarch

Test steps:
1. Install rhev-hypervisor7-7.2-20151025.0.el7ev with TUI
2. Enable network
3. File 'Engine ISO/OVA URL for download' field with the accessable rhevm ova file
4. Check the rhevm ova file's type

Test result:
1. # file rhevm-appliance-20151022.1-1.x86_64.rhevm.ova
rhevm-appliance-20151022.1-1.x86_64.rhevm.ova: gzip compressed data, was "/tmp/koji/tasks/1217/10001217/output_image/tmpGCnLxO/ova", last modified: Thu Oct 22 18:16:07 2015, max compression

So the ova which is downloaded by rhevh is gzip now. This issue is fixed in ovirt-node-plugin-hosted-engine-0.3.0-1.el7ev.noarch. Change the status to verified.

Comment 5 errata-xmlrpc 2016-03-09 14:29:33 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, 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://rhn.redhat.com/errata/RHBA-2016-0378.html