vcf-automated-lab-deployment
vcf-automated-lab-deployment copied to clipboard
Workload deployment script error at clusterImageId
For me, vcf-automated-workload-domain-deployment.ps1 is failing at the point of adding the clusterImageId to the payload:
[08-20-2024_10:28:21] Retreiving unassigned ESXi hosts from SDDC Manager and creating Workload Domain JSON deployment file wld-w01.json
MethodException: E:\VCF\vcf-automated-workload-domain-deployment.ps1:340
Line |
342 | $payload.computeSpec.clusterSpecs.Add("clusterImageId",$clust …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Cannot find an overload for "Add" and the argument count: "2".
[08-20-2024_10:28:21] Starting Workload Domain deployment using file wld-w01.json
New-VCFWorkloadDomain: E:\VCF\vcf-automated-workload-domain-deployment.ps1:348
Line |
350 | … eployment = New-VCFWorkloadDomain -json $VCFWorkloadDomainDeploymentJ …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| The validation task commpleted the run with the following problems:
[08-20-2024_10:28:30] Open a browser to your SDDC Manager to monitor the deployment progress
[08-20-2024_10:28:30] VCF Workload Domain Deployment Complete!
[08-20-2024_10:28:30] StartTime: 08/20/2024 22:26:48
[08-20-2024_10:28:30] EndTime: 08/20/2024 22:28:30
[08-20-2024_10:28:30] Duration: 1.7 minutes to initiate Workload Domain deployment
At this point the creation fails - the task to create the workload domain is not created.