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

Importing Ubuntu22.04 VM from VMware is failing with error "Inspection field 'i_arch' was 'unknown'"

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Normal Normal
    • None
    • rhel-9.2.0
    • libguestfs
    • None
    • Low
    • rhel-sst-virtualization
    • ssg_virtualization
    • 3
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • x86_64
    • None

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

      • Tried to migration Ubuntu 22.04 VM from Vmware ESXi whose /usr partition is independent.

        Please provide the package NVR for which bug is seen:

      virt-v2v.x86_64 == 1:1.42.0-22.module+el8.9.0+18724+20190c23

      libguestfs.x86_64 == 1:1.48.4-4.el9

      How reproducible:

      This issue is similar to: https://bugzilla.redhat.com/show_bug.cgi?id=1949683

      If we try to migrate VM having /usr independent partition then the VM migration using virt-v2v tool fails with following error:

      virt-v2v: error: inspection could not detect the source guest (or physical
      machine).

      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.

      Inspection field 'i_arch' was 'unknown'.

       

      The command we used is as follows:
      sudo VIRT_V2V_TMPDIR=/tmp/trilio_v2v/Atul-Trialr89vmt_9 LIBGUESTFS_BACKEND=direct /usr/bin/nova-rootwrap /etc/nova/rootwrap.conf virt-v2v -x -v -i libvirt -ic <Libvirt_URI> -o local -os /tmp/trilio_v2v/Atul-Trialr89vmt_9 -ip /tmp/trilio_v2v/Atul-Trialr89vmt_9/tmprrqa7pl8 -it vddk -io vddk-libdir=/opt/vmware-vix-disklib-distrib -io vddk-thumbprint=3c:83:b4:cf:df:df:1d:ef:c2:70:ae:81:94:81:79:0c:97:55:0f:59 – <VM_Name>

      Steps to reproduce

      1. Create VM having /usr independent partition on vmware ESXi
      2. Try to migrate the VM from vmware using virt-v2v tool
      3.  

      Expected results

      v2v should work when /usr is in different partition.

      Actual results

      v2v is failing with error 'i_arch' was 'unknown' when /usr is in different partition.

              rhn-eng-rjones Richard Jones
              dhiraj.ghavate@trilio.io Dhiraj Ghavate (Inactive)
              Trilio Confidential Group
              virt-maint virt-maint
              Yongkui Guo Yongkui Guo
              Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

                Created:
                Updated:
                Resolved: