VCF 9.0 Installer reports the error "Http failure response for https://x.x.x.x/v1/system/settings/deport: 502 OK"
search cancel

VCF 9.0 Installer reports the error "Http failure response for https://x.x.x.x/v1/system/settings/deport: 502 OK"

book

Article ID: 404501

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction

 

  • Upon launching the vcf-installer-ui and providing credentials, an error is reported: "VCF UI Installer reports the error "Http failure response for https://x.x.x.x/v1/system/settings/deport: 502 OK"

 

  • Accessing /var/log/vmware/domainmanager/domainmanager.log reports

    YYYY-MM-DDT ERROR [vcf_dm,0000000000000000,0000] [o.s.boot.SpringApplication,main]  Application run failed
    java.lang.IllegalStateException: java.lang.IllegalStateException: Logback configuration error detected:
    ERROR in ch.qos.logback.classic.pattern.SyslogStartConverter@411f53a0 - Could not determine local host name java.net.UnknownHostException: XXXX: XXXX: Name or service not known
    ERROR in ch.qos.logback.classic.pattern.SyslogStartConverter@2b71e916 - Could not determine local host name java.net.UnknownHostException: XXXX: XXXX: Name or service not known
    at org.springframework.boot.context.logging.LoggingApplicationListener.initializeSystem(LoggingApplicationListener.java:347)
            at org.springframework.boot.context.logging.LoggingApplicationListener.initialize(LoggingApplicationListener.java:298)
    .....
    .........
    at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:156)
            
            at java.base/java.lang.Iterable.forEach(Iterable.java:75)
    Caused by: java.lang.IllegalStateException: Logback configuration error detected:
    ERROR in ch.qos.logback.classic.pattern.SyslogStartConverter@411f53a0 - Could not determine local host name java.net.UnknownHostException: XXXX: XXXX: Name or service not known
    ERROR in ch.qos.logback.classic.pattern.SyslogStartConverter@2b71e916 - Could not determine local host name java.net.UnknownHostException: XXXX: XXXX: Name or service not known
            at org.springframework.boot.logging.logback.LogbackLoggingSystem.reportConfigurationErrorsIfNecessary(LogbackLoggingSystem.java:282)
            at org.springframework.boot.logging.logback.LogbackLoggingSystem.loadConfiguration(LogbackLoggingSystem.java:260

Environment

VCF 9.0

Cause

The absence of corresponding DNS entries for the VCF Installer Appliance's IP address is directly causing 'UnknownHostException' errors in the logs.

Resolution

  • Create DNS record for the VCF Installer Appliance.
  • Validate both forward and reverse lookups are working using nslookup.
  • Restart the VCF Installer appliance to apply the updated DNS settings