Symptoms:
- Password Rotation is failing with the error: FAILED - SsoRotatorTask
- The certificate in use for vRealize Log Insight contains the fully qualified domain name for the cluster address but not the IP address.
- You see messages similar to the following in the /home/vrack/vrm/logs/vrack-vrm.log file on the SDDC Manager Controller VM:
2019-01-18 11:14:15.345 [pool-2-thread-10] INFO [com.vmware.vrack.vrm.core.util.HttpClientService] Initializing Http client hosted with 1 threads.
2019-01-18 11:14:15.772 [pool-2-thread-10] INFO [com.vmware.vrack.vrm.cms.updaters.LogInsightSsoUpdater] vRLI logging is disabled, updating only management vCenter in vRLI
2019-01-18 11:14:15.790 [pool-2-thread-10] INFO [com.vmware.vrack.vrm.core.util.HttpClientService] Initializing Http client hosted with 1 threads.
2019-01-18 11:14:16.059 [pool-2-thread-10] ERROR [com.vmware.vrack.vrm.cms.updaters.LogInsightApiClient] LogInsight login API failed after 6 retries
2019-01-18 11:14:16.060 [pool-2-thread-10] ERROR [com.vmware.vrack.vrm.cms.workflows.rotators.SsoRotatorTask] ########-####-####-####-########bbe9: SsoRotatorTask:192.168.1.23: failed java.lang.IllegalStateException: could not get credential
at com.vmware.vrack.vrm.cms.updaters.LogInsightApiClient.getCredential(LogInsightApiClient.java:76)
at com.vmware.vrack.vrm.cms.updaters.LogInsightSsoUpdater.test(LogInsightSsoUpdater.java:87)
at com.vmware.vrack.vrm.cms.workflows.rotators.AbstractRotatorTask.doUpdatersTest(AbstractRotatorTask.java:311)
at com.vmware.vrack.vrm.cms.workflows.rotators.AbstractRotatorTask.run(AbstractRotatorTask.java:229)
at com.vmware.vrack.vrm.core.engine.SimpleWorkflowEngine.executeTask(SimpleWorkflowEngine.java:550)
at com.vmware.vrack.vrm.core.engine.SimpleWorkflowEngine.runSingleTask(SimpleWorkflowEngine.java:501)
at com.vmware.vrack.vrm.core.engine.SimpleWorkflowEngine.access$1000(SimpleWorkflowEngine.java:47)
at com.vmware.vrack.vrm.core.engine.SimpleWorkflowEngine$2.run(SimpleWorkflowEngine.java:311)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalStateException: could not get sessionId
Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.