"Extract Cluster Image" task fails with error "Failed to export personality files from vCenter"
search cancel

"Extract Cluster Image" task fails with error "Failed to export personality files from vCenter"

book

Article ID: 396868

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

  • "Extract Cluster Image" task fails with error "Failed to export personality files from vCenter"

  • Lcm-debug log file (/var/log/vmware/vcf/lcm/lcm-debug.log) will show similar to below snippets:

YYYY-MM-DDTHH:MM:SS DEBUG [vcf_lcm,681b018a18c1b7d11f006f9a0444b59b,0dbf] [c.v.e.s.l.s.i.PersonalityManagementServiceImpl,http-nio-127.0.0.1-7400-exec-4] Fetching task for personality upload: PersonalityUpload(uploadId=dad82bb9-21dd-4c2f-9987-5ab81f50664a, personalityId=0e078935-fa71-4d23-a3c8-c63749369f24, uploadSpec=PersonalityUploadSpec(uploadMode=REFERRED, uploadSpecRawMode=null, uploadSpecReferredMode=PersonalityUploadSpecReferred(vCenterId=a0199fd3-8e94-44c4-9fe7-88fdb5399af8, clusterId=domain-c7419), name=<Cluster Image Name>), startTime=1746600125560, endTime=1746600306324, error=PersonalityUploadError(errorCode=PERSONALITY_EXPORT_FROM_VC_FAILED, errorMessage=Failed to export personality files from vCenter, stackTraceStr=org.springframework.web.client.ResourceAccessException: I/O error on GET request for "https://<URL>:9087/vum-filedownload/download": Read timed out)

Environment

VMware Cloud Foundation 5.X 

Cause

This issue occurs due to a timeout during the personality file export process from vCenter.

Resolution

To resolve this issue, increase the personality export timeout settings in SDDC Manager by following the below steps:

1. Take Snapshot of the SDDC Manager:

2. Navigate to the directory /opt/vmware/vcf/lcm/lcm-app/conf/ and take backup of application-prod.properties file

cp application-prod.properties /var/tmp/application-prod.properties.bak

3. Add following parameters (if they don't already exists) to increase the personality export timeout:

personality.export.connection.timeout=1800000
personality.export.read.timeout=1800000

4. Restart the LCM service to apply the changes:

systemctl restart lcm