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
          Mark DeNeve
        2. image.png
          93 kB
          Marc Schindler
        3. image (1).png
          28 kB
          Marc Schindler
        4. install-qemu-ga-x86_64.msi.ps1
          0.7 kB
          Mark DeNeve
        5. schedule-task-logs.log
          27 kB
          Mark DeNeve
        6. win2022-efi-mtv.png
          75 kB
          Ming Xie
        7. win2022-non-efi-mtv.png
          70 kB
          Ming Xie
        8. win2025-efi-fail-to-install-qemu-ga-with-50%-probability.png
          593 kB
          Ming Xie
        9. win22-agent-test-1-scheduled-tasks.png
          139 kB
          Mark DeNeve
        10. win22-agent-test-1-vm-33063-5ft6v-virt-v2v.log.gz
          161 kB
          Mark DeNeve
        11. win22k-myvms-qemu-debug-tzset-vm-33063-2d2h2-virt-v2v.log
          2.74 MB
          Mark DeNeve
        12. windows.tar.gz
          12.73 MB
          Richard Jones

              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: