-
Notifications
You must be signed in to change notification settings - Fork 229
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
Cisco: default-route originate route-map with a set-community statement crashes (setting community on generated route, not bgp route) #6691
Comments
@kmjmartin Thanks! can you run You can also find us in real-time on Batfish slack |
Hi @dhalperi Thanks, here's the output: pybatfish.exception.BatfishException: Work terminated abnormally log: Loading configurations for NetworkSnapshot{network=bd73afbd-a3aa-4c44-be9e-2445512f65b0, snapshot=985c4a7e-010b-4f1b-8758-e9bbf944d15f} |
@kmjmartin it looks like we are crashing trying to apply communities to a route that is generated for a specific BGP neighbor. Are you using BGP on:
If Cisco, are you using any of the following in BGP: Can you provide config snippets for these commands and the referenced route-maps? Include any related You can anonymize your configs with netconan if desired. Also feel free to reach out to me (Ari Fogel) on our slack workspace. |
Hi Ari, I've narrowed it down to occurring when the following 2 routers are in the snapshot. these are Cisco nexus routers. It doesn't look like they are using an aggregate address. This is the config with some of the variables changed: R1
R2
|
Thanks @kmjmartin - great report! We'll take a look. |
@kmjmartin The fix has been merged, and is available in this allinone test container: Make sure to replace any references to |
Hi,
running into this error with BGP questions.
We're using 4 questions, it only fails on the 4th one:
bfq.bgpProcessConfiguration().answer().frame() <- works
bfq.bgpPeerConfiguration().answer().frame() <- works
bfq.bgpSessionCompatibility().answer().frame() <- works
bfq.bgpSessionStatus().answer().frame() <- fails with the following error:
Traceback (most recent call last):
File "batfish/device_compliance.py", line 2771, in
main(prepare_env=True, source_dir="../net_config_collector/configs")
File "batfish/device_compliance.py", line 2686, in main
bgp_configuration_audit(filename_prefix=filename_prefix)
File "batfish/device_compliance.py", line 2362, in bgp_configuration_audit
all_df_list = fetch_bgp_config_dfs()
File "batfish/device_compliance.py", line 2337, in fetch_bgp_config_dfs
bgp_session_status_df = bfq.bgpSessionStatus().answer().frame()
File "/home//.pyenv/versions/net_compliance/lib/python3.6/site-packages/pybatfish/question/question.py", line 200, in answer
extra_args=extra_args,
File "/home//.pyenv/versions/net_compliance/lib/python3.6/site-packages/pybatfish/client/internal.py", line 58, in _bf_answer_obj
workhelper.execute(work_item, session, background, extra_args)
File "/home//.pyenv/versions/net_compliance/lib/python3.6/site-packages/pybatfish/client/workhelper.py", line 107, in execute
session, CoordConsts.SVC_RSC_QUEUE_WORK, json_data
File "/home//.pyenv/versions/net_compliance/lib/python3.6/site-packages/pybatfish/client/resthelper.py", line 78, in get_json_response
"Coordinator returned failure: {}".format(json_response[1])
pybatfish.exception.BatfishException: Coordinator returned failure: Failed to queue work: Cannot queue dataplane dependent work for 9016ea02-8b76-4ff9-bfd2-bf138e5cf619: Status is DATAPLANING_FAIL but no incomplete dataplaning work exists
Please let me know what logs of config files you'd require to be able to look into this.
Thanks,
Kane
The text was updated successfully, but these errors were encountered: