vpxd crash while creating DRS enabled cluster with powercli command createClusterEx
search cancel

vpxd crash while creating DRS enabled cluster with powercli command createClusterEx

book

Article ID: 372505

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Symptoms

  • Prior to the issue DRS cluster configuration is initialized with another cluster configuration

 example:

$MyNewClusterConf = New-Object Vmware.Vim.ClusterConfigSpecEx

$MyNewClusterConf.DrsConfig = $MySourceCluster.ConfigurationEx.DrsConfig

 

  • creating the new cluster with createClusterEx thows an error

example:

createClusterEx($MyNewClusterConf.Name,$MyNewClusterConf)

 

Exception calling "CreateClusterEx" with "2" argument(s): "The HTTP service located at https://VCENTER_IP/sdk is unavailable.  This could be because the service is too busy or because no endpoint 
was found listening at the specified address. Please ensure that the address is correct and try accessing the service again later."

 

  • In vCenter log file /var/log/vmon/vmon.log, you can see a line similar to 

2024-07-18T11:10:37.083Z In(05) host-2308 <vpxd> Service is dumping core. Coredump count 4. CurrReq: 0

 

  • In /var/core you can see vpxd coredump

core.vpxd-worker.xxxx

Environment

vSphere 7.x

vSphere 8.x

Cause

This is a known issue due to "Scalable Shares"  DRS setting introduced in vSphere 7.0. 

 

Resolution

  • The issue will be resolved in a future vCenter release.
  • Workaround :
    • Create cluster with createClusterEx before initializing DRS configuration
    • Configure DRS with ReconfigureComputeResource_Task

Example:

$MyNewClusterConf = New-Object Vmware.Vim.ClusterConfigSpecEx

$MyNewClusterConf.DrsConfig = $MySourceCluster.ConfigurationEx.DrsConfig

ReconfigureComputeResource_Task($MyNewClusterConf ,$false)