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
- relates to
-
CNV-58539 Include virt-win-reg tool in the libguestfs-tools-rhel9 image
-
- New
-
- links to