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

v2v can't convert image-mode guest

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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-10.0
    • virt-v2v
    • None
    • No
    • None
    • rhel-virt-tools
    • ssg_virtualization
    • None
    • False
    • False
    • Hide

      None

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

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

      Convert an image-mode rhel guest by virt-v2v

      What is the impact of this issue to you?

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

      virt-v2v-2.7.1-4.el10.x86_64

      How reproducible is this bug?: 100%

      Steps to reproduce

      1.  Prepare a image-mode rhel guest.
      2.  Run "virt-v2v -i disk qcow2/disk.qcow2 -o null"

      Expected results

      I'm not sure whether virt-v2v should support the conversion of image-mode guest or not. Because when the user has the containerfile or the image url in registry, they can easily redeploy it on RHEL. Unless they lost them except the vmdk disk file. But if v2v will support it, the conversion should be success. 

      Actual results

      1. virt-v2v -i disk qcow2/disk.qcow2 -o null 
        [   0.0] Setting up the source: -i disk qcow2/disk.qcow2
        [   1.0] Opening the source
        [  11.8] Inspecting the source
        virt-v2v: error: inspection could not detect the source guest (or physical 
        machine) operating system.

      Assuming that you are running virt-v2v/virt-p2v on a source which is 
      supported (and not, for example, a blank disk), then this should not 
      happen.

      No root device found in this operating system image.

      If reporting bugs, run virt-v2v with debugging enabled and include the 
      complete output:

        virt-v2v -v -x [...]

              Unassigned Unassigned
              xiaodwan@redhat.com Xiaodai Wang
              Richard Jones Richard Jones
              virt-bugs virt-bugs
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: