Bug 2120228 - ISO broken after upload via Browser.
Summary: ISO broken after upload via Browser.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: General
Version: 4.5.2
Hardware: x86_64
OS: All
unspecified
high
Target Milestone: ovirt-4.5.3
: ---
Assignee: Artiom Divak
QA Contact: Ilia Markelov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-22 09:47 UTC by Tzu-Yi Liao
Modified: 2022-11-16 07:22 UTC (History)
11 users (show)

Fixed In Version: ovirt-engine-4.5.3
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-16 07:22:03 UTC
oVirt Team: Storage
Embargoed:
mperina: ovirt-4.5+
lsvaty: blocker-


Attachments (Terms of Use)
VM can not boot from ISO. (104.16 KB, image/png)
2022-08-22 09:47 UTC, Tzu-Yi Liao
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github oVirt ovirt-engine pull 613 0 None open ui: Changed Incremental Backup from default true to false 2022-08-24 08:35:04 UTC
Red Hat Issue Tracker RHV-47848 0 None None None 2022-08-22 09:48:28 UTC
Red Hat Knowledge Base (Solution) 6973535 0 None None None 2022-08-29 14:59:32 UTC

Description Tzu-Yi Liao 2022-08-22 09:47:49 UTC
Created attachment 1906890 [details]
VM can not boot from ISO.

Description of problem:
1. ISO broken after upload via browser (Firefox and Chrome).
2. VM one time boot fail by using ISO.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Download Rocky Linux 9 or Ubuntu ISO (any OS ISO).
2. Upload by browser (Firefox and Chrome)
3. Create VM.
4. [Run once] boot and select uploaded ISO.


Actual results:
VM Can not boot from ISO (Get not fount message, please review attachment file).

Expected results:


Additional info:
Test Client: MacOS (Firefox and Chrome)

1. Check ISO sha256 of ubuntu-22.04.1-live-server-amd64.iso: 10f19c5b2b8d6db711582e0e27f5116296c34fe4b313ba45f9b201a5007056cb
2. `qemu-img` Check before upload:
qemu-img info ubuntu-22.04.1-live-server-amd64.iso 
image: ubuntu-22.04.1-live-server-amd64.iso
file format: raw
virtual size: 1.37 GiB (1474873344 bytes)
disk size: 1.37 GiB

2. Upload ISO.
3. Check uploaded iso file, get different checksum: d5b8dfbe1daebf9a5e85e2c24234231aa886b799fa1ec50dcec9a1c830ac2a32
4. Check by `qemu-img info`:
image: 86a15ac8-743d-480a-b833-6f45ea34a901
file format: qcow2
virtual size: 1.37 GiB (1474875392 bytes)
disk size: 1.37 GiB
cluster_size: 65536
Format specific information:
    compat: 1.1
    compression type: zlib
    lazy refcounts: false
    refcount bits: 16
    corrupt: false
    extended l2: false

5. Compare with 4.4.5 uploaded file, `qemu-img info` get RAW type:
image: 944a0e76-bb6c-4878-9c26-2dc08cece284
file format: raw
virtual size: 1.37 GiB (1474875392 bytes)
disk size: 1.37 GiB

Comment 1 RHEL Program Management 2022-08-22 14:01:38 UTC
The documentation text flag should only be set after 'doc text' field is provided. Please provide the documentation text and set the flag to '?' again.

Comment 2 Michal Skrivanek 2022-08-23 06:03:06 UTC
is it data or iso storage domain you're using? I observed same behavior on data domain, but on iso it worked for me.

Comment 3 Arik 2022-08-23 07:14:58 UTC
we've changed the default selection of "Enable incremental backup" so now it's selected by default but yeah, in upload-image it leads to this awkward situation in which an ISO changes to QCOW.
we need to make sure that for ISOs we disable the "Enable incremental backup" option and create them as RAW disks
as a workaround, the "Enable incremental backup" can be unchecked until then

Comment 4 RHEL Program Management 2022-08-23 07:15:06 UTC
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.

Comment 5 Arik 2022-08-23 07:17:06 UTC
(a consequence of the fix for bz 1915029)

Comment 6 RHEL Program Management 2022-08-29 06:47:57 UTC
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.

Comment 7 RHEL Program Management 2022-08-29 08:20:58 UTC
The documentation text flag should only be set after 'doc text' field is provided. Please provide the documentation text and set the flag to '?' again.

Comment 10 Ilia Markelov 2022-09-14 10:46:48 UTC
Verified.

VM successfully ran from the uploaded ISO. "Enable Incremental Backup" option is not available for ISO anymore.

Versions:
engine-4.5.3-0.1.el8ev


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