VMware Cloud Community
vBlockJFK
Enthusiast
Enthusiast
Jump to solution

AutoDeploy plugin 5.1 just not working...

I've installed the 5.1 AD plugin, added hosts, added depots, but the AD hosts say (inactive) and the createDeployrule function returns a "java.lang.nullpointer" error. Please tell me what config step I missed, and where it's documented.

Reply
0 Kudos
1 Solution

Accepted Solutions
vBlockJFK
Enthusiast
Enthusiast
Jump to solution

I got the answer. When I edited the /etc/vmware-rbd/httpd/httpd.conf file, I did it as root. This changed the permissions on it, and the "deploy" user couldn't read it. I did chmod 666 httpd.conf, restarted AutoDeploy, and it works.

View solution in original post

Reply
0 Kudos
4 Replies
radostin
VMware Employee
VMware Employee
Jump to solution

Hi,

One reason could be that you've configured VC plug-in to use "Shared session mode". AutoDepoy plug-in won't work as stated in release notes if VC plug-in is in this mode because of a bug in VC ver. 5.1. So the first thing to check is that you've configured the VC plug-in in "Session per user" mode.

If everything is fine with VC plug-in, please check if you are able to browse VC inventory from vCO. In case it is working fine you can try to refresh the inventory by pressing F5.

After all please attach logs from vCO so that we can check what is going on.

Regards,

Radostin

Reply
0 Kudos
VaibhavJain
Contributor
Contributor
Jump to solution

I do get the same error. I tried changing the mode to "Session per User", still no luck.

I see following error in the log file as well:

2013-08-21 06:33:07.160+0000 WARN  [AutoDeployManager] Unable to get AutoDeploy service! AutoDeploy host will be set INACTIVE! Reason: com.vmware.vim.vmomi.client.exception.SslException: com.vmware.vim.vmomi.core.exception.CertificateValidationException: Server certificate chain not verified

My setup has a vCenter appliance and the same appliance host the AD server.

I tried running few Powershell plugin workflows, which also returns "java.lang.nullpointer" error.


Regards,

Vaibhav  

Reply
0 Kudos
radostin
VMware Employee
VMware Employee
Jump to solution

Not sure what happened. You can see that SSL error message if the certificate of AutoDeploy server is not imported into the vCO trust store. 'Add an Auto Deploy host' workflow handles this by prompting the user to import the certificate if it is not trusted. So, this should be handled automatically on adding Auto Deploy host.

One of the workarounds could be:

1) Get URL of Auto Deploy server by point to the added (inactive host) host from vCO server and take the property 'Auto Deploy host' (something like: https://10.23.65.0:6502/sdk)

2) Go to web configurator->Network->SSL Trust Manager and use 'Import from URL' . Provide the URL to the AutoDeploy host (https://10.23.65.0:6502/sdk) and import the certificate.

3) Restart vCO and now it should work.

Regards,

Radostin

vBlockJFK
Enthusiast
Enthusiast
Jump to solution

I got the answer. When I edited the /etc/vmware-rbd/httpd/httpd.conf file, I did it as root. This changed the permissions on it, and the "deploy" user couldn't read it. I did chmod 666 httpd.conf, restarted AutoDeploy, and it works.

Reply
0 Kudos