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’s a riddle wrapped in an enigma?

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

BORE at .conf25

Boss Of Regular Expression (BORE) was an interactive session run again this year at .conf25 by the brilliant ...

OpenTelemetry for Legacy Apps? Yes, You Can!

This article is a follow-up to my previous article posted on the OpenTelemetry Blog, "Your Critical Legacy App ...