LCM Image Check Compliance fails with error 'A general System error occurred' for the task 'Update HCL data'
search cancel

LCM Image Check Compliance fails with error 'A general System error occurred' for the task 'Update HCL data'

book

Article ID: 407590

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

  • An attempt to perform a compliance check fails with error:

    A general System error occurred' for the task 'Update HCL data

  • The LCM Image is configured with Hardware Support Manager (HSM) service from a 3rd party Hardware Vendor to retrieve firmware information

  • The vSphere environment is restricted and does not have internet connectivity

  • In the vCenter logs we are seeing the following error:

    hcl_python_lib.log
    yyyy-mm-ddThh:mm:ss.zzzz INFO __main__ Downloading 'all' bundle
    yyyy-mm-ddThh:mm:ss.zzzz INFO compatibility.vvs.rest.vvs_client Requesting a new JWT token for authentication.
    yyyy-mm-ddThh:mm:ss.zzzz WARNING urllib3.connectionpool Retrying (Retry(total=2, connect=None, read=None, redirect=None, statu
    s=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7efc9ff548b0>: Failed
     to establish a new connection: [Errno -3] Temporary failure in name resolution')': /api/auth/v1/tokens
    yyyy-mm-ddThh:mm:ss.zzzz WARNING urllib3.connectionpool Retrying (Retry(total=1, connect=None, read=None, redirect=None, status
    =None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7efc9ff54550>: Failed
    to establish a new connection: [Errno -3] Temporary failure in name resolution')': /api/auth/v1/tokens
    yyyy-mm-ddThh:mm:ss.zzzz WARNING urllib3.connectionpool Retrying (Retry(total=0, connect=None, read=None, redirect=None, status
    =None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7efc9ff56500>: Failed
    to establish a new connection: [Errno -3] Temporary failure in name resolution')': /api/auth/v1/tokens
    yyyy-mm-ddThh:mm:ss.zzzz ERROR compatibility.vvs.rest.vvs_download Data download failed.
    Traceback (most recent call last):
      File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn
        conn = connection.create_connection(
      File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 72, in create_connection
        for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
      File "/usr/lib/python3.10/socket.py", line 955, in getaddrinfo
        for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
    socket.gaierror: [Errno -3] Temporary failure in name resolution

 

Environment

VMware vCenter Server 8.x

Cause

In restricted environments with no internet connection the VMware Compatibility Guide (VCG) needs to be downloaded manually.

Resolution

To resolve the issue follow the resolution steps of KB405839