Challenge
In some cases, Veeam ONE cannot collect or assign vCenter tags properly on vCenter 5.x versions. You can identify the issue by the following error messages in the Veeam ONE Reporter log files:Failed to execute SOAP command "CInvSvcCreateCategory". Inventory Service was not created. Can not Create tag with EXCEPTION: CreateCategory failed. Failed to dispose inventory service proxy EXCEPTION: The remote server returned an error: (401) Unauthorized.
NOTE: In order to export the logs, follow this KB article.
Cause
As an alternative method, Veeam ONE can use PowerCLI tool to collect and assign tags on VMware vCenter 5.x.Solution
Proceed with these steps to implement an alternative tags collection/assignment method:1. Check whether the account used to connect vCenter Server and ESX(i) hosts have all the necessary permissions assigned.
2. Check that your Veeam ONE installation has version 9.5 Update 3 or higher.
3. Install PowerCLI 6.5 on Veeam ONE server.
4. On the Veeam ONE server:
- Open Windows registry editor snap-in and navigate to the following registry path: HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Reporter Enterprise\
- Create a new registry key or modify the existing one:
Name: TagsCollectingMethod
Type: DWORD
Value: 1
Type: DWORD
Value: 1
5. Restart Veeam ONE services to apply the changes.