Bug 1198814 - 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
high
high
Target Milestone: GA
: 5.4.0
Assignee: Rich Oliveri
QA Contact: Milan Falešník
URL:
Whiteboard:
Depends On:
Blocks: 1199224
TreeView+ depends on / blocked
 
Reported: 2015-03-04 21:05 UTC by Rich Oliveri
Modified: 2015-06-16 12:51 UTC (History)
3 users (show)

Fixed In Version: 5.4.0.0.11
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1199224 (view as bug list)
Environment:
Last Closed: 2015-06-16 12:51:55 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:1100 0 normal SHIPPED_LIVE CFME 5.4.0 bug fixes, and enhancement update 2015-06-16 16:28:42 UTC

Description Rich Oliveri 2015-03-04 21:05:57 UTC
Description of problem:
Fleecing fails for qcow based virtual machines and images because the probe routine fails to recognize the qcow virtual disk.


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

How reproducible:
100%

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 CFME Bot 2015-03-05 18:16:07 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 3 CFME Bot 2015-03-05 18:41:01 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 5 Milan Falešník 2015-04-23 11:12:37 UTC
Checked in 5.4.0.0.22 against upstream appliance from Mar 2nd which does not contain this patch yet. The upstream appliance showed an error "No root filesystem found." when fleecing an image, fleecing of instance was not possible at that time yet. 

5.4.0.0.22 fleeced both image and an instance without problems.

Comment 7 errata-xmlrpc 2015-06-16 12:51:55 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-1100.html


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