Health Check operations in SDDC Manager fails at Ntp-check Perform validation checks on SDDC components during NTP check for VMware Aria products
search cancel

Health Check operations in SDDC Manager fails at Ntp-check Perform validation checks on SDDC components during NTP check for VMware Aria products

book

Article ID: 406025

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

Symptoms:

  • vcf-sos.log
    Unknown Exception occurred during NTP check for VMware Aria products: vrslcm_FQDN, please refer sos.log for more details or contact support.Error : AttributeError("\'NoneType\' object has no attribute \'text\'")

  • YYYY-MM-DDTHH:MM:SS.602+0000 INFO [vcf_sos] [db_api.py::fetch_a_record::264::check_sddcmanager_ntpThread0] Fetching records for table <class 'framework.dbinterface.database.Tasks'> with id in ['1e003064-732
    e-478c-88a8-45375350a7da']
    YYYY-MM-DDTHH:MM:SS:03.603+0000 ERROR [vcf_sos] [restutil.py::get::180::_parallel_check_vrslcm_ntp_configuredThread0] Traceback (most recent call last):
      File "/opt/vmware/sddc-support/services/../framework/../dependency/urllib3/connectionpool.py", line 715, in urlopen
        httplib_response = self._make_request(
      File "/opt/vmware/sddc-support/services/../framework/../dependency/urllib3/connectionpool.py", line 404, in _make_request
        self._validate_conn(conn)
      File "/opt/vmware/sddc-support/services/../framework/../dependency/urllib3/connectionpool.py", line 1058, in _validate_conn
        conn.connect()
      File "/opt/vmware/sddc-support/services/../framework/../dependency/urllib3/connection.py", line 419, in connect
        self.sock = ssl_wrap_socket(
      File "/opt/vmware/sddc-support/services/../framework/../dependency/urllib3/util/ssl_.py", line 449, in ssl_wrap_socket
        ssl_sock = _ssl_wrap_socket_impl(
      File "/opt/vmware/sddc-support/services/../framework/../dependency/urllib3/util/ssl_.py", line 493, in _ssl_wrap_socket_impl
        return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
      File "/usr/lib/python3.10/ssl.py", line 513, in wrap_socket
        return self.sslsocket_class._create(
      File "/usr/lib/python3.10/ssl.py", line 1100, in _create
        self.do_handshake()
      File "/usr/lib/python3.10/ssl.py", line 1371, in do_handshake
        self._sslobj.do_handshake()
    ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unsuitable certificate purpose (_ssl.c:1007)

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/opt/vmware/sddc-support/services/../framework/../dependency/requests/adapters.py", line 667, in send resp = conn.urlopen(
      File "/opt/vmware/sddc-support/services/../framework/../dependency/urllib3/connectionpool.py", line 799, in urlopen retries = retries.increment(
      File "/opt/vmware/sddc-support/services/../framework/../dependency/urllib3/util/retry.py", line 592, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause))
    urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='vrslcm_FQDN', port=443): Max retries exceeded with url: /lcm/lcops/api/v2/settings/system-details/time (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unsuitable certificate purpose (_ssl.c:1007)')))

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "utils/restutil.py", line 165, in get
      File "/opt/vmware/sddc-support/services/../framework/../dependency/requests/api.py", line 73, in get return request("get", url, params=params, **kwargs)
      File "/opt/vmware/sddc-support/services/../framework/../dependency/requests/api.py", line 59, in request return session.request(method=method, url=url, **kwargs)
      File "/opt/vmware/sddc-support/services/../framework/../dependency/requests/sessions.py", line 589, in request resp = self.send(prep, **send_kwargs)
      File "/opt/vmware/sddc-support/services/../framework/../dependency/requests/sessions.py", line 703, in send r = adapter.send(request, **kwargs)
      File "/opt/vmware/sddc-support/services/../framework/../dependency/requests/adapters.py", line 698, in send raise SSLError(e, request=request)
    requests.exceptions.SSLError: HTTPSConnectionPool(host='vrslcm_FQDN', port=443): Max retries exceeded with url: /lcm/lcops/api/v2/settings/system-details/time (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unsuitable certificate purpose (_ssl.c:1007)')))

  • /opt/vmware/sddc-support/sos --health-check
    |  11 | VMware Aria Suite Lifecycle : <vrslcm_FQDN> | NTP Status |  RED  |

Environment

VMware Cloud Foundation 5.x

Cause

The issue is caused by VRSLCM certificate.

Resolution

The issue is fixed by renewing a VRSLCM certificate.