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

Lost error when opening wrong format of image readonly [rhel-10.1]

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhel-10.1
    • rhel-10.1
    • libguestfs
    • None
    • libguestfs-1.56.1-3.el10
    • No
    • Low
    • rhel-virt-tools
    • ssg_virtualization
    • None
    • False
    • False
    • Hide

      None

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

      Description of problem:
      Improve error info when using virt-v2v-open to open a qcow2 disk

      Version-Release number of selected component (if applicable):
      virt-v2v-2.7.15-2.el10.x86_64

      How reproducible:
      100%

      Steps:
      1. Use virt-v2v-open to open a qcow2 disk and run virt-inspector to list the root filesystem devices of the guest

      # virt-v2v-open -i disk /home/win11.qcow2 --run 'virt-inspector --format=qcow2 @@ > local-disk-inspector-output.xml'
      [   0.0] Setting up the source: -i disk /home/win11.qcow2
      [   1.1] Running external command
      libguestfs: error: qemu-img: /tmp/libguestfsjyvxIq/overlay1.qcow2: qemu-img exited with error status 1.
      To see full error messages you may need to enable debugging.
      Do:
        export LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1
      and run the command again.  For further information, read:
        http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs
      You can also run 'libguestfs-test-tool' and post the *complete* output
      into a bug report or message to the libguestfs mailing list. 

      Actual result:
      Error info isn't clear when using virt-v2v-open to open a qcow2 disk

      Expect result:
      Improve error info when using virt-v2v-open to open a qcow2 disk

      Additional info

              rhn-engineering-colerobinson Cole Robinson
              mxie@redhat.com Ming Xie
              virt-maint virt-maint
              Xiang Hua Chen Xiang Hua Chen
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated: