Bug 1798767 - Python bindings: file receive cancelled by daemon when listing a directory
Summary: Python bindings: file receive cancelled by daemon when listing a directory
Keywords:
Status: NEW
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-05 23:07 UTC by mathieu.tarral
Modified: 2025-10-17 12:52 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-10-17 00:11:00 UTC
Embargoed:


Attachments (Terms of Use)
Demo of the error (103.32 KB, image/png)
2020-02-05 23:07 UTC, mathieu.tarral
no flags Details
libguestfs output with debugging information (77.13 KB, text/plain)
2020-02-06 11:58 UTC, mathieu.tarral
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.