Error: VSAN OBJECT HEALTH critical alert in Skyline Health - VMware vSAN
search cancel

Error: VSAN OBJECT HEALTH critical alert in Skyline Health - VMware vSAN

book

Article ID: 430112

calendar_today

Updated On:

Products

VMware vSAN VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

Symptoms:

  • The vSAN Skyline Health reports a critical alert for "VSAN OBJECT HEALTH".
  • Clicking the Troubleshoot option under the alert confirms that the affected vSAN objects are in a "Reduced availability with no rebuild" state.



  • Running the command "esxcli vsan debug object health summary get" confirms that the VSAN objects are in "reduced-availability-with-no-rebuild" state.

    esxcli vsan debug object health summary get
    Health Status                                              Number Of Objects
    ---------------------------------------------------------  -----------------
    remoteAccessible                                                           0
    inaccessible                                                               0
    reduced-availability-with-no-rebuild                                     268
    reduced-availability-with-no-rebuild-delay-timer                           0
    reducedavailabilitywithpolicypending                                       0
    reducedavailabilitywithpolicypendingfailed                                 0
    reduced-availability-with-active-rebuild                                   0
    reducedavailabilitywithpausedrebuild                                       0
    data-move                                                                  0
    nonavailability-related-reconfig                                           0
    nonavailabilityrelatedincompliancewithpolicypending                        0
    nonavailabilityrelatedincompliancewithpolicypendingfailed                  0
    nonavailability-related-incompliance                                       0
    nonavailabilityrelatedincompliancewithpausedrebuild                        0
    healthy                                                                   26

  • A deep dive review of the impacted objects by running the command "esxcli vsan debug object list" confirms that components belonging to a specific host are ABSENT:

     Component: ########-####-####-####-############
       Component State: ACTIVE,  Address Space(B): 51539607552 (48.00GB),  Disk UUID: ########-####-####-####-############,  Disk Name: naa.################:2
       Votes: 2,  Capacity Used(B): 52583989248 (48.97GB),  Physical Capacity Used(B): 49681530880 (46.27GB),  Total 4K Blocks Used(B): 49175998464 (45.80GB),  Host Name: host-4
     Component: ########-####-####-####-############
       Component State: ABSENT,  CSN: STALE (6958!=6960),  Address Space(B): 51539607552 (48.00GB),  Disk UUID: ########-####-####-####-############,Disk Name: naa.################:2
       Votes: 1,  Capacity Used(B): 52583989248 (48.97GB),  Physical Capacity Used(B): 49526341632 (46.12GB),  Total 4K Blocks Used(B): 49123688448 (45.75GB),  Host Name: host-3
     Component: ########-####-####-####-############
       Component State: ACTIVE,  Address Space(B): 51539607552 (48.00GB),  Disk UUID: ########-####-####-####-############,  Disk Name: naa.################:2
       Votes: 1,  Capacity Used(B): 52583989248 (48.97GB),  Physical Capacity Used(B): 49668947968 (46.26GB),  Total 4K Blocks Used(B): 49195925504 (45.82GB),  Host Name: host-2
     Component: ########-####-####-####-############
       Component State: ACTIVE,  Address Space(B): 51539607552 (48.00GB),  Disk UUID: ########-####-####-####-############,  Disk Name: naa.################:2
       Votes: 1,  Capacity Used(B): 52583989248 (48.97GB),  Physical Capacity Used(B): 49685725184 (46.27GB),  Total 4K Blocks Used(B): 49202737152 (45.82GB),  Host Name: host-1

          In this example, the component on host-3 is marked as ABSENT.

  • Navigating to the affected VM > Configure > Policies and checking Policies and Profiles > VM Storage Policies reveals the applied rules. 




    In this scenario, the storage policy is configured for Site mirroring (stretched cluster) with 1 failure - RAID-5 (Erasure Coding).

    • Storage Type                            VSAN
    • Site disaster tolerance                 Site mirroring - stretched cluster  
    • Failures to tolerate                    1 failure - RAID-5 (Erasure Coding)    
    • Number of disk stripes per object       1
    • IOPS limit for object                   0

  • Navigating to vSAN cluster > Configure > Fault domains shows fault domain details: 




    In this example, this is an 8-node stretched cluster split across 2 fault domains (4 hosts per fault domain).


Environment

  • VMware vSAN 7.x
  • VMware vSAN 8.x
  • VMware vSAN 9.x

Cause

  • This issue occurs when an ESXi host within a fault domain is placed into Maintenance Mode.

    In this example: 

The storage policy applied to the affected vSAN objects requires a minimum configuration of 4 hosts per fault domain to fulfill its data component striping (RAID-5). When a host is placed into Maintenance Mode, the available host count drops to 3 on that particular fault domain. Consequently, the cluster cannot satisfy the policy and triggers the critical health alarm.

  • The vCenter inventory confirms that the host is in maintenance mode.



  • The /var/run/log/clomd.log file confirms that the object reconfiguration failed due to insufficient host resources within the impacted fault domain:

    YYYY-MM-DDTHH:MM.SSSZ No(29) clomd[2099178]: [Originator@6876 opID=1804291179] CLOMReconfigure: Reconfiguring ########-####-####-####-############ workItem type COMPLIANCE
    YYYY-MM-DDTHH:MM.SSSZ No(29) clomd[2099178]: [Originator@6876 opID=1804291179] CLOMSetQuorumVotes: Counted votes good:7, absent:0, bad:1; upperFDs:2, minLowerFDs:3, nTotalReplicas:3, nUpperReplicas:2, nLowerReplicas:1
    YYYY-MM-DDTHH:MM.SSSZ No(29) clomd[2099178]: [Originator@6876 opID=1804291179] CLOMSetQuorumVotes: 1 upper primary witnesses are required
    YYYY-MM-DDTHH:MM.SSSZ No(29) clomd[2099178]: [Originator@6876 opID=1804291179] CLOMSetQuorumVotes: Need at least 1 Lower FDs Per Upper, current: 3
    YYYY-MM-DDTHH:MM.SSSZ No(29) clomd[2099178]: [Originator@6876 opID=1804291179] SetVotes: Balance votes - twoLevelVoteAssignment:TRUE minimalVotesPerUpper:3 targetVotesPerUpperFD:12 numUpperFDs:3
    YYYY-MM-DDTHH:MM.SSSZ No(29) clomd[2099178]: [Originator@6876 opID=1804291179] CLOMStepFixObject: Fixing Concat leg : 0
    YYYY-MM-DDTHH:MM.SSSZ Cr(26) clomd[2099178]: [Originator@6876 opID=1804291179] CLOM_CheckClusterResourcesForPolicy: 3 host(s) available in certain fault domains, needed at least 4 host(s) in all the upper fault domains
    YYYY-MM-DDTHH:MM.SSSZ Cr(26) clomd[2099178]: [Originator@6876 opID=1804291179] CLOMChangeObjectPolicy: Cluster doesn't have resources to satisfy this policy

Resolution

  1. Exit the host from maintenance mode.