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

Failing frr-reload because of activated AgentX protocol on Edgecore SONiC #106

Open
robertvolkmann opened this issue Sep 21, 2023 · 1 comment · May be fixed by #107
Open

Failing frr-reload because of activated AgentX protocol on Edgecore SONiC #106

robertvolkmann opened this issue Sep 21, 2023 · 1 comment · May be fixed by #107

Comments

@robertvolkmann
Copy link
Contributor

Edgecore SONiC now activates the SNMP AgentX protocol by default in version 202111.6.

To accommodate this change, it's essential to add agentx to the FRR template. Without this addition, frr-reload encounters an error. The specific message displayed is:

"no agentx" we failed to remove this command
SNMP AgentX support cannot be disabled once enabled

AgentX is configured upon the container's start as shown below:

[program:vtysh_agentx]
command=/usr/bin/vtysh -c configure -c agentx
priority=6
autostart=false
autorestart=false
startsecs=0
stdout_logfile=syslog
stderr_logfile=syslog
dependent_startup=true
dependent_startup_wait_for=vtysh_b:exited
@robertvolkmann robertvolkmann linked a pull request Sep 21, 2023 that will close this issue
@robertvolkmann
Copy link
Contributor Author

robertvolkmann commented Sep 21, 2023

The change is not backward compatible. On older version frr-reload fails:

systemd[1]: Starting Reload FRR...
docker[3483642]: % [ISIS] Unknown command: agentx
docker[3483642]: line 1: Failure to communicate[2] to isisd, line: agentx
docker[3483642]: % [ISIS] Unknown command: agentx
docker[3483642]: line 5: Failure to communicate[2] to isisd, line: agentx
systemd[1]: frr-reload.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: frr-reload.service: Failed with result 'exit-code'.

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

Successfully merging a pull request may close this issue.

1 participant