Error Code: LCMVSSC10013

While trying to upgrade my SaltStack Config environment to 8.16.2 I encountered Error Code: LCMVSSC10013 in VMware Aria Suite Lifecycle.

The error details:

Error Code: LCMVSSC10013
Failed to import VMware Aria Automation Config.
Exception occurred while importing VMware Aria Automation Config host. Exception message: Import of VMware Aria Automation Config failed for tenant Standalone vRASSC

com.vmware.vrealize.lcm.vsse.common.exception.VsscImportFailureException: Import of VMware Aria Automation Config failed for tenant Standalone vRASSC
	at com.vmware.vrealize.lcm.vsse.core.task.VsscImportTask.execute(VsscImportTask.java:185)
	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)
Caused by: java.lang.RuntimeException: Cannot execute ssh commands. Exception encountered : Session.connect: java.security.spec.InvalidKeySpecException: key spec not recognized
	at com.vmware.vrealize.lcm.util.SshUtils.execute(SshUtils.java:721)
	at com.vmware.vrealize.lcm.util.SshUtils.runCommand(SshUtils.java:532)
	at com.vmware.vrealize.lcm.util.SshUtils.runCommand(SshUtils.java:516)
	at com.vmware.vrealize.lcm.util.SshUtils.runCommand(SshUtils.java:628)
	at com.vmware.vrealize.lcm.vsse.core.task.VsscImportTask.fetchFipsStatus(VsscImportTask.java:342)
	at com.vmware.vrealize.lcm.vsse.core.task.VsscImportTask.getProductDetails(VsscImportTask.java:260)
	at com.vmware.vrealize.lcm.vsse.core.task.VsscImportTask.execute(VsscImportTask.java:158)
	... 5 more
Caused by: java.lang.RuntimeException: Cannot create session for ssh://[email protected]
	at com.vmware.vrealize.lcm.util.SessionHolder.newSession(SessionHolder.java:57)
	at com.vmware.vrealize.lcm.util.SessionHolder.<init>(SessionHolder.java:37)
	at com.vmware.vrealize.lcm.util.SshUtils.execute(SshUtils.java:663)
	... 11 more
Caused by: com.jcraft.jsch.JSchException: Session.connect: java.security.spec.InvalidKeySpecException: key spec not recognized
	at com.jcraft.jsch.Session.connect(Session.java:550)
	at com.vmware.vrealize.lcm.util.SessionHolder.newSession(SessionHolder.java:53)
	... 13 more
Caused by: java.security.spec.InvalidKeySpecException: key spec not recognized
	at org.bouncycastle.jcajce.provider.asymmetric.util.BaseKeyFactorySpi.engineGeneratePublic(Unknown Source)
	at org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi.engineGeneratePublic(KeyFactorySpi.java:212)
	at java.base/java.security.KeyFactory.generatePublic(Unknown Source)
	at com.jcraft.jsch.jce.XDH.getSecret(XDH.java:71)
	at com.jcraft.jsch.DHXEC.next(DHXEC.java:134)
	at com.jcraft.jsch.Session.connect(Session.java:328)
	... 14 more

To get around it I had to enable FIPS mode in Aria Suite Lifecycle under Lifecycle Operations -> Settings -> Tips Mode Compliance -> check the enabled box -> Click Update

Wait for the services to restart ~3 minutes

Upon retrying the request we can see that the request is now continuing.

Leave a Reply

Your email address will not be published. Required fields are marked *

Proudly powered by Cos
RSS
EMAIL