Bug 1135064

Summary: virt-sparsify fails at /sys/block/sdb/dev discovery
Product: [Community] Virtualization Tools Reporter: Simon Mall <support>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED NOTABUG QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: mbooth, ptoscano, rbalakri, support
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-14 10:33:37 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:
Attachments:
Description Flags
Debugging output with Libguestfs tracing on none

Description Simon Mall 2014-08-28 18:43:24 UTC
Description of problem:


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Simon Mall 2014-08-28 18:46:48 UTC
Created attachment 932448 [details]
Debugging output with Libguestfs tracing on

Comment 2 Simon Mall 2014-08-28 18:50:54 UTC
(In reply to Simon Mall from comment #0)
> Description of problem:
> 
> 
> Version-Release number of selected component (if applicable):
> Libguestfs: 1:1.24.5-1
> 
> How reproducible:
> Every time.
> 
> Steps to Reproduce:
> 1. Create image,
> 2. use virt-sparsify to create copy or convert
> 3.
> 
> Actual results:
> Fails to work
> 
> Expected results:
> 
> 
> Additional info:

Comment 3 Richard W.M. Jones 2014-08-28 19:06:38 UTC
> Libguestfs: 1:1.24.5-1

from where?

Comment 4 Richard W.M. Jones 2014-08-28 19:12:18 UTC
Anyway the problem is that this kernel:

[    0.000000] Linux version 3.13.9-pax (carinhas@soluciones) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #3 SMP Mon May 5 13:07:05 CDT 2014 (Ubuntu 3.13.0-24.46-generic 3.13.9)

doesn't have any virtio drivers.  If you self-compiled
it, then you'll need to recompile it with all virtio
drivers enabled.

Otherwise you can point libguestfs to another kernel by
setting the SUPERMIN_KERNEL and/or SUPERMIN_MODULES
environment variables, see:

 http://libguestfs.org/supermin.1.html#ENVIRONMENT-VARIABLES

NOTE that between tests you will need to:

 rm -rf /vm/tmp/.guestfs-0

Comment 5 Richard W.M. Jones 2015-04-14 10:33:37 UTC
Closing because the problem was the kernel didn't have virtio drivers,
see comment 4.

Comment 6 Simon Mall 2015-11-23 14:39:23 UTC
This problem is resolved. The custom kernel was at fault.. Thanks..