Compliance status are unknown when check compliance with vSphere Lifecycle Manager image
search cancel

Compliance status are unknown when check compliance with vSphere Lifecycle Manager image

book

Article ID: 390596

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

  • The cluster is managed with the vSphere Lifecycle manager image.
  • A Firmware and Drivers Addon is selected.
  • Under 'Image Compliance' prompt with "# of # hosts' compliance status are unknown" after the checking compliance task is finished.
  • In the /var/log/vmware/vmware-updatemgr/vum-server/vmware-vum-server.log of vCenter Server:

    [YYYY-MM-DDTHH:MM:SS] info vmware-vum-server[01536] [Originator@6876 sub=ServiceProvider] [EmbeddedPyServiceProvider 1609] HSM Task Info JSON String: {"complianceScanMap": {}, "id": "<ID>", "description": "host-####, host-####, host-####, host-####, host-#### HostUpdateRequest.ActionEnum.SCAN", "action": "SCAN", "hosts": ["host-####", "host-####", "host-####", "host-####", "host-####"], "status": "FAILED", "progress": 0, "messages": ["start to scan on hosts host-####, host-####, host-####, host-####, host-####", "502 Server Error: Bad Gateway for url: http://api-gateway:8080/rest/vxm/internal/do/v1/host/query"], "startTime": "[YYYY-MM-DDTHH:MM:SS]", "estimatedTimeRemaining": 36000, "operationStatusCode": 200}

    [YYYY-MM-DDTHH:MM:SS] info vmware-vum-server[01536] [Originator@6876 sub=Hsl::TaskManager] [TaskManager 270] Task: <ID> on hsm: com.vxrail.hsm.c#### is FAILED


Environment

VMware vCenter Server 7.x

Cause

A Hardware Support Manager (HSM) is OEM management software provided by hardware vendors. When the cluster image contains the Firmware and Driver Addon, the HSM service in vSphere Lifecycle Manager needs to communicate with OEM HSM. In this case, the HSM service is unable to establish a connection with OEM HSM causing the compliance status to be unknown.

Resolution

Contact the OEM HSM vendor to further check the issue. 

Additional Information

Hardware Support Manager (HSM) integrates with vSphere and vSphere Lifecycle Manager to include and enable vSphere Lifecycle Manager to coordinate the software and firmware updates to a given host by working through the HSM to do firmware updates when the host has been evacuated and put into maintenance mode by vSphere Lifecycle Manager. For more information about HSM, please refer to: Firmware lifecycle made simple with vSphere Lifecycle Manager