SDDC Manager Flags Account(s) as Disconnected After Patching vIDM with CSP-102092
search cancel

SDDC Manager Flags Account(s) as Disconnected After Patching vIDM with CSP-102092

book

Article ID: 416560

calendar_today

Updated On:

Products

VMware SDDC Manager VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

  • vIDM root account shows disconnected in SDDC manger UI post patching to CSP-102092

  • In Password Management Page we see, below error

  • We are able to connect to vIDM through SSH using same root password.
  • From operationmanager log we could see SSH connections failing with below errors : /var/log/vmware/vcf/operationsmanager/operationmanager.log:

YYYY-MM-DDT23:33:56.313+0000 ERROR [vcf_om, 690152e4d9d713695b3cd981a64ee63f, c2cc] [c.v.e.s.c.u.c.SshCommandExecuter, om-exec-11] Could not connect to the SSH server @ <FQDN> for configuration.
com. vmware. evo.sddc.common.util.command.CommandExecuterException: SSH: Failed to establish SSH session to <FQDN>
YYYY-MM-DDT23:33:56.314+0000 ERROR [vcf_om,690152e4d9d713695b3cd981a64ee63f,c2cc] [c.v.v.p.u.c.SshPasswordChanger, om-exec-11] Failed to execute command, error : SSH: Failed to establish SSH session to <FQDN>
YYYY-MM-DDT23:33:56.314+0000 ERROR [vcf_om, 690152e4d9d713695b3cd981a64ee63f, c2cc] [c.v.v.p.u.c. SshPasswordChanger, om-exec-11] Unable to login to <FQDN>. org with username root got from CSS
[vcf_om,690152e4d9d713695b3cd981a64ee63f,c2cc] [c.v.v.p.u.c.AbstractPasswordChanger, om-exec-11] Failed to execute command, error : SSH: Failed to establish SSH session to <FQDN>

Environment

SDDC Manager 5.2.2 with vIDM 3.3.7.0

 

Cause

In the patched vIDM sshd_config, rsa is the only algorithm enabled. But rsa is then disabled in the HostKeyAlgorithms section at the end of the file which causing SSH connections to fail as no algorithm is available.

Resolution

To resolve the issue : Use Stronger Algorithms and Re-Trust Host Keys:

1. Reconfigure SSH on vIDM Nodes

    • Edit /etc/ssh/sshd_config so it reads as follows for our specific configuration lines:

#HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_ecdsa_key
HostKey /etc/ssh/ssh_host_ed25519_key
HostkeyAlgorithms -ssh-rsa

    • Restart SSH:

# systemctl restart sshd

2. Re-Trust Host Keys in SDDC Manager

    • Follow KB 316028 and download the fixHostKeys.py script. Store it on the SDDC Manager and run (after you take a SDDC VM snapshot):

3. Later Remediate Password in SDDC Manager.

    • Navigate to Administration > Security > Password Management, click the vertical ellipsis next to the service account, and select Remediate