I have two vCenter Server 5.5 appliances, both Build 3721164. Get-Tag and New-TagAssignment works works on one vCenter Server, but not the other. Both PowerCLI 6.3 R1 and 5.5 R1 product the same error. The inventory service is running and the destination port is open and listening. The inventory service (vmware-inventoryservice) has been cycled. The vCenter Service (vmware-vpxd) has been cycled. The vCenter Server appliance has been cycled. Accessing and assigning tags from the vSphere Web Client works fine. Any ideas as to why working with tags via PowerCLI would be failing?
H:\Tools\PortQry>PortQry.exe -n 172.24.160.91 -e 10443 -p tcp
Querying target system called:
172.24.160.91
Attempting to resolve IP address to a name...
IP address resolved to vcenter.child.intra.domain.com
querying...
TCP port 10443 (unknown service): LISTENING
H:\Tools\PortQry>
PowerCLI D:\> get-tag
get-tag : 04/24/2017 02:27:31 PM Get-Tag Unable to connect to the Inventory Service at
'https://172.24.160.91:10443/' which is required for the tagging functionality. Additional info: An error occurred while communicating with the remote host.
At line:1 char:1
+ get-tag
+ ~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Get-Tag], ViError
+ FullyQualifiedErrorId : ViCore_InventoryServiceProxy_CreateConnectInventoryServiceExceptionWrapper,VMware.VimAutomation.ViCore.Cmdlets.Commands.Tagging.GetTag
PowerCLI D:\> Get-PowerCLIVersion
PowerCLI Version
----------------
VMware vSphere PowerCLI 6.3 Release 1 build 3737840
---------------
Component Versions
---------------
VMware Cloud Infrastructure Suite PowerCLI Component 6.3 build 3709081
VMware vSphere PowerCLI Component 6.3 build 3709081
VMware VDS PowerCLI Component 6.3 build 3709081
VMware vCloud Director PowerCLI Component 6.3 build 3615264
VMware HA PowerCLI Component 6.0 build 3625284
VMware License PowerCLI Component 6.0 build 3615733
VMware vCloud Air PowerCLI Component 6.3 build 3615264
VMware PowerCLI Component for Storage Management 6.0 build 3617867
VMware vROps PowerCLI Component 6.3 build 3615304
VMware vSphere Update Manager PowerCLI 6.1 build 3607502
PowerCLI D:\>
PowerCLI D:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> get-tag
get-tag : 4/24/2017 10:31:12 AM Get-Tag Unable to connect to the Inventory Service at
'https://172.24.160.91:10443/' which is required for the tagging functionality. Additional info: An error occurred while communicating with the remote host.
At line:1 char:1
+ get-tag
+ ~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Get-Tag], ViError
+ FullyQualifiedErrorId : ViCore_InventoryServiceProxy_CreateConnectInventoryServiceExceptionWrapper,VMware.VimAutomation.ViCore.Cmdlets.Commands.Tagging.GetTag
PowerCLI D:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> Get-PowerCLIVersion
PowerCLI Version
----------------
VMware vSphere PowerCLI 5.5 Release 1 build 1295336
---------------
Snapin Versions
---------------
VMWare AutoDeploy PowerCLI Component 5.5 build 1262826
VMWare ImageBuilder PowerCLI Component 5.5 build 1262826
VMware License PowerCLI Component 5.5 build 1265954
VMware VDS PowerCLI Component 5.5 build 1295334
VMware vSphere PowerCLI Component 5.5 build 1295334
PowerCLI D:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI>
-Jeff