vSAN Skyline health reports alarm "vSAN cluster configuration consistency" with error : HostEncryptionConfigurationAbortedWithIntermediateEncryptionConfigurationLeft
search cancel

vSAN Skyline health reports alarm "vSAN cluster configuration consistency" with error : HostEncryptionConfigurationAbortedWithIntermediateEncryptionConfigurationLeft

book

Article ID: 432511

calendar_today

Updated On:

Products

VMware vSAN VMware vSphere ESXi

Issue/Introduction

Symptoms:

  • vSAN Skyline health reports following alarm under "vCenter UI  > vSAN cluster > Monitor > Skyline health".

  • Viewing the details of the alarm shows the following error: "Host encryption configuration aborted with intermediate encryption configuration left"


Additional symptoms may include:

  • Host key for host core dump encryption is inconsistent with cluster configuration
  • The host deep rekey has not finished 
  • The configuration of erasing disks before use on the host is inconsistent with cluster configuration 
  • Object encryption state is inconsistent with the cluster configuration 
  • The disk deep rekey has not finished 
  • Disk is not encrypted, but encryption is enabled on cluster 

 

Errors are visible in /var/log/vmware/vsan-health/vmware-vsan-health-summary-result.log:
 
YYYY-MM-DDTHH:MM:SS INFO vsan-mgmt[3604765] [VsanHealthSummaryLogUtil::PrintHealthResult opID=##d9] Cluster ##  Overall Health : red
   Group cluster health : red
      Test consistentconfig health : red
         Issues: Host  Disk  Issue  Recommendation
                 (Host-XXXXX, '', HostEncryptionConfigurationAbortedWithIntermediateEncryptionConfigurationLeft., Click'RemediateInconsistentConfiguration'),
                 (Host-YYYYY, '', HostEncryptionConfigurationAbortedWithIntermediateEncryptionConfigurationLeft., Click'RemediateInconsistentConfiguration'),
                 (Host-ZZZZZ, '', HostEncryptionConfigurationAbortedWithIntermediateEncryptionConfigurationLeft., Click'RemediateInconsistentConfiguration'),
 

Environment

VMware vSAN 8.x

Cause

The vSAN cluster configuration consistency'  alarms are reported due to inconsistency in the health ‘changing’ flag during the encryption.
 
This alarm is triggered when the vSAN health field 'Changing' state has not been "checked" or the "changingstatenotfinished" and marks as encryption issues before the the encryption configuration has been completed.
 
 
vSAN health field 'changing' is defined by vSAN mgmt and is used during encryption configuration. vSAN mgmt will set the cluster and host 'changing' field as True when starts to reconfigure vSAN encryption and will set the 'changing' field as False when encryption configuring has been done.
 
  •  We see below messages in vCenter "var/log/vmware/vsan-health/vmware-vsan-health-service.log" ,  vSAN health "Changing" field state checks are done while the encryption configuration has not been completed . This misleads the "changing" field during the encryption.
YYYY-MM-DDTHH:MM:SS WARNING vsan-mgmt[3604765] [VsanHealthEncUtil::_CheckChangingHealth opID=##d9] Host: ##.corp.##.com has not finished encryption configuration
YYYY-MM-DDTHH:MM:SS WARNING vsan-mgmt[3604765] [VsanHealthEncUtil::_AggregateEncryptionConfigHealth opID=##d9] Host: ##.corp.###.com has encryptionIssues: ['changingstatenotfinished']  >>> "Change" field health has not been checked.
YYYY-MM-DDTHH:MM:SS WARNING vsan-mgmt[3604765] [VsanHealthEncUtil::_CheckChangingHealth opID=608dffd9] Host:##.corp.###.com has not finished encryption configuration
YYYY-MM-DDTHH:MM:SS WARNING vsan-mgmt[3604765] [VsanHealthEncUtil::_AggregateEncryptionConfigHealth opID=##d9] Host: ##.corp.###.com has encryptionIssues: ['changingstatenotfinished']
YYYY-MM-DDTHH:MM:SS WARNING vsan-mgmt[3604765] [VsanHealthEncUtil::_CheckChangingHealth opID=##d9] Host: ##.corp.###.com has not finished encryption configuration
YYYY-MM-DDTHH:MM:SS WARNING vsan-mgmt[3604765] [VsanHealthEncUtil::_AggregateEncryptionConfigHealth opID=##d9] Host: ##corp.###.com has encryptionIssues: ['changingstatenotfinished']
YYYY-MM-DDTHH:MM:SS INFO vsan-mgmt[3604765] [VsanHealthEncUtil::_ConvertTimeFromString opID=##d9] _ConvertTimeFromString cannot handle empty time string
YYYY-MM-DDTHH:MM:SS ERROR vsan-mgmt[3604765] [VsanHealthEncUtil::GenerateClusterEncryptionHealthSummary opID=##d9] Encryption health check result:
configHealth: red,
  •  In"/var/run/log/vsanmgmt.log" we see that Cluster encryption config "change" field shows "True"
overallHealth: red
YYYY-MM-DDTHH:MM:SS INFO vsan-mgmt[3604765] [VsanHealthEncUtil::GenerateClusterEncryptionHealthSummary opID=608dffd9] Encryption health check inputs:
cluster: 'vim.ClusterComputeResource:domain-###81', cluster MoId: domain-###81,
clusterReconfigStatus.inClusterReconfig: False,
clusterReconfigStatus.inClusterDfc: False,
clusterReconfigStatus.dfcFinishedHosts: [],
clusterEncryptionConfig: {'enabled': True, 'kekId': '#######-####-####-####-############', 'dekGenerationId': 1, 'kmsProviderId': 'RI - KMS for vSAN Cluster', 'hostKeyId': '#######-####-####-####-############', 'changing': True, 'eraseDisksBeforeUse': True, 'kmipServers' 
 
 
 

Resolution

Proceed with following remediation.

Navigate to "vCenter UI > vSAN cluster > Monitor > Skyline health > vSAN cluster configuration consistency > Click "Remediate inconsistent configuration" button to synchronize the encryption configuration across the cluster.

2-Node Cluster (RAID-1 FTT=1): Evacuating a host in a 2-node cluster strictly requires the "Allow Reduced Redundancy" option to bypass the lack of a third data node. However, the single remaining active node must still possess enough absolute free physical capacity to hold all evacuated data components without exceeding disk utilization limits

Note: Its recommended to run this during the off business hours to minimize performance impact from potential data resync.