Bug 1212678

Summary: virt-inspector can not recognise fedora cloud image
Product: [Fedora] Fedora Reporter: Hu Zhang <huzhan>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 22CC: leiwang, mbooth, ptoscano, rjones, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-17 09:08:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Hu Zhang 2015-04-17 05:02:08 UTC
Description of problem:
virt-inspector can not recognise fedora cloud image. It may not caused by the libguestfs, but the cloud image' different structure.


Version-Release number of selected component (if applicable):
libguestfs-tools-c-1.29.33-1.fc22.x86_64


How reproducible:
100%


Steps to Reproduce:
1. Download fedora cloud image from: https://dl.fedoraproject.org/pub/fedora/linux/releases/test/22_Alpha/Cloud/x86_64/Images/Fedora-Cloud-Base-22_Alpha-20150305.x86_64.qcow2

2. # virt-inspector -a Fedora-Cloud-Atomic-22_Alpha-20150305.x86_64.qcow2
<?xml version="1.0"?>
<operatingsystems/>

Actual results:
As above


Expected results:
Something like:
<?xml version="1.0"?>
<operatingsystems>
  <operatingsystem>
        <root>/dev/fedora_dhcp-66-103-65/root</root>
        <name>linux</name>
        <arch>x86_64</arch>
        <distro>fedora</distro>
        <product_name>Fedora release 20 (Heisenbug)</product_name>
        <major_version>20</major_version>
        <minor_version>0</minor_version>
        <package_format>rpm</package_format>
        <package_management>yum</package_management>
        <hostname>dhcp-66-103-65.englab.nay.redhat.com</hostname>
.....


Additional info:

Comment 1 Richard W.M. Jones 2015-04-17 09:08:39 UTC
FYI latest status is here:
https://bugzilla.redhat.com/show_bug.cgi?id=1177460#c4

*** This bug has been marked as a duplicate of bug 1102241 ***