Bug 1197786

Summary: virt-builder fails --get-kernel on F21 PPC64 iso
Product: [Community] Virtualization Tools Reporter: Maros Zatko <mzatko>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: NEW --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: ptoscano
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: 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:
Attachments:
Description Flags
verbose output from virt-builder none

Description Maros Zatko 2015-03-02 15:41:41 UTC
Created attachment 997118 [details]
verbose output from virt-builder

Description of problem:
virt-builder: error: get-kernel: no operating system found

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

How reproducible:
100%

Steps to Reproduce:
1. wget http://mirrors.nic.cz/fedora-secondary/releases/21/Server/ppc64/iso/Fedora-Server-netinst-ppc64-21.iso
2. virt-builder --get-kernel Fedora-Server-netinst-ppc64-21.iso
3.

Comment 1 Richard W.M. Jones 2015-03-02 16:25:09 UTC
...
libguestfs: trace: inspect_os = []

Inspection is failing to find any installers in the
disk image.  As it's an installer, not a full operating system,
virt-builder --get-kernel isn't expected to work.

Nevertheless it would be nice for inspection not to fail.

The easiest thing is to grab the ISO, run `isoinfo' on it,
and supply the information to the libosinfo project (check that
they don't have it already), since for installer disks libguestfs now
uses data from libosinfo to identify them.