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

v2v can't convert the guest if info "add_dracutmodules+=" network-legacy " is added to network-legacy.conf

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • rhel-10.0.beta
    • virt-v2v
    • None
    • None
    • Low
    • rhel-sst-virt-tools
    • ssg_virtualization
    • 5
    • False
    • Hide

      None

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

      Description of problem:
      v2v can't convert the guest if  info "add_dracutmodules+=" network-legacy " is added to network-legacy.conf'

      Version-Release number of selected component (if applicable):
      virt-v2v-2.5.6-1.el10.x86_64
      libguestfs-1.52.2-2.el10.x86_64
      guestfs-tools-1.52.0-6.el10.x86_64
      libnbd-1.20.2-2.el10.x86_64
      nbdkit-1.40.0-2.el10.x86_64
      libvirt-libs-10.5.0-5.el10.x86_64
      qemu-img-9.0.0-7.el10.x86_64
      kernel-6.11.0-0.rc3.19.el10.x86_64

      How reproducible:
      100%

      Steps to Reproduce:
      1.Add  info "add_dracutmodules+=" network-legacy " to a rhel8 guest's path '/etc/dracut.conf.d/50-network-legacy.conf' on VMware

      #cat etc/dracut.conf.d/50-network-legacy.conf
      # Since rhel-8.3 dracut moved to use NetworkManager
      # On existing installations we want to preserve the old scripts
      add_dracutmodules+=" network-legacy “
      

      2. Convert the guest from  VMware by virt-v2v

      # virt-v2v -ic vpx://root@10.73.212.129/data/10.73.212.36/?no_verify=1  -it vddk -io vddk-libdir=/home/vddk8.0.2 -io vddk-thumbprint=CB:9F:B1:9D:33:49:6C:60:AD:3C:A5:16:77:91:5F:CD:1B:24:B1:43 -ip /home/passwd esx8.0-rhel8.10-efi-add-network-legacy-conf
      [   0.1] Setting up the source: -i libvirt -ic vpx://root@10.73.212.129/data/10.73.212.36/?no_verify=1 -it vddk esx8.0-rhel8.10-efi-add-network-legacy-conf
      [   1.9] Opening the source
      [  14.4] Inspecting the source
      [  27.5] Checking for sufficient free disk space in the guest
      [  27.5] Converting Red Hat Enterprise Linux 8.10 Beta (Ootpa) to run on KVM
      virt-v2v: error: libguestfs error: command: dracut: No '/dev/log' or 
      'logger' included for syslog logging
      dracut: dracut module 'network-legacy' cannot be found or installed.If reporting bugs, run virt-v2v with debugging enabled and include the 
      complete output:  virt-v2v -v -x [...]
      

      Actual results:
      As above description

      Expected result:
      Fix the bug 

      Additional info:

              rhn-eng-rjones Richard Jones
              mxie@redhat.com Ming Xie
              virt-maint virt-maint
              Ming Xie Ming Xie
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: