VCF Operations and License Server Registration Fails with Error 500
search cancel

VCF Operations and License Server Registration Fails with Error 500

book

Article ID: 443922

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

  • Registering VMware Cloud Foundation (VCF) Operations and License Server in Disconnected Mode fails at the Import Confirmation File stage with the following error:
    Error: 500 Internal Server Error:



  • The /storage/log/vcops/log/collector.log file on the VCF Operations node reports SAML token validation failures:

    YYYY-MM-DDThh:mm:ss.157Z ERROR collector 6333 [ops@4413 threadId="729" threadName="ops-data-sdk-health-report-collection-729"] [(128) com.broadcom.ops.data.esx.collect.EsxHealthCollector.lambda$startHealthReportCollection$1] - Exception while scheduling health-report collection or stopping the collection
    java.lang.RuntimeException: com.vmware.oauth2.errors.InvalidGrant: InvalidGrant (com.vmware.oauth2.errors.invalid_grant) => {
        error = invalid_grant,
        errorDescription = Invalid SUBJECT token: tokenType=SAML2,
        errorUri = <null>
    }
            at com.broadcom.ops.data.esx.auth.EsxAuthentication.createEsxVapiBindings(EsxAuthentication.java:99)
            at com.broadcom.ops.data.esx.auth.EsxAuthentication.createEsxVapiBindings(EsxAuthentication.java:100)
            at com.broadcom.ops.data.esx.auth.EsxAuthUtility.getBindingsManager(EsxAuthUtility.java:44)
            at com.broadcom.ops.data.esx.collect.EsxHealthOrchestrator.getBindingsManager(EsxHealthOrchestrator.java:263)
            at com.broadcom.ops.data.esx.collect.EsxHealthOrchestrator.collectHealthReport(EsxHealthOrchestrator.java:98)
            at com.broadcom.ops.data.esx.collect.EsxHealthCollector.lambda$startHealthReportCollection$1(EsxHealthCollector.java:135)
            at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
            at java.base/java.util.concurrent.FutureTask.runAndReset(Unknown Source)
            at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
            at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
            at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
            at java.base/java.lang.Thread.run(Unknown Source)
    Caused by: com.vmware.oauth2.errors.InvalidGrant: InvalidGrant (com.vmware.oauth2.errors.invalid_grant) => {
        error = invalid_grant,
        errorDescription = Invalid SUBJECT token: tokenType=SAML2,
        errorUri = <null>
    }

     

Environment

VMware Cloud Foundation 9.1

Cause

The registration failure is caused by an invalid credential. Specifically, an incorrect username was supplied during the registration process.Register VCF Operations and Your License Server in Disconnected Mode

Resolution

  1. Verify the exact username for an account that possesses Administrator privileges.
  2. Re-initiate the VCF Operations and License Server disconnected registration workflow.