SDDC manager pre-check error: "Upgrade precheck start failed, Credential cannot be null".
search cancel

SDDC manager pre-check error: "Upgrade precheck start failed, Credential cannot be null".

book

Article ID: 369438

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

  • Unable to initiate pre-checks in the SDDC manager. You see the below error when you click on the updates tab:


  • From the logs, lcm-debug.log we see the below error:

    yyyy-mm-ddThh:mm:ss.558+0000 DEBUG [c7cc06e5e04a4e69,6f0a] [c.v.e.s.l.a.i.i.CredentialProviderEvo,http-nio-127.0.0.1-7400-exec-6] credential - get credential http://127.0.0.1/credentials-service/credentials?entityId=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX&credentialType=API

    yyyy-mm-ddThh:mm:ss.562+0000 DEBUG [c7cc06e5e04a4e69,6f0a] [c.v.e.s.l.a.i.i.CredentialProviderEvo,http-nio-127.0.0.1-7400-exec-6] credential - get credential http://127.0.0.1/credentials-service/credentials?entityId=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX&credentialType=SSH

    yyyy-mm-ddThh:mm:ss.563+0000 DEBUG [c7cc06e5e04a4e69,6f0a] [c.v.e.s.l.a.i.i.CredentialProviderEvo,http-nio-127.0.0.1-7400-exec-6] credential - get credential http://127.0.0.1/credentials-service/credentials?entityId=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX&credentialType=SSH

    yyyy-mm-ddThh:mm:ss.565+0000 ERROR [c7cc06e5e04a4e69,6f0a] [c.v.e.s.l.a.r.c.i.u.InventoryUpgradeController,http-nio-127.0.0.1-7400-exec-6] In InventoryUpgradeController, error occurred in upgrade precheck

    java.lang.RuntimeException: Credential cannot be null

  • Above the error statement for credential cannot be null, get credential calls are made for the entity's in the SDDC manager and do not show us what type of entity it is trying to get the credential from. 

Environment

VMware Cloud Foundation 3.x

 

Cause

An SDDC manager component may have been removed or uninstalled from the SDDC, leaving stale entries of that component in the SDDC manager database. 

Resolution

Contact GSS with a Support Request, to assist you in removing the stale entry from the SDDC manager Database.

Additional Information

Make sure that the IDs that are reported do not have any components associated in the SDDC manager inventory, and is only a stale present in the DB.