vSphere 6.x Tags Are Not Populated in vRealize Operations Manager 6.x
search cancel

vSphere 6.x Tags Are Not Populated in vRealize Operations Manager 6.x

book

Article ID: 340143

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Symptoms:
vSphere 6.x tags are not populated in vRealize Operations Manager 6.x.

Note: For additional symptoms and log entries, see the Additional Information section.

Environment

VMware vRealize Operations Manager 6.5.x
VMware vRealize Operations Manager 6.4.x
VMware vRealize Operations Manager 6.1.x
VMware vRealize Operations Manager 6.6.x
VMware vRealize Operations Manager 6.0.x
VMware vRealize Operations Manager 6.2.x
VMware vRealize Operations Manager 6.3.x

Cause

This issue occurs because vRealize Operations Manager 6.x does not have the latest vSphere SDK, causing read errors when the usedBy value is set.

Resolution

This is a known issue affecting vRealize Operations Manager 6.x.
 
Currently, there is no resolution.

To work around this issue, clear the value of the usedBy field using the vSphere Managed Object Browser.
 
  1. Log in to the Managed Object Browser of the vSphere Web Client with full Administrator credentials.

    Example: https://vsphere_address/invsvc/mob1

    Note: Replace vsphere_address with the IP address or FQDN of the vSphere Web Client.
     
  2. Click EnumerateInventoryServiceTags.
  3. In the InventoryServiceTagManager window, clear the VALUE field and click Invoke Method. A list of all custom tag' IDs appear.
  4. Click a tag ID.
  5. In the InventoryServiceTag window, click Info.
  6. Note the value for the usedBy Property.

    Example: Administrator
     
  7. Press Backspace key to return to the InventoryServiceTag window.
  8. Click RemoveFromUsedByArrayForTag.
  9. In the RemoveFromUsedByArrayForTag window, enter the value noted in step 6 for the value of the usedBy Field (required).
  10. Click Invoke Method.

    Note: A void message appears, confirming that the value is successfully updated.
     
  11. Repeat steps 4-10 for all other custom tag IDs.

    Note: The custom tags appears in the vRealize Operations Manager after few collection cycles.


Additional Information

You experience these additional symtoms:

In the /storage/vcops/log/collector.log file, you see entries similar to:

ERROR [Collector worker thread 4] com.integrien.adapter.vmware.InventoryServiceTagHandler.collectTagData - GetProviderFeed failed, get exception
java.util.concurrent.ExecutionException: com.vmware.vim.vmomi.client.exception.VmomiProtocolException: com.vmware.vim.vmomi.core.exception.UnmarshallException: Type 'InventoryServiceTagInfo' contains unrecognized property 'usedBy'

at com.vmware.vim.vmomi.core.impl.BlockingFuture.get(BlockingFuture.java:70)
at com.integrien.adapter.vmware.InventoryServiceTagHandler.buildTagLookupMap(InventoryServiceTagHandler.java:413)
at com.integrien.adapter.vmware.InventoryServiceTagHandler.updateTagInfoMap(InventoryServiceTagHandler.java:365)
at com.integrien.adapter.vmware.InventoryServiceTagHandler.getAllResourceTags(InventoryServiceTagHandler.java:290)
at com.integrien.adapter.vmware.InventoryServiceTagHandler.collectTagData(InventoryServiceTagHandler.java:223)
at com.integrien.adapter.vmware.VMwareAdapter.onCollect(VMwareAdapter.java:754)
at com.integrien.alive.common.adapter3.AdapterBase.collectBase(AdapterBase.java:674)
at com.integrien.alive.common.adapter3.AdapterBase.collect(AdapterBase.java:487)
at com.integrien.alive.collector.CollectorWorkItem3.run(CollectorWorkItem3.java:44)

Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.
 
To be alerted when this article is updated, click Subscribe to Document in the Action box.