VCF: Upgrade fails when host name provided has non-lowercase character, as host DNS name gets normalized to lowercase while persiting the information
search cancel

VCF: Upgrade fails when host name provided has non-lowercase character, as host DNS name gets normalized to lowercase while persiting the information

book

Article ID: 313213

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction

Symptoms:

ESXi upgrade fails at the stage "ESX UPGRADE VUM STAGE POSTCHECK" with below error:
"Existing SSH key not found for host esxi-8-wld3-cl4-esxi-1.w2-qes-001.xxxx.local"
Please refer the lcm log file for full details : (/var/log/vmware/vcf/lcm).


Cause

In VCF, during host commission, the host DNS name gets normalized to lowercase while persisting the information .

Resolution

To resolve the issue, please follow the below mentioned steps:

  1. Replace the erring hostname in known files at the location below with the hostname in lower case.

/root/.ssh
/home/vcf/.ssh
/etc/vmware/vcf/commonsvcs

  1. And then restart all SDDC manager services

systemctl restart domainmanager
systemctl restart operationsmanager
systemctl restart commonsvcs
systemctl restart lcm

Note : This command may be used to restart all above services in one go :
/opt/vmware/vcf/operationsmanager/scripts/cli/sddcmanager_restart_services.sh