The issue is not specific to Aria Operations for Logs & Networks and can affect other products integrated with Aria Suite Lifecycle Manager
2024-02-09 07:36:44.795 ERROR [pool-3-thread-1] c.v.v.l.p.c.v.t.i.ImportVrniEnvTask - -- Error occured while connecting as consoleuser, could be because of console password. Injecting task failure event. Error Code : 'LCMVRLICONFIG40004', Retry : 'true', Causing Properties : '{ CAUSE :: vrliHostName === }' com.vmware.vrealize.lcm.vrli.exception.VrliInvalidHostException: Cannot execute ssh commands. Exception encountered : Session.connect: java.security.spec.InvalidKeySpecException: key spec not recognized Invalid hostname provided for VMware Aria Operations for Logs import. Please check the hostname and retry again. java.lang.RuntimeException: Cannot execute ssh commands. Exception encountered : Session.connect: java.security.spec.InvalidKeySpecException: key spec not recognized
JSchException :: com.jcraft.jsch.JSchException: Session.connect: java.security.spec.InvalidKeySpecException: key spec not recognized
/var/log/vrlcm/vmware_vrlcm.log
file contains an InvalidKeySpecException
error similar to:com.vmware.vrealize.lcm.vrli.exception.VrliInvalidHostException: Cannot execute ssh commands. Exception encountered : Session.connect: java.security.spec.InvalidKeySpecException: key spec not recognized com.vmware.vrealize.lcm.plugin.vrli.VrliImportEnvironmentTask.execute(VrliImportEnvironmentTask.java:342) at com.vmware.vrealize.lcm.platform.automata.service.Task.retry(Task.java:158) at com.vmware.vrealize.lcm.automata.core.TaskThread.run(TaskThread.java:60) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source)
VMware Aria Suite Lifecycle 8.14.x and later Versions
This is a known issue reported in the VMware Aria Suite Lifecycle 8.14 Patch 1 Release Notes. See Product Deployment and Day-2 Operations failure due to SHA1 weak ciphers/algorithms removal from VMware Aria Suite Lifecycle
InvalidKeySpecException: key spec not recognized.
Follow the article Steps for Removing SHA1 weak Algorithms/Ciphers from all VMware Aria Products or alternatively follow the steps indicated in the workaround section.
Workaround:
Note: This can cause subsequent upgrades and day 2 actions to fail again, and it will need to be enabled again to run them. This can be avoided by updating the ciphers as per the workaround in Steps for removing weak SHA1 algorithms and ciphers from VMware Aria Products