Error: 'An unknown error occurred while performing the operation' during ESXi host compliance check due to storage not accessible
search cancel

Error: 'An unknown error occurred while performing the operation' during ESXi host compliance check due to storage not accessible

book

Article ID: 432421

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

  • During an ESXi host compliance check the following error is seen:

An unknown error occurred while performing the operation 

  • The following errors appear in the var/run/hostd.log logs:

YYYY-MM-DDTHH:MM:SSZ Er(11) lifecycle[3282234]: imagemanagerctl:85 [InstallationError]
YYYY-MM-DDTHH:MM:SSZ Er(11)[+] lifecycle[3282234]: Failed to query file system stats: Errors:
YYYY-MM-DDTHH:MM:SSZ Er(11)[+] lifecycle[3282234]: Error getting data for filesystem on '/vmfs/volumes/########-########-####-############': Cannot open volume: /vmfs/volumes/########-########-####-############, skipping.
YYYY-MM-DDTHH:MM:SSZ Er(11) lifecycle[3282234]: imagemanagerctl:90 Traceback (most recent call last):
YYYY-MM-DDTHH:MM:SSZ Er(11) lifecycle[3282234]: imagemanagerctl:90   File "/tmp/esx-update-3282234/lib64/python3.11/site-packages/vmware/esximage/Utils/HostInfo.py", line 259, in _getFileSystemList
YYYY-MM-DDTHH:MM:SSZ Er(11) lifecycle[3282234]: imagemanagerctl:90   File "/tmp/esx-update-3282234/usr/lib/vmware/esxupdate/systemStorage.zip/esxutils.py", line 223, in runCli
YYYY-MM-DDTHH:MM:SSZ Er(11) lifecycle[3282234]: imagemanagerctl:90 esxutils.EsxcliError: Errors

Environment

  • ESXi 8.x
  • ESX 9.x
  • vCenter 8.x
  • vCenter 9.x

Cause

This error is caused by the storage listed in the log output becoming inaccessible.

Resolution

Fix the  storage accessibility issues before attempting to complete the compliance check.