You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vnet_route_check script used by Monit exits with the error below when there are any Vnet routes configured
Traceback (most recent call last):
File "/usr/local/bin/vnet_route_check.py", line 359, in <module>
sys.exit(main())
File "/usr/local/bin/vnet_route_check.py", line 330, in main
app_db_vnet_routes = get_vnet_routes_from_app_db()
File "/usr/local/bin/vnet_route_check.py", line 222, in get_vnet_routes_from_app_db
intf = vnet_intfs[vnet_name][0]
KeyError: 'Vnet_v4_in_v4-0'
Note there is a PR that was intended to address the issue but the issue is still present. The PR is sonic-net/sonic-utilities#2268
Steps to reproduce the issue:
Save each config below to a JSON file and apply with sudo config load filename.json
Traceback (most recent call last):
File "/usr/local/bin/vnet_route_check.py", line 359, in <module>
sys.exit(main())
File "/usr/local/bin/vnet_route_check.py", line 330, in main
app_db_vnet_routes = get_vnet_routes_from_app_db()
File "/usr/local/bin/vnet_route_check.py", line 222, in get_vnet_routes_from_app_db
intf = vnet_intfs[vnet_name][0]
KeyError: 'Vnet_v4_in_v4-0'
Describe the results you expected:
Script finishes successfully with no interruption.
Output of show version:
SONiC Software Version: SONiC.master.147826-dirty-20220913.162946
Distribution: Debian 11.5
Kernel: 5.10.0-12-2-amd64
Build commit: b34d94be1
Build date: Tue Sep 13 16:35:17 UTC 2022
Built by: AzDevOps@sonic-build-workers-0023BK
Platform: x86_64-accton_as9516_32d-r0
HwSKU: newport
ASIC: barefoot
ASIC Count: 1
Serial Number: AJ19049805
Model Number: NP5ZZ8632007A
Hardware Revision: N/A
Uptime: 13:56:33 up 2:06, 3 users, load average: 0.34, 0.56, 0.54
Date: Wed 14 Sep 2022 13:56:33
Output of show techsupport:
(paste your output here or download and attach the file here )
Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered:
@zhangyanzhao I see you put "triaged" tag so I suppose the issue was investigated. Please provide any investigation results and URLs to pending fixes if present. Thanks in advance!
I wasn't able to reproduce this issue on the image with the same hash (SONiC-OS-master.147814-b34d94be1).
I actually faced another error: "ValueError: Circular reference detected".
But I also tried on the latest image (SONiC-OS-master.162640-ef0559c03) and all looks working there.
Could you please check on latest image as well and confirm whether this issue is still reproducible in your case?
Description
vnet_route_check script used by Monit exits with the error below when there are any Vnet routes configured
Note there is a PR that was intended to address the issue but the issue is still present. The PR is sonic-net/sonic-utilities#2268
Steps to reproduce the issue:
sudo config load filename.json
Describe the results you received:
Describe the results you expected:
Script finishes successfully with no interruption.
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: