Purpose of the KB is to create missing ESXi root credential entries in the SDDC Manager Password Management by using a script.
VMware Cloud Foundation 5.x
VMware Cloud Foundation 9.x
The VCF Import Tool does not capture the ESXi root credentials during import or convert operations.
1. Take a snapshot of the SDDC Manager VM.
2. SSH into the SDDC Manager appliance with vcf and then elevate to root with su.
3. Copy the addEsxiRoot.py script to the /home/vcf/ directory
4. Run the script as root user.
python addEsxiRoot.py
If the root credential passwords are lost, use Reset ESXi host root password with Host Profile to reset the root account and then follow above resolution steps.