When creating or updating MCS catalog the following error is generated no matter how long the timeout is set for. Issue can happen with any hyper-visor but has been seen mostly with VMware.
DesktopStudio_ErrorId : UnknownError
ErrorCategory : NotSpecified
ErrorID : ImagePreparationFinalizationFailedCompletely
TaskErrorInformation : Terminated
InternalErrorMessage : No Image Preparation results found, suggesting no suitable VDA or other serious failure in the Master VM. Image preparation failed
DesktopStudio_PowerShellHistory : Create Machine Catalog 'Testing Catalog Creation'
Go to master image, run Diskpart, issue command "SAN POLICY=OnlineAll".
In some environments the identity disk is correctly attached to the VM but is marked as offline by the operating system because of SAN policy, preventing the Image Preparation from running.
Open an elevated command prompt from within the virtual machine.
Start the Diskpart utility: diskpart.exe.
Display the SAN policy, run the command: diskpart> SAN.
If output shows "Offline shared" then proceed with the following steps.
Change the SAN policy to be online with the command: diskpart> san policy=OnlineAll.
The output should show - Diskpart successfully changed the SAN policy for the current operating system.
Rerun the diskpart> SAN command to confirm if the policy changed successfully.
Exit Diskpart utility by typing exit then Enter key.