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

Network configuration script doesn't work well for windows 2008

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

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

      None

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

      Description of problem:

      Cold migrate windows server 2008r2 VM from vCenter 7 to OCP cluster with preserve static ip: on, with installLegacyDrivers: true.

      After migration, check the static ip address is no longer existed. The network configuration script hit exception as below, there is no NetAdapter module in VM, Get-NetAdapter hit exception, we need update the commands to support static ip configuration for win2008r2.

      Please feel free to change this Jira issue to Feature Request.

      Version-Release number of selected component (if applicable):

      MTV 2.8.4 with CNV 4.18.4

      How reproducible:

      Always

      Steps to Reproduce:

      1) Prepare VM: mtv-func-win2008r2-test with two interfaces with static ip settings in vCenter 7.0.3

      2) Create cold migration plan with with installLegacyDrivers: true, preserve static ip: on, Mgnt network nic1 -> NAD network1, VM network nic2 -> NAD network2 to migrate VM from vCenter to OCP cluster, the plan executed successfully

      3) check the conversion pod log virtio_win: /usr/local/virtio-win.iso", more details in attached file: cold-win2008r2-test-vm-1350-89tfg-virt-v2v.log

      4) Login to VM, check the VM with 2 nics, but the static ip settings are no longer existed, they are changed to dhcp settings.

      5) Check the network configuration log as below:

      6) Run related command in VM hit exception, it's without the NetAdapter module, we need update the script for win2008r2

              rhn-eng-rjones Richard Jones
              chhu@redhat.com Chenli Hu
              virt-maint virt-maint
              virt-bugs virt-bugs
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated: