Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-98717

[libguestfs][btrfs] virt-ls -R failed to list btrfs image

Linking RHIVOS CVEs to...Migration: Automation ...RHELPRIO AssignedTeam ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • No
    • None
    • rhel-virt-tools
    • None
    • QE ack
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

      virt-ls  -R failed to list btrfs image

      What is the impact of this issue to you?

      Please provide the package NVR for which the bug is seen:

      libguestfs-1.56.0-1.el10.1.x86_64

      kernel-6.12.0-95.el10.x86_64

      libguestfs-fssupport-10.1-3.el10.x86_64

      How reproducible is this bug?:

      100%

      Steps to reproduce

      1. Prepare a btrfs image file, and try:
        #virt-ls -R /home/images/esx8.0-sles12sp5-x86_64-with-btrfs-sda.raw /
        libguestfs: error: file receive cancelled by daemon
      2. If using virt-ls -l , it's ok:
        #virt-ls -l /home/images/esx8.0-sles12sp5-x86_64-with-btrfs-sda.raw /
        total 4
        drwxr-xr-x 1 root root 156 May 22 08:08 .
        drwxr-xr-x 20 root root 4096 Jun 18 02:29 ..
        drwxr-x--- 1 root root 52 May 22 08:16 .snapshots
        drwxr-xr-x 1 root root 1786 May 21 22:58 bin
        drwxr-xr-x 1 root root 612 May 22 08:09 boot
        drwxr-xr-x 1 root root  0 May 21 22:53 dev
        drwxr-xr-x 1 root root 5130 May 26 15:25 etc
        drwxr-xr-x 1 root root  8 May 21 23:01 home
        drwxr-xr-x 1 root root 3136 May 21 23:01 lib
        drwxr-xr-x 1 root root 4812 May 21 22:57 lib64
        drwxr-xr-x 1 root root  0 Jun 27 2017 mnt
        drwxr-xr-x 1 root root  0 Jun 27 2017 opt
        drwxr-xr-x 1 root root  0 May 21 22:53 proc
        drwx------ 1 root root 222 May 22 08:21 root
        drwxr-xr-x 1 root root 16 May 22 08:08 run
        drwxr-xr-x 1 root root 5152 May 22 08:08 sbin
        drwxr-xr-x 1 root root  0 Jun 27 2017 selinux
        drwxr-xr-x 1 root root 12 May 21 22:53 srv
        drwxr-xr-x 1 root root  0 May 21 22:53 sys
        drwxrwxrwt 1 root root 400 May 26 15:25 tmp
        drwxr-xr-x 1 root root 130 May 21 22:53 usr
        drwxr-xr-x 1 root root 124 May 21 23:02 var

      Expected results

      Success

      Actual results

      Failed

              Unassigned Unassigned
              xchen@redhat.com Xiang Hua Chen
              virt-maint virt-maint
              Xiang Hua Chen Xiang Hua Chen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: