After installing the vRA 6.2.2 Gugent into our Windows 2012 R2 template, blueprint deployment started to time out. As I had followed the exact steps I have previously used to install the Gugent for quite few customers before which in turn I have already documented on my following blog post: vRA Guest Agent Installation, I was surprised with the issue and thought to document the issue and resolution of it in this blog post in case others encounter it. Before I start, just few words of the environment versions:
VMware Tools: 6.0
OS: Windows 2012 R2
While above these are the exact versions I have seen the issue with, you might face it with previous or future versions, as I am not sure yet which versions this specifically apply to, I wanted to ensure to point out the exact versions where I have observed it. Below is the timeout error I saw in vRA while trying to deploy from a blueprint that uses the Gugent: “Request failed: Machine vttest001: Timeout Customizing Guest OS.”
The error logs within the vRA portal was not providing me with enough info to debug the error with, so I started digging into one of the machines deployed through the problematic blueprint and after digging around I have found the following error in Windows Applications event log:
“faulting application name: DynamicOps.agent.guest.exe libeay32.dll”
For some reason the issue end up being caused by the vRA Gugent not being able to locate the VMware Tool libeay32.dll package, although VMware tool 6.0 was installed. To work around this we end up copying the libeay32.dll package from the VMware tools folder to the vRA Gugent “VRMGuestAgent” folder as per the below screenshots.
This seemed to fix it for me, but I am still not sure why the vRA Gugent was not able to locate the VMware Tools libeay32.dll package, although my VMware tools was installed in the default folder. I will be further investigating this, but till then, this should get you going.
Please note, while only copying the libeay32.dll to the “VRMGuestAgent” folder seemed to do the job when using vSphere 6 and the template was running the vSphere 6 VMware tool, it seems there is one more file required when running with older VMware tools which is ssleay32.dll. I would recommend even in vSphere 6 you copy both files. You can get both of these files from the VMware tools folder if you are using vSphere 6.x or you can get them from an older version of the Gugent like the vRA 6.2.1 Gugent.