Tuesday, August 30, 2016

vRealize Application Services 6.2 registration with vRealize Automation Fails - [Error] Invalid SSO Admin credentials

Registration of vRealize Application Services to vRealize Automation is the first configuration requested after the appliance is deployed. It prompts for the vCAC server name or IP (now vRA ) and then Administrator username and password. For this deployment I started getting below error
[Error] - Invalid SSO Admin credentials

I was certain about my credentials.

checked the Catalina.out logs located at /home/darwin/tcserver/darwin/logs


which clearly talks about "Time Synchronization"

Caused by: com.vmware.vim.sso.client.exception.TimeSynchronizationException: Server returned 'request expired' less than 0 seconds after request was issued, but it shouldn't have expired for at least 600 seconds.

Resolution: Match the time with your vRA and vCenter,

1. run the below command to set appropriate timezone
/opt/vmware/share/vami/vami_set_timezone


2. After selecting the right time zone, if you see the lag with vRA and vCenter then use below command to adjust the time

# date +%T -s "10:13:13"
10: Hour (hh)
13: Minute (mm)
13: Second (ss)

Now run the registration again, which should work as expected


Now you can continue importing the out of box sample contents. Hope this was informative,