Uploaded image for project: 'Migration Toolkit for Virtualization'
  1. Migration Toolkit for Virtualization
  2. MTV-2256

Windows 2016 upgrade fails in VMs migrated by MTV from VMware

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • 2.7.11
    • Guest
    • 8
    • False
    • None
    • True
    • Important

      Description of problem:

      Windows in-place upgrade from Windows Server 2016 to another major version like 2019 or 2022 fails for VMs migrated by MTV from VMware.
      
      The upgrade works fine for Windows Server 2016 VMs that have been installed directly on OpenShift.

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

      OpenShift 4.17.19
      mtv-operator.v2.7.11
      kubevirt-hyperconverged-operator.v4.17.5

      How reproducible:

      Always in customer environment. Also reproduced locally.

      Steps to Reproduce:

      1. In VMware, install Win 2016 VM.
      2. Perform a warm migration to OpenShift.
      3. In the migrated VM, connect the Windows 2019 ISO and run setup.exe to upgrade.

      Actual results:

      Upgrade failed with error code 0x80004005

      Expected results:

      No errors.

      Additional info:

      I'm attaching the upgrade logs from my reproducer. We can see several errors like these:
      
      
      2025-03-18 01:15:27, Error                 SP     Failed to enumerate driver packages, Err = 0x57[gle=0x00000057]
      2025-03-18 01:15:27, Error                 SP     Failed to get published Driver Store INFs failed, Err = 0x57[gle=0x00000057]
      2025-03-18 01:15:27, Error                 SP     PnpCleanupDrivers failed. Error: 0x00000057
      2025-03-18 01:15:27, Info                  DISM   API: PID=3188 TID=940 Lookup in table by path failed for: DummyPath-2BA51B78-C7F7-4910-B99D-BB7345357CDC - CTransactionalImageTable::LookupImagePath
      2025-03-18 01:15:27, Info                  DISM   API: PID=3188 TID=940 Lookup in table by path failed for: 2686260481_458752_108917 - CTransactionalImageTable::LookupImagePath
      2025-03-18 01:15:27, Info                  DISM   DISM Provider Store: PID=3188 TID=796 Failed to get and initialize the PE Provider.  Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect
      2025-03-18 01:15:27, Warning               DISM   DISM Provider Store: PID=3188 TID=796 Failed to load the provider: C:\$WINDOWS.~BT\Sources\SiloedPackageProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
      2025-03-18 01:15:27, Warning               DISM   DISM Provider Store: PID=3188 TID=796 Failed to load the provider: C:\$WINDOWS.~BT\Sources\FfuProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
      2025-03-18 01:15:27, Warning               DISM   DISM Provider Store: PID=3188 TID=796 Failed to load the provider: C:\$WINDOWS.~BT\Sources\MetaDeployProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
      2025-03-18 01:15:34, Info                  DISM   API: PID=3188 TID=940 Lookup in table by path failed for: DRIVE_C - CTransactionalImageTable::LookupImagePath
      2025-03-18 01:15:34, Info                  DISM   DISM Provider Store: PID=3188 TID=2812 Failed to get and initialize the PE Provider.  Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect
      2025-03-18 01:15:34, Warning               DISM   DISM Provider Store: PID=3188 TID=2812 Failed to load the provider: C:\$WINDOWS.~BT\Sources\SiloedPackageProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
      2025-03-18 01:15:34, Warning               DISM   DISM Provider Store: PID=3188 TID=2812 Failed to load the provider: C:\$WINDOWS.~BT\Sources\FfuProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
      2025-03-18 01:15:34, Warning               DISM   DISM Provider Store: PID=3188 TID=2812 Failed to load the provider: C:\$WINDOWS.~BT\Sources\MetaDeployProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
      2025-03-18 01:15:34, Warning               DISM   DISM Provider Store: PID=3188 TID=2812 Failed to retrieve the Provider Instance. - CDISMProviderStore::Internal_GetProvider(hr:0x80004005)
      2025-03-18 01:15:36, Info                  DISM   Try to initialize Panther logging 1 times, last error: 0x0
      2025-03-18 01:15:36, Warning               DISM   DISM Provider Store: PID=3564 TID=1800 Failed to Load the provider: C:\$WINDOWS.~BT\Work\7911AB94-98E4-46A0-8A3C-84FCEA68D582\PEProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
      2025-03-18 01:15:36, Info                  DISM   DISM Provider Store: PID=3564 TID=1800 Failed to get and initialize the PE Provider.  Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect
      2025-03-18 01:15:36, Info                  DISM   Try to initialize Panther logging 1 times, last error: 0x0
      2025-03-18 01:15:36, Info                  DISM   Try to initialize Panther logging 1 times, last error: 0x0
      2025-03-18 01:15:36, Error                 DISM   DISM Driver Manager: PID=3564 TID=1800 Failed to enumerating driver packages in the driver store. - CDmiDriverStore::GetDriverPackageCollection(hr:0x80070057)
      2025-03-18 01:15:36, Error                 DISM   DISM Driver Manager: PID=3564 TID=1800 Failed to generating the collection of packages in the image. - CDriverManager::GetDriverPackageCollection(hr:0x80070057)
      2025-03-18 01:15:36, Error                 DISM   API: PID=3188 TID=2812 Failed to retrieve drivers from image. AllDrivers=FALSE. - CGetDriversCommandObject::InternalExecute(hr:0x80070057)
      2025-03-18 01:15:36, Error                 DISM   API: PID=3188 TID=2812 InternalExecute failed - CBaseCommandObject::Execute(hr:0x80070057)
      2025-03-18 01:15:36, Error                 DISM   API: PID=3188 TID=940 CGetDriversCommandObject failed - DismGetDriversInternal(hr:0x80070057)
      2025-03-18 01:15:36, Error                 SP     Failed to get driver packages from the online system. Error: 0x80070057[gle=0x0000007a]
      2025-03-18 01:15:41, Error                 SP     Operation failed: Process Drivers for Migration. Error: 0x80070057[gle=0x000000b7]
      2025-03-18 01:15:41, Error                 SP     COperationQueue::Sort: Could not find an execution phase for 84
      2025-03-18 01:15:41, Error                 SP     Operations can no longer be sorted following an attempt to retry a failed operation.
      2025-03-18 01:15:41, Info                  MOUPG  PreFinalize: Registering Setup Platform error: [0x80070057]
      2025-03-18 01:15:41, Error                 SP     ExecuteOperations: Failed execution phase Pre-Finalize. Error: 0x80070057
      2025-03-18 01:15:41, Error                 MOUPG  MoSetupPlatform: ExecuteCurrentOperations reported failure!
      2025-03-18 01:15:41, Error                 MOUPG  MoSetupPlatform: Using action error code: [0x80070057]
      2025-03-18 01:15:41, Error                 MOUPG  CDlpActionPreFinalize::ExecuteRoutine(545): Result = 0x80070057
      2025-03-18 01:15:41, Info                  SP     SERIALIZEVERBOSE: Serializing operation: Set boot command %SYSTEMDRIVE%\$WINDOWS.~BT\Sources\SetupPlatform.exe /onerror for phase DismOnError
      2025-03-18 01:15:42, Error                 MOUPG  CDlpActionImpl<class CDlpErrorImpl<class CDlpObjectInternalImpl<class CUnknownImpl<class IMoSetupDlpAction> > > >::Execute(441): Result = 0x80070057
      2025-03-18 01:15:42, Error                 MOUPG  CDlpTask::ExecuteAction(3259): Result = 0x80070057
      2025-03-18 01:15:42, Error                 MOUPG  CDlpTask::ExecuteActions(3413): Result = 0x80070057
      2025-03-18 01:15:42, Error                 MOUPG  CDlpTask::Execute(1644): Result = 0x80070057
      2025-03-18 01:15:42, Error                 MOUPG  CSetupManager::ExecuteTask(2492): Result = 0x80070057
      2025-03-18 01:15:42, Error                 MOUPG  CSetupManager::ExecuteTask(2455): Result = 0x80070057
      2025-03-18 01:15:42, Error                 MOUPG  CSetupManager::ExecuteInstallMode(883): Result = 0x80070057
      2025-03-18 01:15:42, Error                 MOUPG  CSetupManager::ExecuteDownlevelMode(390): Result = 0x80070057
      2025-03-18 01:15:42, Info                  MOUPG  Setup phase change: [SetupPhaseInstall] -> [SetupPhaseError]
      2025-03-18 01:15:42, Warning               SP     FindGlobalPath: Cannot find volume name for \\?\GLOBALROOT\Device\HardDisk0\Partition2. Error: 0x00000001
      2025-03-18 01:15:42, Warning               SP     FindGlobalPath: Cannot find volume name for \\?\GLOBALROOT\Device\HardDisk0\Partition3. Error: 0x0000007B
      2025-03-18 01:15:42, Info                  SP     SERIALIZEVERBOSE: After restoring name is: Set boot command %SYSTEMDRIVE%\$WINDOWS.~BT\Sources\SetupPlatform.exe /onerror for phase DismOnError
      2025-03-18 01:15:42, Info                  MOUPG  CSetupDiagnostics: Tracing Data [DWORD] -> [SetupFailureCount]=[0x1] [0b5ffc19-820c-4ff2-a495-195af9f790ee][ebad2335-8229-41f8-abe5-665d60a8951c][][0x1]
      2025-03-18 01:15:43, Info                  MOUPG  Finalize: Remapping install error [0x80070057] -> [0xC1900108] for telemetry.
      2025-03-18 01:15:43, Info                  MOUPG  CSetupDiagnostics: Tracing Data [CUSTOM] -> [Downlevel] -> [Media360][0b5ffc19-820c-4ff2-a495-195af9f790ee][ebad2335-8229-41f8-abe5-665d60a8951c][cf5d15ac-dde7-4cc7-8e98-4ae9693f94ce][][Failed][Windows Server 2016 Datacenter Evaluation][14393][1][2][0x80070057][0x50014][17763]
      2025-03-18 01:16:13, Warning                      Merging diagnostics data fails since not opted-in
      2025-03-18 01:16:16, Info                  MOUPG  SetupNotify: Specifying extended data [0x50014] for error [0x80070057].
      2025-03-18 01:16:16, Info                  MOUPG  CSetupUIManager: Showing error message
      2025-03-18 01:16:16, Info                  MOUPG  CInstallUI::ShowErrorMessage: Posted MSG_INSTALLUI_SWITCH_TO_ERROR_PAGE
      2025-03-18 01:16:16, Info                  MOUPG  SetupHost: Reporting error event -> [0x80070057, 0x50014]
      2025-03-18 01:16:16, Info                  MOUPG  CInstallUI::CInstallUIMessageWindow::SwitchToErrorPage
      2025-03-18 01:16:16, Info                  MOUPG  CInstallUI::SwitchToErrorPage
      2025-03-18 01:16:16, Info                  MOUPG  SetupManager: FailureCount = [1]
      2025-03-18 01:16:16, Info                  MOUPG  Setup phase change: [SetupPhaseError] -> [SetupPhaseUnpack]
      2025-03-18 01:16:17, Error                 MOUPG  CSetupManager::Execute(282): Result = 0x80070057
      

        1. 5902_20250321-102135.png
          5902_20250321-102135.png
          13 kB
        2. Captura desde 2025-03-19 09-11-21.png
          Captura desde 2025-03-19 09-11-21.png
          569 kB
        3. Captura desde 2025-03-19 09-11-36.png
          Captura desde 2025-03-19 09-11-36.png
          581 kB
        4. Captura desde 2025-03-19 09-11-47.png
          Captura desde 2025-03-19 09-11-47.png
          722 kB
        5. Captura desde 2025-03-19 09-11-54.png
          Captura desde 2025-03-19 09-11-54.png
          551 kB
        6. Captura desde 2025-03-19 09-12-34.png
          Captura desde 2025-03-19 09-12-34.png
          533 kB
        7. Captura desde 2025-03-19 09-12-46.png
          Captura desde 2025-03-19 09-12-46.png
          79 kB
        8. Captura desde 2025-03-19 10-26-53.png
          Captura desde 2025-03-19 10-26-53.png
          634 kB
        9. computerinfo.txt
          0.4 kB
        10. ipconfig.txt
          5 kB
        11. pnputil-cmd-win2016-without-vrtio-win-after-v2v.png
          pnputil-cmd-win2016-without-vrtio-win-after-v2v.png
          95 kB
        12. pnputil-cmd-win2016-without-vrtio-win-after-v2v-1.png
          pnputil-cmd-win2016-without-vrtio-win-after-v2v-1.png
          95 kB
        13. Screenshot_20250320_210710.png
          Screenshot_20250320_210710.png
          42 kB
        14. Screenshot_20250320_211527.png
          Screenshot_20250320_211527.png
          123 kB
        15. Screenshot 2025-03-21 at 8.50.57 AM.png
          Screenshot 2025-03-21 at 8.50.57 AM.png
          841 kB
        16. setupact.log
          1.07 MB
        17. setupapi.offline.log
          84 kB
        18. setuperr.log
          6 kB
        19. systeminfo.txt
          4 kB
        20. vmware-win2016-build-info.png
          vmware-win2016-build-info.png
          129 kB
        21. win-2012-installed-success.tar.gz
          266 kB
        22. win-2012-migrated-after-cleanup-failed.tar.gz
          110 kB
        23. win-2012-migrated-failed.tar.gz
          110 kB
        24. win2016-fail-update-to-win2022-without-virtio-win-after-v2v.png
          win2016-fail-update-to-win2022-without-virtio-win-after-v2v.png
          266 kB
        25. win2016-fail-update-to-win2022-with-virtio-win-after-v2v.png
          win2016-fail-update-to-win2022-with-virtio-win-after-v2v.png
          252 kB

              fdeutsch@redhat.com Fabian Deutsch
              rhn-support-jortialc Juan Orti
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated: