Bug 1199224 - Qcow probe fails to detect qcow virtual disk
Summary: Qcow probe fails to detect qcow virtual disk
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
unspecified
high
Target Milestone: GA
: 5.3.4
Assignee: Rich Oliveri
QA Contact: Sean Myers
URL:
Whiteboard:
Depends On: 1198814
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-05 16:44 UTC by Rich Oliveri
Modified: 2015-05-06 19:23 UTC (History)
7 users (show)

Fixed In Version: 5.3.4.1
Doc Type: Bug Fix
Doc Text:
Clone Of: 1198814
Environment:
Last Closed: 2015-04-29 13:20:13 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0890 0 normal SHIPPED_LIVE cfme (5.3.4) bug fix and enhancement update 2015-04-29 17:18:32 UTC

Comment 1 CFME Bot 2015-03-05 18:16:11 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/c130d908e540a11fdf5da5d12cbcfa8a1a1cac2b

commit c130d908e540a11fdf5da5d12cbcfa8a1a1cac2b
Author:     Richard Oliveri <roliveri>
AuthorDate: Thu Mar 5 11:49:14 2015 -0500
Commit:     Richard Oliveri <roliveri>
CommitDate: Thu Mar 5 11:49:14 2015 -0500

    Force encoding of Qcow magic.
    
    Account for new default string encoding in Ruby 2, by
    forcing the encoding of the qcow magic string.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1198814
    https://bugzilla.redhat.com/show_bug.cgi?id=1199224

 lib/disk/modules/QcowDiskProbe.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 2 CFME Bot 2015-03-05 18:41:04 UTC
New commit detected on cfme/5.3.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=1aa4d7fa93d6ce9e89235077654697f8d5e48b97

commit 1aa4d7fa93d6ce9e89235077654697f8d5e48b97
Author:     Richard Oliveri <roliveri>
AuthorDate: Thu Mar 5 11:49:14 2015 -0500
Commit:     Richard Oliveri <roliveri>
CommitDate: Thu Mar 5 13:39:00 2015 -0500

    Force encoding of Qcow magic.
    
    Account for new default string encoding in Ruby 2, by
    forcing the encoding of the qcow magic string.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1198814
    https://bugzilla.redhat.com/show_bug.cgi?id=1199224

 lib/disk/modules/QcowDiskProbe.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 4 Sean Myers 2015-04-21 20:00:03 UTC
There are no reproduction steps and I don't see QcowDiskProbe being used anywhere in the code, so I'm at a loss with regard to verification. Is this code used somewhere in 5.3? If so, where/how?

Thanks.

Comment 5 Rich Oliveri 2015-04-21 20:08:18 UTC
The probes are called by MiqDisk#getDisk to determine the type of disk file. The problem can be reproduced by fleecing a rhev VM that's in qcow format.

Comment 8 errata-xmlrpc 2015-04-29 13:20:13 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-2015-0890.html


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