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

qemu-guest-agent not being installed at first boot in Windows Server 2022

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • rhel-9.5
    • rhel-9.4
    • virt-v2v
    • virt-v2v-2.5.6-3.el9
    • None
    • Important
    • ZStream
    • rhel-sst-virtualization
    • ssg_virtualization
    • 21
    • 25
    • 5
    • False
    • Hide

      None

      Show
      None
    • None
    • Migration Toolkit for Virtualization
    • None
    • Approved Blocker
    • None

      After a successful Windows 2022 server guest migration using MTV 2.6.1, the "qemu-guest-agent" is not completely installed. The Windows Scheduled task is being created, however it is being set to run 4 hours in the future instead of the intended 2 minutes in the future. 

      Testing is done in Eastern Time Zone. All physical (host) nodes (both in source VMware environment, and target OCP-V environment) have time synced against valid NTP server. Time sync is not a problem.

      The following is output from the Windows `schtasks /QUERY` command:

       

      ```ps

      PS C:\Users\Administrator> schtasks.exe /QUERY

      Folder: \
      TaskName                                 Next Run Time          Status
      ======================================== ====================== ===============
      Firstboot-qemu-ga                        5/10/2024 1:47:00 PM   Ready
      MicrosoftEdgeUpdateTaskMachineCore       5/11/2024 10:26:32 AM  Ready
      MicrosoftEdgeUpdateTaskMachineUA         5/10/2024 12:56:32 PM  Ready

      ```

      NOTE that the WALL CLOCK time when the VM was started was ~9:44am.  So all timestamps in the windows logs that say 1:44pm is 4 hours ahead of wall clock.

       

        1. first-boot.log
          3 kB
        2. schedule-task-logs.log
          27 kB
        3. win22k-myvms-qemu-debug-tzset-vm-33063-2d2h2-virt-v2v.log
          2.74 MB
        4. win2022-efi-mtv.png
          win2022-efi-mtv.png
          75 kB
        5. win2022-non-efi-mtv.png
          win2022-non-efi-mtv.png
          70 kB
        6. image (1).png
          image (1).png
          28 kB
        7. image.png
          image.png
          93 kB
        8. Guestfs-win22-test-1.zip
          131 kB
        9. win22-agent-test-1-vm-33063-5ft6v-virt-v2v.log.gz
          161 kB
        10. win22-agent-test-1-scheduled-tasks.png
          win22-agent-test-1-scheduled-tasks.png
          139 kB
        11. install-qemu-ga-x86_64.msi.ps1
          0.7 kB
        12. pre-verify-screenshots.zip
          1.24 MB
        13. windows.tar.gz
          12.73 MB
        14. win2025-efi-fail-to-install-qemu-ga-with-50%-probability.png
          win2025-efi-fail-to-install-qemu-ga-with-50%-probability.png
          593 kB

              rhn-eng-rjones Richard Jones
              mdeneve@redhat.com Mark DeNeve
              Ming Xie Ming Xie
              Votes:
              1 Vote for this issue
              Watchers:
              19 Start watching this issue

                Created:
                Updated:
                Resolved: