Error: Enabling vSAN ESA with PowerCli 13.3 is failing: The operation is not allowed in the current state
search cancel

Error: Enabling vSAN ESA with PowerCli 13.3 is failing: The operation is not allowed in the current state

book

Article ID: 392009

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

You cannot enable vSAN ESA using PowerCli 13.3, however this is successful when using PowerCli 13.1

The command you are using is: 

$DataCenter = Get-Datacenter -Name "abc"
$DataCenter | New-Cluster -Name "test-cluster" 
$DataCenter | Get-Cluster -Name "test-cluster" | Set-Cluster -VsanEnabled:$true -VsanEsaEnabled $true -Confirm:$false -Verbose

13.3 is not working as below

13.1 is working as below

 

Environment

VMware vCenter Server 8.0

VMware ESXi host 8.0

PowerCli 13.3

Cause

The Engineering Team is aware of this issue with PowerCli 13.3 and they are working towards resolution

Resolution

Resolution:

The fix will be ready in PowerCli release corresponding to vSPhere 9.0U1

 

Workaround:

Use PowerCli version 13.1

OR PowerCli 13.3 with the command below

New-Cluster -Name "MyCluster" -Location "DataCenter" -VsanEnabled -VsanEsaEnabled