-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[FRR]: Update frr to frr-7.0.1 #2899
Conversation
you need to modify the start.sh to start staticd |
both model are supported, if it is unified configuration model, then use frr.conf. if it is separated configuration model, then use zebra.conf, bgpd.conf, and staticd.conf. |
about FRR-pythontools, don't we have python3 installed in the frr docker? |
After this PR #2807, python3 is only available in snmp docker image (3.6). What is the motivate of using FRR-pythontools? If really needed, I propose 2 options:
In reply to: 492426979 [](ancestors = 492426979) |
I think I've it here: https://github.com/Azure/sonic-buildimage/pull/2899/files#diff-2faaa492fd949e4b9f384eb592a81bcbR35 |
I don't think we need frr-pythontools. |
We need more free space for our Jenkins |
Currently frr.conf has preference over bgpd.conf/zebra.com/staticd.conf |
autorestart=false | ||
startsecs=0 | ||
stdout_logfile=syslog | ||
stderr_logfile=syslog |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lguohan @pavel-shirshov can we force this fix with a separate PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pavel-shirshov our regression fails because frr is missing staticd which is essential part of this suite, so i would like to ask you to force this fix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nazarii-gnydyn
Can you please share some output?
On our side I see:
# ps ax
PID TTY STAT TIME COMMAND
1 pts/0 Ss+ 0:01 /usr/bin/python /usr/bin/supervisord
25 pts/0 Sl 0:00 /usr/sbin/rsyslogd -n
30 pts/0 S 0:00 python /usr/bin/bgpcfgd
33 pts/0 Sl 0:08 /usr/lib/frr/zebra -A 127.0.0.1 -s 90000000 -M fpm
36 pts/0 S 0:00 /usr/lib/frr/staticd -A 127.0.0.1
39 pts/0 Sl 0:02 /usr/lib/frr/bgpd -A 127.0.0.1
47 pts/0 Sl 0:27 fpmsyncd
49 pts/1 Ss 0:00 bash
65 pts/1 R+ 0:00 ps ax
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pavel-shirshov On our side (without this fix):
root@sonic:/home/admin# docker exec -ti bgp bash
root@sonic:/# ps -aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.5 0.2 58600 20444 pts/0 Ss+ 13:03 0:00 /usr/bin/python /usr/bin/supervisord
root 29 0.0 0.0 250136 2860 pts/0 Sl 13:03 0:00 /usr/sbin/rsyslogd -n
root 34 0.0 0.1 45556 13788 pts/0 S 13:03 0:00 python /usr/bin/bgpcfgd
frr 37 0.1 0.0 298552 5884 pts/0 Sl 13:03 0:00 /usr/lib/frr/zebra -A 127.0.0.1 -s 90000000 -M fpm
frr 39 0.1 0.1 299900 8964 pts/0 Sl 13:03 0:00 /usr/lib/frr/bgpd -A 127.0.0.1
root 45 0.5 0.0 101356 4096 pts/0 Sl 13:03 0:00 fpmsyncd
root 47 2.5 0.0 18184 3152 pts/1 Ss 13:05 0:00 bash
root 53 0.0 0.0 36632 2748 pts/1 R+ 13:05 0:00 ps -aux
root@sonic:/# supervisorctl status
bgpcfgd RUNNING pid 34, uptime 0:02:00
bgpd RUNNING pid 39, uptime 0:01:59
fpmsyncd RUNNING pid 45, uptime 0:01:59
rsyslogd RUNNING pid 29, uptime 0:02:00
start.sh EXITED May 17 01:03 PM
vtysh_b STOPPED Not started
zebra RUNNING pid 37, uptime 0:01:59
retest this please |
@nazariig So it wasn't about staticd, but about swig. I have approved your PR. I'll push it as soon as mellonox build is done. |
* Update frr to frr-7.0.1 * Fix a typo * Set right permissions on /etc/frr * Convert external file links from debian to Azure * Revert python3 fix * Build frr using more than 1 job * Add SWIG as dependency for libswss-common
…atically (#15812) #### Why I did it src/sonic-utilities ``` * 51c7a43c - (HEAD -> master, origin/master, origin/HEAD) [show][muxcable] update `show mux config` to print out `soc_ipv6` as well (#2909) (6 hours ago) [Jing Zhang] * fd497755 - [route_check][dualtor] Ignore vlan neighbor route miss (#2888) (18 hours ago) [Longxiang Lyu] * 81c0ed4e - [show][muxcable] update `show mux tunnel-route` to check soc_ipv6 as well (33 hours ago) [Jing Zhang] * 1ee73668 - [db_migrator] Migrate DNS configuratuion (#2893) (2 days ago) [ganglv] * 553a3432 - [dualtor][route_check] filter out `soc_ipv6` (#2899) (2 days ago) [Jing Zhang] ``` #### How I did it #### How to verify it #### Description for the changelog
…atically (#15835) src/sonic-utilities * bc7c7929 - (HEAD -> 202205, origin/202205) Add FEC correctable and uncorrectable port stats (#2027) (10 hours ago) [Prince George] * 58db48ad - [show][muxcable] update `show mux tunnel-route` to check soc_ipv6 as well (10 hours ago) [Jing Zhang] * 24fc1db8 - [dualtor][route_check] filter out `soc_ipv6` (#2899) (10 hours ago) [Jing Zhang] * d89d4832 - [route_check][dualtor] Ignore vlan neighbor route miss (#2888) (10 hours ago) [Longxiang Lyu]
…atically (sonic-net#15812) #### Why I did it src/sonic-utilities ``` * 51c7a43c - (HEAD -> master, origin/master, origin/HEAD) [show][muxcable] update `show mux config` to print out `soc_ipv6` as well (sonic-net#2909) (6 hours ago) [Jing Zhang] * fd497755 - [route_check][dualtor] Ignore vlan neighbor route miss (sonic-net#2888) (18 hours ago) [Longxiang Lyu] * 81c0ed4e - [show][muxcable] update `show mux tunnel-route` to check soc_ipv6 as well (33 hours ago) [Jing Zhang] * 1ee73668 - [db_migrator] Migrate DNS configuratuion (sonic-net#2893) (2 days ago) [ganglv] * 553a3432 - [dualtor][route_check] filter out `soc_ipv6` (sonic-net#2899) (2 days ago) [Jing Zhang] ``` #### How I did it #### How to verify it #### Description for the changelog
…t to verify consistency between kernel and ASIC (sonic-net#2840) * za32ddc1 [show][muxcable] update to print out as well (sonic-net#2909) * 0c6d0c5 [202205] Flush RESTAPI db in fast-reboot shutdown path (sonic-net#2921) * bc7c792 Add FEC correctable and uncorrectable port stats (sonic-net#2027) * 58db48a [show][muxcable] update to check soc_ipv6 as well * 24fc1db [dualtor][route_check] filter out (sonic-net#2899) * d89d483 [route_check][dualtor] Ignore vlan neighbor route miss (sonic-net#2888)
- What I did
- How I did it
Added necessary dependency + updated FRR repository
- How to verify it
Build an image and run it.
- Description for the changelog
Update FRR to FRR 7.0.1. staticd was enabled.
** - What must be completed until the PR is ready for merging: **