vSAN cluster configuration consistency with "stats object policy configuration is inconsistent"
search cancel

vSAN cluster configuration consistency with "stats object policy configuration is inconsistent"

book

Article ID: 403230

calendar_today

Updated On:

Products

VMware vSAN

Issue/Introduction

Symptoms:

  • Under vSAN skyline health, an alarm reports as "Stats object policy configuration is inconsistent."

  • Under Configure > Performance Service > Service is enabled and compliant.

Environment

VMware vSAN 8.x

Cause

The alarm was triggered due to inconsistent vSAN performance service configuration on the Master Node, leading to a mismatch in the stats object policy across the cluster.

Resolution

To fix the issue:

1. Reapply the vSAN performance service.

2. Disable and enable the performnace service using vCenter CLI:

  • Log into RVC via vCenter SSH.

    • Open vCenter SSH.

    • Log into shell

    • Run the command: rvc

    • Login with administrator@<domain>@localhost

  • cd into localhost > datacenter > computers > vSAN Cluster

  • Then run the command to delete the vSAN performance object: vsan.perf.stats_object_delete .

  • Once deleted, proceed to create the vSAN performance object by using the command: vsan.perf.stats_object_create .

Note: You can also re-enable Performance Service via the vCenter UI.

Then try restarting the vSAN management service on all hosts in the cluster by using below command:

/etc/init.d/vsanmgmtd restart