Cluster Reconfigure operation stalls when a cross-cluster vMotion is in progress
search cancel

Cluster Reconfigure operation stalls when a cross-cluster vMotion is in progress

book

Article ID: 389893

calendar_today

Updated On:

Products

VMware vCenter Server 6.0 VMware vCenter Server 7.0 VMware vCenter Server 8.0

Issue/Introduction

Cluster Reconfigure operation stalls when a cross-cluster vMotion is in progress. The Cluster Reconfigure task will not progress while a cross-cluster vMotion is in progress then the task will be started and completed right after finishing the cross-cluster vMotion.

Environment

VMware vSphere 6.x
VMware vSphere 7.x
VMware vSphere 8.x

Cause

A cross-cluster vMotion/Storage vMotion that is happening take's a statelock against both source and destination compute resources, in this case clusters.

This behavior can be monitored with verbose logs of vpxd. In the following example, the vMotion task is done between 09:18:11 - 09:19:46 and Reconfigure task is done between 09:18:24 - 09:19:47. 

vpxd.log:
2025-01-28T09:18:11.418Z info vpxd[08061] [Originator@6876 sub=vpxLro opID=m6g75spt-3104-auto-2e9-h5:70001720-ae-01] [VpxLRO] -- BEGIN lro-74833 -- vm-5003 -- vim.VirtualMachine.relocate -- 52876987-49a9-2998-7e35-849ecaa3d538(5216110c-9d38-abf7-1451-3d04de8ea68a)

2025-01-28T09:18:11.587Z verbose vpxd[08061] [Originator@6876 sub=StateLock opID=m6g75spt-3104-auto-2e9-h5:70001720-ae-01] Attempting to lock domain-c4001, domain-c8 in mode SHARED
2025-01-28T09:18:11.587Z verbose vpxd[08061] [Originator@6876 sub=StateLock opID=m6g75spt-3104-auto-2e9-h5:70001720-ae-01] Successfully locked domain-c4001, domain-c8 in mode SHARED

2025-01-28T09:18:24.983Z info vpxd[08124] [Originator@6876 sub=vpxLro opID=m6g75spt-3132-auto-2f1-h5:70001741-79] [VpxLRO] -- BEGIN task-12065 -- domain-c4001 -- vim.ComputeResource.reconfigureEx -- 52876987-49a9-2998-7e35-849ecaa3d538(5216110c-9d38-abf7-1451-3d04de8ea68a)

2025-01-28T09:18:24.983Z verbose vpxd[08124] [Originator@6876 sub=StateLock opID=m6g75spt-3132-auto-2f1-h5:70001741-79] Attempting to lock domain-c4001 in mode EXCLUSIVE
2025-01-28T09:18:24.984Z verbose vpxd[08124] [Originator@6876 sub=StateLock opID=m6g75spt-3132-auto-2f1-h5:70001741-79] [VpxdStateLock] Couldn't lock vim.ClusterComputeResource:domain-c4001 in mode EXCLUSIVE. Will retry in a bit...

2025-01-28T09:19:46.803Z verbose vpxd[08124] [Originator@6876 sub=StateLock opID=m6g75spt-3132-auto-2f1-h5:70001741-79] Successfully locked domain-c4001 in mode EXCLUSIVE

 

 

 

 

Resolution

This is an expected behavior.