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
SDDC Manager 5.2.x
The issue is seen due to corrupt/modified lcm-app Directory.
Copy the LCM directory from an existing environment or a freshly deployed SDDC Manager, and place it under the '/opt/vmware/vcf/lcm' path.
VCF_LCM:VCFchown vcf_lcm:vcf -R lcm-app
750.chmod 750 -R lcm-app
systemctl start lcm