Temporary failure in name resolution" & "syslog.facility_IS_UNDEFINED is not a valid syslog facility string"/var/log/vmware/vcf/lcm/lcm.err reports below,Failed to instantiate [ch.qos.logback.classic.LoggerContext]Reported exception:ch.qos.logback.core.LogbackException: Failed to initialize or to run Configurator: ch.qos.logback.classic.util.DefaultJoranConfiguratorCaused by: java.lang.IllegalArgumentException: syslog.facility_IS_UNDEFINED is not a valid syslog facility string at ch.qos.logback.core.net.SyslogAppenderBase.facilityStringToint(SyslogAppenderBase.java:176) at ch.qos.logback.classic.pattern.SyslogStartConverter.start(SyslogStartConverter.java:47).ConverterUtil.startConverters(ConverterUtil.java:37) at ch.qos.logback.classic.net.SyslogAppender.buildLayout(SyslogAppender.java:133) at ch.qos.logback.core.net.SyslogAppenderBase.start(SyslogAppenderBase.java:81) at org.springframework.boot.logging.logback.LogbackLoggingSystem.loadConfiguration(LogbackLoggingSystem.java:248) Caused by: java.net.UnknownHostException: <SDDC ShortName>: Temporary failure in name resolution at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) at java.base/java.net.InetAddress$PlatformNameService.lookupAllHostAddr(InetAddress.java:934) at java.base/java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1543)Exception in thread "main" java.lang.reflect.InvocationTargetExceptionCaused by: java.lang.IllegalStateException: java.lang.IllegalStateException: Logback configuration error detected:ERROR in ch.qos.logback.classic.pattern.SyslogStartConverter@618b19ad - Could not determine local host name java.net.UnknownHostException: <SDDC ShortName>: <SDDC ShortName>: Temporary failure in name resolution at org.springframework.boot.context.logging.LoggingApplicationListener.initializeSystem(LoggingApplicationListener.java:347) at org.springframework.boot.context.logging.LoggingApplicationListener.initialize(LoggingApplicationListener.java:298)logging.logback.LogbackLoggingSystem.reinitialize(LogbackLoggingSystem.java:339) at org.springframework.boot.logging.AbstractLoggingSystem.initializeWithConventions(AbstractLoggingSystem.java:74) at org.springframework.boot.logging.AbstractLoggingSystem.initialize(AbstractLoggingSystem.java:61
Failed to get images. Could not reach the server, possible reasons could be network connectivity issue or server going down"/var/log/vmware/vcf/domainmanager/domainmanager.log reports below,YYYY-MM-DD ERROR [vcf_dm,#####] [c.v.e.s.c.s.a.i.ImageManagementServiceAdapterImpl,ForkJoinPool.commonPool-worker-####] Error in fetching Images from LCMcom.vmware.cloud.foundation.rest.lcm.runtime.ApiException: Bad Gateway
/opt/vmware/sddc-support/sos --services-health reports LCM and LCM_DB as RED.systemctl status lcm shows the service is in activating (auto-restart) loop as below,application-prod.properties in the path /opt/vmware/vcf/lcm/lcm-app/conf/ shows the owner as "root" instead of "vcf"The SDDC Manager appliance hostname differs from the OS-level static hostname. Additionally, the ownership of the file `/opt/vmware/vcf/lcm/lcm-app/conf/application-prod.properties` is not set to "vcf"
To resolve this issue, the hostname must be updated to ensure successful local name resolution by the LCM service.
Log in to the SDDC Manager appliance as vcf via SSH
su" and enter root passwordCheck the current hostname configuration:hostnamectl
Update the hostname to the correct one as per the DNS records. (Replace
hostnamectl set-hostname test.example.comtest.example.com with the actual lowercase FQDN).
application-prod.properties" by running "ls -ltrh" from the directory /opt/vmware/vcf/lcm/lcm-app/conf.
chown application-prod.properties vcf_lcm:vcf
systemctl restart lcm
systemctl status lcm