Unable to Enter Maintenance Mode on Host Due to Internal vSAN Error
search cancel

Unable to Enter Maintenance Mode on Host Due to Internal vSAN Error

book

Article ID: 403613

calendar_today

Updated On:

Products

VMware vSAN 8.x

Issue/Introduction

Symptoms 

While entering the host into Maintenace mode it failed with an error at 87%  as below 

General vSAN error. Failed to enter or exit maintenance mode due to an internal vSAN error. Retry operation.

While performing a vSAN cluster health test, a primary stat collection error was observed.

Few Objects were showing inaccessible state 

Environment

VMware vSAN 8.x

Cause

Advanced setting /VSAN/DOMPauseAllCCPs is set to 1 on one or more hosts in the cluster.

This advanced setting is used for vSAN cluster shutdown for data protection, as setting this option to 1 pauses all vSAN components operations on a host, effectively making objects owned by that host inaccessible.
In other words, the vSAN objects are not available to the compute resources, resulting in inaccessible VMs in the inventory

Resolution

Run command "esxcfg-advcfg -g /VSAN/DOMPauseAllCCPs" on  all hosts to get the current value:

Run command "esxcfg-advcfg -g /VSAN/DOMPauseAllCCPs" on  all hosts to get the current value:

[root@esxi#:~] esxcfg-advcfg -g /VSAN/DOMPauseAllCCPs

Value of DOMPauseAllCCPs is 1

If the value is 1, this means /VSAN/DOMPauseAllCCPs is enabled and the objects owned by this host will be unavailable until the setting is reverted to the default value of 0 by running the following command on the affected hosts.:

[root@esxi#:~] esxcfg-advcfg -s 0 /VSAN/DOMPauseAllCCPs