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

virt-install detects the wrong operating system version from the win2k22 ISO file

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Undefined Undefined
    • None
    • rhel-9.2.0
    • virt-manager / Common
    • None
    • Moderate
    • rhel-sst-virtualization
    • ssg_virtualization
    • 3
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None

      Description of problem:
      Use virt-install to install a win2k22 VM via ISO, but virt-install automatically detects the version from the ISO as win2k16, that's incorrect.

      Version-Release number of selected component (if applicable):
      virt-install-4.0.0-1.el9.noarch
      virt-manager-common-4.0.0-1.el9.noarch
      osinfo-db-20220727-3.el9.noarch
      libosinfo-1.9.0-5.el9.x86_64
      libvirt-8.9.0-2.el9.x86_64

      How reproducible:
      100%

      Steps to Reproduce:
      1. Download a win2k22 ISO: en-us_windows_server_2022_x64_dvd_620d7eac.iso

      2. Install a win2k22 VM via the iso.

      1. virt-install --cdrom /var/lib/libvirt/images/en-us_windows_server_2022_x64_dvd_620d7eac.iso --osinfo detect=on,require=off
        Using default --name win2k16
        Using win2k16 default --memory 2048
        Using win2k16 default --disk size=40

      Starting install...
      Allocating 'win2k16.qcow2' | 79 MB 00:00:02 ...
      Creating domain... | 0 B 00:00:00
      Running graphical console command: virt-viewer --connect qemu:///system --wait win2k16
      ....

      Actual results:
      As per the description, virt-install automatically detects the VM's version as win2k16.

      Expected results:
      Fix it.

      Additional info:
      The attachment is the debug log: virt-install.log

              rhn-engineering-colerobinson Cole Robinson
              juzhou@redhat.com Junqin Zhou
              virt-maint virt-maint
              virt-bugs virt-bugs
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: