Error: "Failed to retrive image. Could not reach to server." is seen on SDDC Manager UI.
search cancel

Error: "Failed to retrive image. Could not reach to server." is seen on SDDC Manager UI.

book

Article ID: 402129

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

SDDC Manager doesn't retrieve the inventory details and throws the Error: "Failed to retrive image. Could not reach to server." on SDDC Manager UI.

LCM Logs shows the below events: '/var/log/vmware/vcf/lcm/lcm.log'

Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
ERROR [vcf_lcm,0000000000000000,0000] [o.s.boot.SpringApplication,main] Application run failed
org.springframework.context.ApplicationContextException: Unable to start web server
Caused by: org.springframework.boot.web.server.WebServerException: Unable to create tempDir. java.io.tmpdir is set to /opt/vmware/vcf/lcm/tmp
Caused by: java.nio.file.NoSuchFileException: /opt/vmware/vcf/lcm/tmp/tomcat.0000.000000000000000


Environment

SDDC Manager 5.2.x

Cause

The issue is seen due to corrupt/modified lcm-app Directory.

Resolution

Copy the LCM directory from an existing environment or a freshly deployed SDDC Manager, and place it under the '/opt/vmware/vcf/lcm' path.

  • Update the ownership of the entire folder to VCF_LCM:VCF
chown vcf_lcm:vcf -R lcm-app
  • Set the permissions of the entire folder to 750.
chmod 750 -R lcm-app
  • Start LCM Service.
systemctl start lcm