Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'dict' object has no attribute 'iteritems' #78

Open
sahasneil opened this issue Apr 2, 2024 · 0 comments
Open

AttributeError: 'dict' object has no attribute 'iteritems' #78

sahasneil opened this issue Apr 2, 2024 · 0 comments

Comments

@sahasneil
Copy link

sahasneil commented Apr 2, 2024

Hi,

Observing this error every now then. Tried creating a cloned input, not helping.

| Get error when collecting events.
Traceback (most recent call last):
File "/opt/splunk/etc/apps/TA-MS-AAD/bin/ta_azure_utils/topology.py", line 80, in get_topology_by_rg
for key, resource in resources.iteritems():
AttributeError: 'dict' object has no attribute 'iteritems'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/splunk/etc/apps/TA-MS-AAD/lib/splunktaucclib/modinput_wrapper/base_modinput.py", line 140, in stream_events
self.collect_events(ew)
File "/opt/splunk/etc/apps/TA-MS-AAD/bin/azure_topology_automatic.py", line 127, in collect_events
topology = get_topology_by_rg(helper, access_token, subscription_id, environment, api_version, resourceGroupName, networkWatcherName, targetResourceGroupName)
File "/opt/splunk/etc/apps/TA-MS-AAD/bin/ta_azure_utils/topology.py", line 162, in get_topology_by_rg
raise e
File "/opt/splunk/etc/apps/TA-MS-AAD/bin/ta_azure_utils/topology.py", line 131, in get_topology_by_rg
subnet_resource = resources[subnet_assoc["resourceId"]]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant