Bug 1135064
| Summary: | virt-sparsify fails at /sys/block/sdb/dev discovery | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Community] Virtualization Tools | Reporter: | Simon Mall <support> | ||||
| Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | |||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | unspecified | CC: | 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
Simon Mall
2014-08-28 18:43:24 UTC
Created attachment 932448 [details]
Debugging output with Libguestfs tracing on
(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: > Libguestfs: 1:1.24.5-1
from where?
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 Closing because the problem was the kernel didn't have virtio drivers, see comment 4. This problem is resolved. The custom kernel was at fault.. Thanks.. |