New-tagcategory Cannot find a service registration for vCenter service with host name XXXX

By | June 14, 2016

I have been trying to test creating some new tag categories after my recent vCenter upgrades.

I hit two snags:

1) In PowerCLI I was getting an error about connecting to inventory service on local host (localhost:10089/invsvc I believe). This was remedied by upgrading PowerCLI to 6.x (I went to 6.3R1)

2) Next error w was “Cannot find a service registration for vCenter service with host name vcenter.fqdn”

This is actually a pretty easy fix, I found the kb here.

The issue is that the VirtualCenter.FQDN advanced setting has a FQDN that does not match the service registration in SSO. This may have occurred because you were using aliases or changing hosts but re-using certs prior to 6.0 and when you went to 6.0 you had to register whatever the cert name was with SSO but you didn’t change the advanced setting.

Go to Administration -> vCenter Server Settings -> Advanced Settings -> VirtualCenter.FQDN

 

 

Leave a Reply

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