Bug 1798767

Summary: Python bindings: file receive cancelled by daemon when listing a directory
Product: [Community] Virtualization Tools Reporter: mathieu.tarral
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: ptoscano
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-10-17 00:11:00 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
Demo of the error
none
libguestfs output with debugging information none

Description mathieu.tarral 2020-02-05 23:07:56 UTC
Created attachment 1658044 [details]
Demo of the error

Description of problem:

When listing the directory "/System Volume Information" on Windows 10 Build 1703,
the libguestfs Python Bindings fail and raises a RuntimeError.


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


How reproducible:
always

Steps to Reproduce:
1. Install Windows 10 build 1703 in QEMU/KVM
2. launch libguestfs instance with Python bindings
3. g.ls('/System Volume Information')

Actual results:
A RuntimeError is raised: "file receive cancelled by daemon"


Expected results:
A listing of the directory


Additional info:
I can provide the qcow, but it is heavy (10GB), so you need to give me a server where I can upload it.

Thanks !

Comment 1 Richard W.M. Jones 2020-02-06 10:56:50 UTC
You'll need to enable debugging and post the results, as outlined here:

http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs

Comment 2 mathieu.tarral 2020-02-06 11:58:29 UTC
Created attachment 1658171 [details]
libguestfs output with debugging information

Hi Richard,

thanks for the feedback, and see my new attachement for the requested debug infos.

Comment 3 Richard W.M. Jones 2020-02-06 12:02:39 UTC
The real error is:

readdir: /System Volume Information: Input/output error

Would suggest using virt-rescue to examine what's really going on,
as with the other error.

Also note that support for Windows 10 Compressed disks was only
recently added to libguestfs, so if the disk is Compressed/CompactOS
you'll likely have to compile libguestfs from source in order to
access it.

Comment 4 Red Hat Bugzilla 2025-10-17 00:11:00 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.

Comment 5 Alasdair Kergon 2025-10-17 12:52:13 UTC
Reopening because Virtualization Tools has not been discontinued.