Failure of Connect vRealize Operations to Domain.
Error logs in the /var/logs/vmware/vcf/domainmanager/domainmanager.log
2023-10-27T09:47:27.782+0000 ERROR [vcf_dm,dd74a961a4ffe258,9a24] [c.v.evo.sddc.common.util.SshUtil,dm-exec-16] Unable to create jsch CLI session:
com.jcraft.jsch.JSchException: reject HostKey: {vrops.hostname}
The ssh util requires the ecdsa-sha2-nistp256 key which in older versions of SDDC Manager is not put in the known host file.
To workaround the issue, please follow the steps mentioned below:
Log into SDDC Manager terminal, in home/vcf directory execute:
ssh-keyscan -t ecdsa vrops-master.vrack.vsphere.local >> .ssh/known_hosts
Check if the key is successfully added in the file:
cat .ssh/known_hosts | grep vrops
Restart the workflow.