Image Management has an error "Failed to retrieve images" after SDDC Manager being restored from the file-level backup
search cancel

Image Management has an error "Failed to retrieve images" after SDDC Manager being restored from the file-level backup

book

Article ID: 430968

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction

  • After performing a file-level restore of an SDDC Manager VM from backup, navigating to Image Management gives the below error:
    Failed to retrieve images. A problem has occurred on the server. Please retry or contact the service provider and provide the reference token.

  • Below errors are seen in the /var/log/vmware/vcf/lcm/vcf-lcm.log location :-
    ERROR [vcf_lcm] PERSONALITY_UPLOAD_NOT_FOUND Personality Upload not found; uploadId: <ID>

Environment

VMware Cloud Foundation 5.x

Cause

This issue occurs when the SDDC Manager database retains a reference to a personality (image) upload task that was in progress or registered prior to the file-level restore, but the corresponding data is no longer present in the restored state.

Resolution

Identify and delete the orphaned personality ID using the SDDC Manager API Explorer as per the below steps :-

Take a fresh snapshot of the SDDC Manager VM before proceeding.

  1. Log in to the SDDC Manager UI as an administrator.
  2. Navigate to Developer Center > API Explorer.
  3. Expand the Personalities category.
  4. Retrieve the orphaned ID:
    • Select GET /v1/personalities.
    • Click EXECUTE.
    • In the Response Body, locate the personalityId associated with the missing image/upload.
  5. Delete the orphaned record:
    • Select DELETE /v1/personalities/{id}.
    • Enter the ID identified in the previous step into the personalityId field.
    • Click EXECUTE.
  6. Verify the response is Status: 200, OK.
  7. Refresh the Image Management page to confirm images are now visible.