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!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...