Bug 1271332 - [RHEL-OSP] During SmartState Analysis of an Image: "Unknown QCOW version: 3" [NEEDINFO]
Summary: [RHEL-OSP] During SmartState Analysis of an Image: "Unknown QCOW version: 3"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: SmartState Analysis
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: GA
: 5.5.0
Assignee: Mo Morsi
QA Contact: Milan Falešník
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-13 16:25 UTC by Thom Carlin
Modified: 2015-12-08 13:38 UTC (History)
6 users (show)

Fixed In Version: 5.5.0.8
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-08 13:38:01 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:
cfme-bot: needinfo?


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1192223 0 high CLOSED CloudForms can't smart state QCOW2 Images with 0.11 compat version created by RHEL 7 qemu-img-rhev on OpenStack Juno 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHSA-2015:2551 0 normal SHIPPED_LIVE Moderate: CFME 5.5.0 bug fixes and enhancement update 2015-12-08 17:58:09 UTC

Internal Links: 1192223

Description Thom Carlin 2015-10-13 16:25:54 UTC
Description of problem:

Unexpected error during SmartState Analysis of a RHEL-OSP Image

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

5.4.3.0.20151001120745_d11cf59

How reproducible:

100% for specific VMs

Steps to Reproduce:
1. Define OpenStack Cloud Provider
2. Run SmartState Analysis on Images
3.

Actual results:

Unknown QCOW Version 3 for /tmp/vm_name-string

Expected results:

No error

Additional info:

In QcowDisk.rb, error occurs at line 621.  The logic for https://bugzilla.redhat.com/show_bug.cgi?id=1192223 didn't appear to cover the csize_shift

Comment 4 Rich Oliveri 2015-10-13 19:22:43 UTC
It looks like the case statement in `csize_shift` needs to accept version 3 as valid.

Comment 5 Mo Morsi 2015-10-21 15:18:26 UTC
PR 5024 submitted

https://github.com/ManageIQ/manageiq/pull/5024

Comment 6 CFME Bot 2015-10-21 20:46:05 UTC
Detected commit referencing this ticket while ticket status is POST.

Comment 7 CFME Bot 2015-10-21 21:13:53 UTC
New commit detected on cfme/5.4.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=61ae74acfbb80e0b1ea55213904eb0e9b88d08c6

commit 61ae74acfbb80e0b1ea55213904eb0e9b88d08c6
Author:     Mo Morsi <mmorsi>
AuthorDate: Wed Oct 21 16:43:39 2015 -0400
Commit:     Mo Morsi <mmorsi>
CommitDate: Wed Oct 21 16:43:39 2015 -0400

    Add missing check needed for qcow3 compressed images
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1271332

 gems/pending/disk/modules/QcowDisk.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 8 CFME Bot 2015-10-22 20:45:27 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/61ae74acfbb80e0b1ea55213904eb0e9b88d08c6

commit 61ae74acfbb80e0b1ea55213904eb0e9b88d08c6
Author:     Mo Morsi <mmorsi>
AuthorDate: Wed Oct 21 16:43:39 2015 -0400
Commit:     Mo Morsi <mmorsi>
CommitDate: Wed Oct 21 16:43:39 2015 -0400

    Add missing check needed for qcow3 compressed images
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1271332

 gems/pending/disk/modules/QcowDisk.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 10 CFME Bot 2015-10-22 20:58:56 UTC
Detected commit referencing this ticket while ticket status is POST.

Comment 11 Milan Falešník 2015-11-19 15:40:04 UTC
Verified on 5.5.0.11 against 5.4.3.0.

The image that triggers this problem is the f22-qcow on our rhos5 provider.

Comment 13 errata-xmlrpc 2015-12-08 13:38:01 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://access.redhat.com/errata/RHSA-2015:2551


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