VCF Installer fails with the error "GenerateConfigureSddcManagerCertificateInput in plugin ViDomainServicePlugin failed with exception"
search cancel

VCF Installer fails with the error "GenerateConfigureSddcManagerCertificateInput in plugin ViDomainServicePlugin failed with exception"

book

Article ID: 417549

calendar_today

Updated On:

Products

VMware SDDC Manager VCF Operations

Issue/Introduction

  • Domainmanager.log (var/log/vmware/vcf/domainmanager/domainmanager.log) may report below entries,

    YYYY-MM-DDTHH:MM:SS ERROR [vcf_dm, #####] [c.v.e.s.o.model.error.ErrorFactory, dm-exec-15]of task GenerateConfigureSddcManagerCertificateInput in plugin ViDomainServicePlugin failed with exception.
    com. vmware. evo.sddc.common. core. error. InternalServerErrorException: Invocation of prefix '' part of task GenerateConfigureSddcManagerCertificateInput in plugin ViDomainServicePlugin failed with exception.

    at com.vmware.evo.sddc.orchestrator.core. ProcessingTaskSubscriber. invokeMethod (ProcessingTaskSubscriber. java: 450)
    at com. vmware. evo.sddc.orchestrator.core. ProcessingTaskSubscriber. processTask (ProcessingTaskSubscriber. java: 517)
    at com.vmware.evo.sddc.orchestrator.core. ProcessingTaskSubscriber.accept (ProcessingTaskSubscriber. java: 128)

    at java.base/java. lang. Thread. run (Thread. java: 840)
    Caused by: java. net. UnknownHostException: -: -: Name or service not known
    at java.base/java.net. InetAddress.getLocalHost (InetAddress. java: 1671)
    at com. vmware. vcf. common. util. QuickStartUtil.getLocalHostname (QuickStartUtil. java: 748)
    at com.vmware.vcf.vimanager.fsm.actions. GenerateConfigureSddcManagerCertificateInput.execute (GenerateConfigureSddcManagerCertificateInput. java: 55)
    at com.vmware. vcf.vimanager. fsm.actions. GenerateConfigureSddcManagerCertificateInput.execute (GenerateConfigureSddcManagerCertificateInput. java: 28)
    at com.vmware.evo.sddc.orchestrator.platform.action. FsmActionState. invoke (FsmActionState. java: 66)
    at com. vmware. evo.sddc.orchestrator.platform.action. FsmActionPlugin. invoke (FsmActionPlugin. java: 161)
    at com.vmware. evo.sddc.orchestrator.platform. action. FsmActionPlugin. invoke (FsmActionPlugin. java: 147)
    at com.vmware. evo.sddc.orchestrator.core. ProcessingTaskSubscriber. invokeMethod (ProcessingTaskSubscriber. java: 403)
    ... 11 common frames omitted
    Caused by: java. net. UnknownHostException: -: Name or service not known
    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)
    at java.base/java.net. InetAddress$NameServiceAddresses.get (InetAddress. java:852)
    at java.base/java. net. InetAddress.getAllByName0 (InetAddress. java: 1533)
    at java.base/java. net. InetAddress.getLocalHost (InetAddress. java: 1666)
    18 common frames omitted

 

  • Validating the hostname of VCF Installer appliance shows the blank output
    Command to validate : # hostname

Environment

VCF 9.x

Cause

Missing/blank hostname may result in hostname resolution failure (UnknownHostException), preventing the SDDC Manager certificate configuration input from being generated.

Resolution

Set the desired hostname to the VCF Installer appliance.

  1. SSH to VCF Installer appliance
  2. Login with root credentials by typing "su" command
  3. Set the hostname using below command to leave the hostname persistent across the reboots
    hostnamectl set-hostname <new_hostname>