Error: "Deployment failed. Runtime error: windows11_64Guest os type is not one of supported types" occurs during guest customization of Windows 11
search cancel

Error: "Deployment failed. Runtime error: windows11_64Guest os type is not one of supported types" occurs during guest customization of Windows 11

book

Article ID: 383493

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • When running guest customization for Windows 11 OS it fails.
  • Within the log file /opt/vmware/vcloud-director/logs/vcloud-container-debug.log the following error is seen:

2024-11-19 13:33:15,769 | ERROR    | Backend-activity-pool-874 | VmGuestCustomizationActivity   | [Activity Execution] Uncaught Exception during Activity execution. Recent phase: com.vmware.vcloud.customization.impl.VmGuestCustomizationActivity$CreateDeploymentPackagePhase@######- Handle: urn:uuid:########-####-####-####-#######, Current Phase: VmGuestCustomizationActivity$CreateDeploymentPackagePhase |
 requestId=########-####-####-####-#######,request=POST https://<ip-address>/api/vApp/vm-########-####-####-########/action/deploy,requestTime=1732023187829,remoteAddress=<ip-address>:59090,userAgent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 ...,accept=application/*+xml;version 40.0.0-alpha vcd=########-####-####-####-#######,task=########-####-####-####-#######activity=(com.vmware.vcloud.backendbase.management.system.TaskActivity,urn:uuid:########-####-####-####-#######) activity=(com.vmware.ssdc.backend.DeployVAppVmSubsetActivity,urn:uuid:########-####-####-####-#######) activity=(com.vmware.vcloud.customization.impl.VmGuestCustomizationActivity,urn:uuid:########-####-####-####-#######)
java.util.concurrent.ExecutionException: com.vmware.ssdc.util.LMException: Unable to create deployment package.
        at com.vmware.vcloud.activity.executors.ActivityRunner.run(ActivityRunner.java:136)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: com.vmware.ssdc.util.LMException: Unable to create deployment package.
        at com.vmware.vcloud.customization.impl.DeploymentPackage.createPkg(DeploymentPackage.java:182)
        at com.vmware.vcloud.customization.impl.VmGuestCustomizationActivity$CreateDeploymentPackagePhase.invoke(VmGuestCustomizationActivity.java:153)
        at com.vmware.vcloud.activity.executors.ActivityRunner.runPhase(ActivityRunner.java:175)
        at com.vmware.vcloud.activity.executors.ActivityRunner.run(ActivityRunner.java:112)
        ... 5 more
Caused by: com.vmware.ssdc.util.ExecuteException: Failed to execute process [/opt/vmware/vcloud-director/deployPkg/deployPkg]. Standard Output: Logging in /tmp/vmware-imc/deploypkg-########-####-####-####-#######.log

Standard Error: Deployment failed. Runtime error: windows11_64Guest os type is not one of supported types.. Log can be found at: /tmp/vmware-imc/deploypkg-########-####-####-####-#######.log

        at com.vmware.ssdc.util.ProcessWrapper.SimpleExecute2(ProcessWrapper.java:309)
        at com.vmware.ssdc.util.ProcessWrapper.SimpleExecute(ProcessWrapper.java:322)
        at com.vmware.vcloud.customization.impl.DeploymentPackage.createPkg(DeploymentPackage.java:174)  

Environment

VMware Cloud Director 10.6

Cause

This is a known issue which VMware by Broadcom is aware of.

The issue occurs when an incorrect guest os argument is passed to the VM during the customization process.

Resolution

This is a known issue and Engineering are aiming at addressing this in a future patch of Cloud Director.

Workaround:

  1. Gracefully shutdown the VM in Cloud Director.
  2. Navigate to the "General" page of the VM settings. 
  3. Click the 'Edit' button. 
  4. Change the Operating System type to "Windows 2022" and save the change.
  5. Power on the VM again and perform guest customization to confirm it applies successfully.