vRA is disappeared from the VCF inventory after it's upgrade
search cancel

vRA is disappeared from the VCF inventory after it's upgrade

book

Article ID: 380487

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite) VMware SDDC Manager VMware Cloud Foundation 4.x VMware Cloud Foundation 5.x

Issue/Introduction

vRA has disappeared from the Password Management page following an upgrade.

Environment

VMware Cloud Foundation 

Cause

During upgrade these settings we already generated in /etc/ssh/sshd_config_desired, but were not applied because of the upgrade finalization step skipped.

The sshd config is not updated in the config file as expected. 

 

YYYY-MM-DDThh:mm:ss.802+0000 INFO  [vcf_dm,xxxxxaaaaaaxxxxxxx,da9b] [c.v.v.v.c.impl.VraManagerImpl,http-nio-127.0.0.1-7200-exec-10]  Storing the vRA data in the inventory
YYYY-MM-DDThh:mm:ss.814+0000 INFO  [vcf_dm,xxxxxaaaaaaxxxxxxx,da9b] [c.v.e.s.v.VrealizeKnownHostsService,http-nio-127.0.0.1-7200-exec-10]  Getting SSH key
YYYY-MM-DDThh:mm:ss.817+0000 DEBUG [vcf_dm,xxxxxaaaaaaxxxxxxx,da9b] [c.v.v.s.c.s.SecurityConfigurationServiceImpl,http-nio-127.0.0.1-7200-exec-10]  Security config retrieved {"certificateValidationEnabled":true,"fipsMode":true}
YYYY-MM-DDThh:mm:ss.911+0000 ERROR [vcf_dm,xxxxxaaaaaaxxxxxxx,da9b] [c.v.evo.sddc.common.util.SshUtil,http-nio-127.0.0.1-7200-exec-10]  Unable to create jsch CLI session:
com.jcraft.jsch.JSchException: Algorithm negotiation fail
        at com.jcraft.jsch.Session.receive_kexinit(Session.java:590)
        at com.jcraft.jsch.Session.connect(Session.java:320)
        at com.vmware.evo.sddc.common.util.SshUtil.getSession(SshUtil.java:678)
        at com.vmware.evo.sddc.common.util.SshUtil.getSession(SshUtil.java:626)
        at com.vmware.evo.sddc.common.util.command.SshCommandExecuter.<init>(SshCommandExecuter.java:46)

YYYY-MM-DDThh:mm:ss.914+0000 DEBUG [vcf_dm,xxxxxaaaaaaxxxxxxx,da9b] [c.v.e.s.e.h.LocalizableRuntimeExceptionHandler,http-nio-127.0.0.1-7200-exec-10]  Processing localizable exception Failed to register <ID>:vra in the SDDC Manager.
YYYY-MM-DDThh:mm:ss.915+0000 ERROR [vcf_dm,xxxxxaaaaaaxxxxxxx,da9b] [c.v.e.s.e.h.LocalizableRuntimeExceptionHandler,http-nio-127.0.0.1-7200-exec-10]  [LGBV1J] PRODUCT_REGISTRATION_FAILED Failed to register <ID>:vra in the SDDC Manager.
com.vmware.evo.sddc.common.core.error.InvalidStateException: Failed to register <ID>:vra in the SDDC Manager.

Caused by: com.vmware.evo.sddc.common.core.error.InvalidStateException: Failed to execute vRA insertion operation on SDDC Manager.
        at com.vmware.vcf.vrealize.controller.impl.VraManagerImpl.insertVra(VraManagerImpl.java:134)
        at com.vmware.vcf.vrealize.controller.v1.VraPublicController.insertVra(VraPublicController.java:111)


 

Resolution

Login to all vRA appliances using ssh and perform the below.

  • cp -a /etc/ssh/sshd_config_effective ~    (have a copy of the file in the home dir)
  • cp -a /etc/ssh/sshd_config_desired /etc/ssh/sshd_config_effective
  • systemctl daemon-reload
  • systemctl restart sshd

Restart the workflow from the vRSLCM