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

RunTime error with AVD with Zscaler plugin changes #3994

Closed
1 task done
vinaygcArista opened this issue May 15, 2024 · 0 comments · Fixed by #4002
Closed
1 task done

RunTime error with AVD with Zscaler plugin changes #3994

vinaygcArista opened this issue May 15, 2024 · 0 comments · Fixed by #4002
Labels

Comments

@vinaygcArista
Copy link

Issue Summary

Runtime error is seen on running AVD with Zscaler plugin to read Zscaler data source.

Backtrace:

wait_for_swg_endpoint_status: Got SWG endpoints: EndpointStatus(key=SwgKey(device_id='A2503490C3B304552C6D2197A697859E', service_name='zscaler'), vpn_endpoints=VpnEndpoints(values={'tertiary': VpnEndpoint(ip_address=IpAddress(value='165.225.72.39'), datacenter='FRA4', endpoint_location=Location(city='Frankfurt', region='Europe', country='Germany', latitude=50.0, longitude=9.0)), 'secondary': VpnEndpoint(ip_address=IpAddress(value='104.129.194.39'), datacenter='WAS1', endpoint_location=Location(city='Washington, DC', region='NorthAmerica', country='United States', latitude=39.0, longitude=-77.0)), 'primary': VpnEndpoint(ip_address=IpAddress(value='199.168.148.132'), datacenter='FMT1', endpoint_location=Location(city='Fremont, CA', region='NorthAmerica', country='United States', latitude=37.0, longitude=-121.0))}), cloud_name='zscalerbeta', device_location=Location(city='', region='', country='', latitude=37.07435989379883, longitude=-119.69937896728516))
The full traceback is:
Traceback (most recent call last):
File "/Users/vinay/myenvy/lib/python3.9/site-packages/ansible/executor/task_executor.py", line 165, in run
res = self._execute()
File "/Users/vinay/myenvy/lib/python3.9/site-packages/ansible/executor/task_executor.py", line 656, in _execute
result = self._handler.run(task_vars=vars_copy)
File "/Users/vinay/.ansible/collections/ansible_collections/arista/avd/plugins/action/eos_designs_structured_config.py", line 49, in run
for var in task_vars:
RuntimeError: dictionary changed size during iteration
fatal: [AWS-Site1 -> localhost]: FAILED! => {
"msg": "Unexpected failure during module execution: dictionary changed size during iteration",
"stdout": ""
}
The full traceback is:
Traceback (most recent call last):
File "/Users/vinay/myenvy/lib/python3.9/site-packages/ansible/executor/task_executor.py", line 165, in run
res = self._execute()
File "/Users/vinay/myenvy/lib/python3.9/site-packages/ansible/executor/task_executor.py", line 656, in _execute
result = self._handler.run(task_vars=vars_copy)
File "/Users/vinay/.ansible/collections/ansible_collections/arista/avd/plugins/action/eos_designs_structured_config.py", line 49, in run
for var in task_vars:
RuntimeError: dictionary changed size during iteration
fatal: [AWS-PF -> localhost]: FAILED! => {
"msg": "Unexpected failure during module execution: dictionary changed size during iteration",
"stdout": ""
}
set_swg_device: Setting location for 'AC1A9925F26A51BAE4C9AE3274D1F5F8': california
set_swg_device: Setting location for 'D2CB2D5B2CC101E704A75B01DDB21E23': california
set_swg_device: Setting location for '7093E1784B7F0F81AACCF849FDDC36E5': california
set_swg_device: Setting location for 'DTW24090071': california

Which component(s) of AVD impacted

arista.avd.default

How do you run AVD ?

Ansible CLI (with virtual-env or native python)

Steps to reproduce

No response

Relevant log output

No response

Contributing Guide

  • I agree to follow this project's Code of Conduct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants