All Apps and Add-ons

Enable debugging on Splunk_TA_vmware

pasito
Explorer

Hi all,

I'm getting the following errors in the latest version of the TA (3.3.1). How can I debug this further to provide more information on which host/vm has missing inventory data?

[ta_vmware_collection_worker://zeta:21606] ObjectContent instance has no attribute 'propSet'
Traceback (most recent call last):
  File "/var/lib/splunk/etc/apps/Splunk_TA_vmware/bin/inventory_handlers.py", line 376, in run
    last_version, is_first_version_seen = self.send_inv_data(hierarchyCollector, last_version, session[0], "vmware:inv:vm", sourcename, tempus, dest_index, config, target_config_object)
  File "/var/lib/splunk/etc/apps/Splunk_TA_vmware/bin/inventory_handlers.py", line 132, in send_inv_data
    vm_dict['hypervisor_os_version'] = str(host_mo.getCurrentProperty("config.product.version"))
  File "/var/lib/splunk/etc/apps/Splunk_TA_vmware/bin/vim25/mo.py", line 66, in getCurrentProperty
    dynaProps = objContent.propSet
AttributeError: ObjectContent instance has no attribute 'propSet'


[ta_vmware_collection_worker://delta:21705] ObjectContent instance has no attribute 'propSet'
Traceback (most recent call last):
  File "/var/lib/splunk/etc/apps/Splunk_TA_vmware/bin/inventory_handlers.py", line 435, in run
    last_version, is_first_version_seen = self.send_inv_data(hierarchyCollector, last_version, session[0], "vmware:inv:hostsystem", sourcename, tempus, dest_index, config, target_config_object)
  File "/var/lib/splunk/etc/apps/Splunk_TA_vmware/bin/inventory_handlers.py", line 152, in send_inv_data
    vnic = host_mo.getCurrentProperty("config.network.vnic")
  File "/var/lib/splunk/etc/apps/Splunk_TA_vmware/bin/vim25/mo.py", line 66, in getCurrentProperty
    dynaProps = objContent.propSet
AttributeError: ObjectContent instance has no attribute 'propSet'
0 Karma

hardikJsheth
Motivator

You can enable this by changing logging level of the respective worker process in Splunk_TA_vmware/default/inputs.conf. Each worker process has log level defined as follows:

[ta_vmware_collection_worker://alpha]
capabilities = hostvmperf,otherperf,hierarchyinv,hostinv,vminv,clusterinv,datastoreinv,rpinv,task,event
log_level = INFO
disabled = 1
interval = 15
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...