In virtualized environments managed by VMware vCenter, keeping tags synchronized across virtual machines (VMs) is crucial for effective management and automation. However, a common issue that administrators may encounter is the failure of vCenter tags to update correctly on VMs. This article explores a specific instance of such an issue, its causes, and the resolution applied.
VMware Aria Operations 8.x
The root cause of this issue is a failure in synchronizing vCenter tags for VMs. The log files revealed several tag-related errors:
2024-04-27T10:04:49,223+0000 INFO [Collector worker thread 12] (2887) com.integrien.adapter.vmware.dataproviders.DataProvidersManager.lambda$run$0 - For the data provider (TaggingDataProvider) got the following msg: (Failed to query and process tag/category names.). 2024-04-27T10:09:47,002+0000 ERROR [TagRetriever Thread] (2887) com.integrien.adapter.vmware.TagServiceTagHandler.collectTagData - collect tag data failed, got an exception java.util.concurrent.ExecutionException: com.vmware.vapi.std.errors.NotFound: NotFound (com.vmware.vapi.std.errors.not_found) => { messages = [], data = <null>, errorType = NOT_FOUND
These errors indicate that the tag data retrieval process was encountering issues, specifically with querying and processing tag/category names and handling not-found errors. These problems effectively prevented the system from collecting and synchronizing tag data properly.
To address the issue, the system was upgraded to version 8.12.0. This upgrade included fixes and improvements related to tag synchronization and data retrieval processes, resolving the synchronization issues experienced in version 8.10.x.