Log Management component deployment fails with "LOCKER_REFERENCE_CREATE" due to certificate expiration in VCF 9.1.1
search cancel

Log Management component deployment fails with "LOCKER_REFERENCE_CREATE" due to certificate expiration in VCF 9.1.1

book

Article ID: 462956

calendar_today

Updated On:

Products

VMware SDDC Manager / VCF Installer

Issue/Introduction

  • Deploying the Log Management component in VCF 9.1.1 fails when the Import configurations from an existing log management 8.x or 9.0.x instance option is enabled.

  • In the VCF Operations UI (VCF Operations > Build > Lifecycle > VCF Management > Tasks), 'Install Components: Log Management' workflow fails during 'Install components using SDDC Manager lifecycle service' task with the following error:

An unexpected error occurred in step register_single_component_in_ops_ref__1. Reference Code: ########. Please contact support with this reference code. Detail: Unexpected VCF Operations Suite client error has occurred. Cause: Message: HTTP response code: 400 HTTP response body: {"type":"Error","message":"Unknown error occurred.","moreInformation":[{"name":"OPERATION","value":"LOCKER_REFERENCE_CREATE"}],"httpStatusCode":400,"apiErrorCode":400} HTTP response headers: {access-control-allow-origin=[*], cache-control=[no-cache, no-store, max-age=0, must-revalidate], content-security-policy=[default-src https: wss: data: 'unsafe-inline' 'unsafe-eval'; child-src *; worker-src 'self' blob:;], content-type=[application/json], date=[Day, DD MM YYYY hh:mm:ss], expires=[0], pragma=[no-cache], referrer-policy=[same-origin], server=[Apache], strict-transport-security=[max-age=31536000; includeSubDomains], vary=[User-Agent], x-content-type-options=[nosniff], x-frame-options=[SAMEORIGIN], x-request-id=[#####], x-xss-protection=[1; mode=block]}

  • Logs on VCF Operations node located at /storage/log/vcops/log/component-manager-plugin-*.log shows following entries:

    YYYY-MM-DDThh:mm:ss INFO component-manager-plugin 35169 [ops@4413 threadId="405" threadName="ServerConnection on port 10000 Thread 5" operationId="<Opid>"] [com.vmware.vrealize.lcm.locker.service.pki.CertificateStoreServiceImpl.importCertificate] - Validating import certificate request payload
    .
    .
    YYYY-MM-DDThh:mm:ss ERROR component-manager-plugin 35169 [ops@4413 threadId="405" threadName="ServerConnection on port 10000 Thread 5" operationId="<Opid>"] [com.vmware.vrealize.lcm.lcops.util.InventoryUtil.createLockerReferences] - Error occurred while creating locker references ::
    com.vmware.vrops.component.manager.client.locker.common.exceptions.InvalidCertificateException: Certificate validations failed -Certificate is about to expire in 14 days.

Environment

VCF 9.1.1

Cause

The system flags a certificate as invalid if it is within 14 days of expiration, which blocks the creation of locker references and causes a deployment failure.

Resolution

To resolve this issue, perform the following steps:

  1. Regenerate the Aria Operations for Logs certificate via the Web UI:

    • Log in to the Aria Operations for Logs Web UI as an administrator.

    • Navigate to Administration > SSL.

    • Click the RESET TO DEFAULTS... button at the bottom of the page.

    • Confirm the reset when prompted. The web service will restart briefly.

    • Log back in and verify that the new validity period is correctly updated under the SSL settings.

  2. Clean up failed deployment component metadata:

  3. Re-initiate the deployment workflow:

    • Return to the VCF Operations UI and re-run Add Component workflow for Log Management.

Additional Information

Contact Broadcom support in case you need additional assistance.

Generate VCF Operations Support Bundle in VCF 9

Collecting SDDC Manager and VMSP logs