Commit Graph

7384 Commits

Author SHA1 Message Date
Volodymyr Samotiy
5dbddbd319
[202205] [Mellanox] Upgrade hw-management package to 7.0020.4401 (#17785) 2024-01-23 08:37:18 -08:00
mssonicbld
f2f053989a
[submodule] Update submodule sonic-telemetry to the latest HEAD automatically (#17786)
src/sonic-telemetry

* 371073d - (HEAD -> 202205, origin/202205) Merge pull request #181 from sonic-net/202205_dialout (7 days ago) [Feng-msft]
* 72c3ae4 - (origin/202205_dialout) Manual cherrypick dialout build flag PR to 202205. (11 days ago) [Feng Pan]
2024-01-23 08:36:50 -08:00
mssonicbld
1218ac8762
[submodule] Update submodule sonic-platform-common to the latest HEAD automatically (#17759)
src/sonic-platform-common

* 9a4a481 - (HEAD -> 202205, origin/202205) [202205] Fix issue: QSFP module with id 0x0d can be parsed using 8636 (#412) (#425) (11 days ago) [Stephen Sun]
2024-01-23 08:36:13 -08:00
mssonicbld
748024fd1f
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#17849)
src/sonic-utilities

* 7a7305e9 - (HEAD -> 202205, origin/202205) Fix issue: out of range sflow polling interval is accepted and stored in config_db (#2847) (#3123) (3 hours ago) [Stephen Sun]
* 06d11339 - [config] config reload should generate sysinfo if missing  (#3031) (#3126) (21 hours ago) [jingwenxie]
* bef96a1d - [202205] Allow using latest sonic-swss-common build even if tests failed (#3127) (4 days ago) [Saikrishna Arcot]
2024-01-23 08:35:32 -08:00
jcaiMR
d1ba80c6ea [dhcp-relay]: dhcp/dhcpv6 per interface counter support (#16377)
Why I did it
Support DHCP/DHCPv6 per-interface counter, code change in sonic-build image.

Work item tracking
Microsoft ADO (17271822):

How I did it
- Introduce libjsoncpp-dev in dhcpmon and dhcprelay repo
- Show CLI changes after counter format change

How to verify it
- Manually run show command
- dhcpmon, dhcprelay integration tests
2024-01-22 18:36:36 +08:00
mssonicbld
1239ef1d86
[ci/build]: Upgrade SONiC package versions (#17565) 2024-01-11 08:57:42 -08:00
mssonicbld
4cce33057f
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#17686)
src/sonic-utilities

* f5f9a858 - (HEAD -> 202205, origin/202205) [DPB] Remove the optimization logic for delete/add ports. (#2463) (7 days ago) [Aravind Mani]
2024-01-11 08:56:50 -08:00
mssonicbld
0cd76e0511
[submodule] Update submodule sonic-snmpagent to the latest HEAD automatically (#17723)
src/sonic-snmpagent

* a201154 - (HEAD -> 202205, origin/202205) Fix SNMP dropping some of the queue counter when create_only_config_db_buffers is set to true (#303) (#305) (29 hours ago) [mssonicbld]
2024-01-11 08:56:19 -08:00
zitingguo-ms
4d878b1345
Upgrade SAI version to 7.1.73.4 (#17698)
Upgrade the SAI version to 7.1.73.4 to include the following fix:

7.1.67.4: [CSP CS00012302165] Backport JIRA SONIC-77116 to rel_ocp_sai_7_1
7.1.68.4: [CSP CS00012316299][SAI_BRANCH rel_ocp_sai_7_1] L3 entry delete failed when SER error is present
7.1.69.4: ECMP LB traffic polarization, configure hash_offset along with hash_seed attr
7.1.70.4: JIRA# SONIC-79944
7.1.71.4: SID: MMU cosq control configuration with Dynamic Type Check
7.1.72.4: BACKPORT SONIC-81858 PFCWD on IPv6 JIRA# SONIC-84146]SONIC-81858
7.1.73.4: [CSP CS00012322843] SAI_API_ROUTE:brcm_sai_xgs_route_create:115 iptnl info get failed with error -7

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>
2024-01-11 08:55:27 -08:00
Lawrence Lee
2757915e4f add timeout to ping6 command (#17729)
Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
2024-01-11 12:34:27 +08:00
Volodymyr Samotiy
b085fb158f
[202205] [Mellanox] Disable SSD NCQ on Mellanox platforms (#17662) 2024-01-10 14:39:54 -08:00
mssonicbld
32d1e7ea08
[submodule] Update submodule sonic-swss to the latest HEAD automatically (#17710)
src/sonic-swss

* 97aa5463 - (HEAD -> 202205, origin/202205) [202205][routeorch] Fixing bug with multiple routes pointing to nhg  (#3006)
2024-01-10 14:38:45 -08:00
Volodymyr Samotiy
6b83742502
[202205] [Mellanox] Update MFT to 4.22.1-410 (#17675)
Signed-off-by: Volodymyr Samotiy <volodymyrs@nvidia.com>
2024-01-09 15:35:53 -08:00
mssonicbld
64e5b829fb
[Nokia-7215][armhf] Enable Watchdog service (#16612) (#17704) 2024-01-09 06:50:20 +08:00
mssonicbld
04d83c05ae
[docker_image_ctl.j2]: swss docker initialization improvements (#17628) (#17681) 2024-01-05 04:33:39 +08:00
mssonicbld
78c8f11086
Update backend_acl.py to specify ACL table name (#17553) (#17667) 2024-01-04 10:55:31 +08:00
vdahiya12
403d13aae2
[caclmgrd][DualToR] Fix a case where vlan address is not network address for DualToR Active-active configuration (#17511)
* [caclmgrd][DualToR] Fix a case where vlan address is not network address
for DualToR Active-active configuration

Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>

* add changes

Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>

* fix unit

Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>

* add c

Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>

* fix test

Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>

* add fixes unit

Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>

---------

Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
2023-12-22 12:12:04 -08:00
mssonicbld
dd6a61cea1
[submodule] Update submodule sonic-linux-kernel to the latest HEAD automatically (#17586) 2023-12-22 12:11:11 -08:00
Saikrishna Arcot
b93ccd5626
Update Linux kernel to 5.10.179 (#17569)
Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
2023-12-20 08:30:52 -08:00
mssonicbld
5a4c51aaae
[Dell] S6100 - Update EEPROM API serial_number_str to return service tag instead of serial number (#17440) (#17493)
To modify EEPROM API serial_number_str to return service tag instead of serial number in Dell S6100.
Ref PR: #1239

How I did it
Update EEPROM API serial_number_str to return service tag instead of serial number.

How to verify it
Verify decode-syseeprom -s returns service tag in Dell S6100.

Co-authored-by: Arun Saravanan Balachandran <52521751+ArunSaravananBalachandran@users.noreply.github.com>
2023-12-18 14:36:16 -08:00
mssonicbld
b278f161a9
[ci/build]: Upgrade SONiC package versions (#17541) 2023-12-18 14:25:47 -08:00
Vadym Hlushko
7294103e67
[202205][Mellanox] Add mlxtrace to techsupport (#15961) (#15982)
* [mlxtrace] Add mft-fwtrace-cfg.deb which contains fwtrace_cfg files for the mlxtrace utility

Signed-off-by: vadymhlushko-mlnx <vadymh@nvidia.com>

* [mlxtrace] Remove mlxtrace support for SPC4

Signed-off-by: vadymhlushko-mlnx <vadymh@nvidia.com>

---------

Signed-off-by: vadymhlushko-mlnx <vadymh@nvidia.com>
2023-12-18 14:24:02 -08:00
mssonicbld
603ed3e48c
[submodule] Update submodule sonic-swss to the latest HEAD automatically (#17545)
src/sonic-swss

* 19affd32 - (HEAD -> 202205, origin/202205) [muxorch][202205] Fixing cache bug in updateRoute logic (#2994) (3 hours ago) [Nikola Dancejic]
2023-12-18 13:54:39 -08:00
mssonicbld
4d5604a9e4
[submodule] Update submodule linkmgrd to the latest HEAD automatically (#17536)
src/linkmgrd

* 6fa4adb - (HEAD -> 202205, origin/202205) [active-standby] Fix `show mux status` inconsistency introduced by orchagent rollback  (#225) (#226) (2 days ago) [Jing Zhang]
2023-12-18 13:53:43 -08:00
Kebo Liu
215545516f
[202205] [Mellanox] Revert LPM implementation to the old way (#17179)
* Revert "[202205] [Mellanox] Fix issue: user must set admin down before toggling LPM (#14370)"

This reverts commit f74c69e876.

* update copyright header

Signed-off-by: Kebo Liu <kebol@nvidia.com>
2023-12-12 08:41:04 -08:00
Nazarii Hnydyn
489795344a
[mellanox]: Disable MFT bash autocompletion. (#17362)
Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>
2023-12-12 08:40:20 -08:00
mssonicbld
3a191221f6
[submodule] Update submodule sonic-platform-common to the latest HEAD automatically (#17451)
src/sonic-platform-common

* 39ade8d - (HEAD -> 202205, origin/202205) [Credo][Ycable] Remove the thread locker protection from the thread-safe APIs (#388) (4 days ago) [Xinyu Lin]
2023-12-12 08:39:30 -08:00
mssonicbld
23a59cb28d
[submodule] Update submodule sonic-dbsyncd to the latest HEAD automatically (#17449)
src/sonic-dbsyncd

* cde84fa - (HEAD -> 202205, origin/202205) [lldp-syncd] Fix unexpected exception in snmp-subagent (#64) (4 days ago) [Zhaohui Sun]
2023-12-12 08:38:55 -08:00
Volodymyr Samotiy
185b03e9c2
[202205] [Mellanox] Update SAI to 2205.25.1.27 (#17444)
Signed-off-by: Volodymyr Samotiy <volodymyrs@nvidia.com>
2023-12-12 08:38:17 -08:00
anamehra
e754b3b32c
Fixed determine/process reboot-cause service dependency (#17462)
Signed-off-by: anamehra <anamehra@cisco.com>
2023-12-11 13:17:40 -08:00
mssonicbld
83a3562892
[submodule] Update submodule sonic-platform-daemons to the latest HEAD automatically (#17453) 2023-12-10 14:35:24 +08:00
mssonicbld
1f14283add
[ci/build]: Upgrade SONiC package versions (#17388) 2023-12-06 10:11:01 -08:00
Ying Xie
ac32685247
Revert "[pmon] update gRPC version to 1.57.0 (#16257) (#17218)" (#17390)
This reverts commit 6b4bad0ab1.
2023-12-04 11:06:10 -08:00
mssonicbld
5ad93e6a88
[ci/build]: Upgrade SONiC package versions (#17144) 2023-11-30 13:39:21 -08:00
vdahiya12
6b4bad0ab1
[pmon] update gRPC version to 1.57.0 (#16257) (#17218)
* [pmon] update gRPC version to 1.57.0 (#16257)

Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>

* fix conflict

Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>

---------

Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
2023-11-30 13:38:52 -08:00
mssonicbld
c18b3f9947
[chassis/arista]: Increase LAG Ids to 1024 (#10519) (#17241)
Why I did it
Today at most 128 LAGs are supported. This is not sufficient if there are many LAGs with just few ports.

How I did it
Increase LAG Ids to 1024 for DNX device.

Co-authored-by: Song Yuan <64041228+ysmanman@users.noreply.github.com>
2023-11-30 13:36:28 -08:00
mssonicbld
6a5195ebd6
Revert iBGP GTSM feature for VOQ Chassis (#17037) (#17347)
What I did:

Revert the GTSM feature for VOQ iBGP session done as part of #16777.

Why I did:
On VOQ chassis BGP packets go over Recycle Port and then for Ingress Pipeline Routing making ttl as 254 and failing single hop check.

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
Co-authored-by: abdosi <58047199+abdosi@users.noreply.github.com>
2023-11-30 13:35:59 -08:00
mssonicbld
400717d392
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#17353)
src/sonic-utilities

* 8765fcef - (HEAD -> 202205, origin/202205) [GCU Bug Fix] Cherry-pick RDMA Platform Validator PR to 202205 (#3051) (3 hou
2023-11-30 13:35:18 -08:00
Arvindsrinivasan Lakshmi Narasimhan
63b6dedfcf
change the max lag_id to 1024 (#17336) 2023-11-29 10:09:07 -08:00
mssonicbld
530bc16005
[submodule] Update submodule sonic-swss to the latest HEAD automatically (#17329)
#### Why I did it
src/sonic-swss
```
* fbab6b75 - (HEAD -> 202205, origin/202205) [Chassis][202205][orchagent] : Support WRED profiles on system ports (#2945) (9 hours ago) [vmittal-msft]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2023-11-29 16:34:32 +08:00
zitingguo-ms
edd094593c
Fix device type and add cluster in DEVICE_NEIGHBOR_METADATA yang model (#17049) (#17251)
Why I did it
The current DEVICE_NEIGHBOR_METADATA yang model has two issues that would block GCU operation when it checks if the current config aligns with the YANG model:

Missing cluster field in YANG
Incomplete set of device type. The device type in YANG model doesn't include all the device type.
Work item tracking
Microsoft ADO (number only): 25577813
How I did it
Add cluster field in DEVICE_NEIGHBOR_METADATA YANG model.
Change device type to string.
Fix the UT test accordingly.
How to verify it
Build the image and verify the unit tests passed.

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>
2023-11-27 18:06:37 -08:00
mssonicbld
03fd20410a
[Nokia][Nokia-IXR7250E-SUP-10] Update BCM config for supervisor card to reduce the CPU usage (#16790) (#17307) 2023-11-28 05:19:21 +08:00
JunhongMao
d917c6d169 [VOQ][saidump] Install rdbtools into the docker base related containers. (#16466)
Fix #13561

The existing saidump use https://github.com/sonic-net/sonic-swss-common/blob/master/common/table_dump.lua script which loops the ASIC_DB more than 5 seconds and blocks other processes access.

This solution uses the Redis SAVE command to save the snapshot of DB each time and recover later, instead of looping through each entry in the table.

Related PRs:
sonic-net/sonic-utilities#2972
sonic-net/sonic-sairedis#1288
sonic-net/sonic-sairedis#1298

How did I do it?
To use the Redis-db SAVE option to save the snapshot of DB each time and recover later, instead of looping through each entry in the table and saving it.

1. Updated dockers/docker-base-bullseye/Dockerfile.j2, install Python library rdbtools into the all the docker-base-bullseye containers.

2. Updated sonic-buildimage/src/sonic-sairedis/saidump/saidump.cpp, add a new option -r, which updates the rdbtools's output-JSON files' format.

3. To add a new script file: syncd/scripts/saidump.sh into the sairedis repo. This shell script does the following steps:

  For each ASIC, such as ASIC0,

  3.1. Config Redis consistency directory. 
  redis-cli -h $hostname -p $port CONFIG SET dir $redis_dir > /dev/null

  3.2. Save the Redis data.
  redis-cli -h $hostname -p $port SAVE > /dev/null

  3.3. Run rdb command to convert the dump files into JSON files
    rdb --command json $redis_dir/dump.rdb | tee $redis_dir/dump.json > /dev/null

  3.4.  Run saidump -r to update the JSON files' format as same as the saidump before. 
       Then we can get the saidump's result in standard output."
       saidump -r $redis_dir/dump.json -m 100

  3.5. Clear the temporary files.
   rm -f $redis_dir/dump.rdb
   rm -f $redis_dir/dump.json

4. Update sonic-buildimage/src/sonic-utilities/scripts/generate_dump. To check the asic db size and if it is larger than ROUTE_TAB_LIMIT_DIRECT_ITERATION (with default value 24000) entries, then do with REDIS SAVE, otherwise, to do with old method: looping through each entry of Redis DB.

How to verify it
On T2 setup with more than 96K routes, execute CLI command -- generate_dump
No error should be shown
Download the generate_dump result and verify the saidump file after unpacking it.
2023-11-21 12:34:06 +08:00
Junhua Zhai
0d4710ec07 [gearbox] use credo sai v0.9.3 (#16860)
Update credo sai package to the latest v0.9.3, which fixes the issue aristanetworks/sonic#92.
2023-11-21 10:41:57 +08:00
Deepak Singhal
894046e199
Disable systemd auto-restart of dependent services for spineRouters (#17203)
Currently hostcfgd script overrides the systemd service files of the features depending upon auto_restart enable/disable.
I am skipping dependent features(syncd, gbsyncd for now) to have "RESTART=Always"
for them to not start immediately, and instead get started by SWSS through swss.sh script.
The issue of syncd double stop is also applicable to pizza box platforms, however no traffic impact is seen there, whereas on VOQ chassis, we do see traffic impact due to early start of syncd service.
2023-11-20 14:38:20 -08:00
judyjoseph
f59dc50eae
[brcm]: Update Brcm SAI for DNX platforms (#17108)
Update the Brcm SAI 7.0 with following fixes

Offical Brcm SDK fix for memory leak
(CS00012315073 [7.0][J2C+] : PFCWD counter polling causing continuous mem leak on production device)

Official Brcm fix for CPU high
(CS00012317195 High CPU due to SDK calling soc_dnxc_port_resource_get for few stats counters even with bcmCNTR thread)

Offical Brcm SAI fix for getting voq counters working.
CSP CS00012319503: DNX SAI 7.1.60.4 has broken Voq counters support

How to verify it
Validated by running the nightly pipeline on a chassis platform.

Validated that the voq counters, by sensind traffic from T1 VM --> T3 VM 

                              Port    Voq    Counter/pkts    Counter/bytes    Drop/pkts    Drop/bytes
----------------------------------  -----  --------------  ---------------  -----------  ------------
svcstr-xxxx-lc1-1|asic0|Ethernet48   VOQ0               0                0            0             0
svcstr-xxxx-lc1-1|asic0|Ethernet48   VOQ1              27             1968            0             0
svcstr-xxxx-lc1-1|asic0|Ethernet48   VOQ2               0                0            0             0
svcstr-xxxx-lc1-1|asic0|Ethernet48   VOQ3               0                0            0             0
svcstr-xxxx-lc1-1|asic0|Ethernet48   VOQ4               0                0            0             0
svcstr-xxxx-lc1-1|asic0|Ethernet48   VOQ5               0                0            0             0
svcstr-xxxx-lc1-1|asic0|Ethernet48   VOQ6               0                0            0             0
svcstr-xxxx-lc1-1|asic0|Ethernet48   VOQ7               0                0            0             0
 
                              Port    Voq    Counter/pkts    Counter/bytes    Drop/pkts    Drop/bytes
----------------------------------  -----  --------------  ---------------  -----------  ------------
svcstr-xxxx-lc1-1|asic0|Ethernet56   VOQ0               0                0            0             0
svcstr-xxxx-lc1-1|asic0|Ethernet56   VOQ1            7099           625680            0             0
svcstr-xxxx-lc1-1|asic0|Ethernet56   VOQ2               0                0            0             0
svcstr-xxxx-lc1-1|asic0|Ethernet56   VOQ3               0                0            0             0
svcstr-xxxx-lc1-1|asic0|Ethernet56   VOQ4               0                0            0             0
svcstr-xxxx-lc1-1|asic0|Ethernet56   VOQ5               0                0            0             0
svcstr-xxxx-lc1-1|asic0|Ethernet56   VOQ6               0                0            0             0
svcstr-xxxx-lc1-1|asic0|Ethernet56   VOQ7               0                0            0             0

---------------

The CPU usage has come down in SUP

System 'xxxx-sup-1'
  status                       Running
  monitoring status            Monitored
  monitoring mode              active
  on reboot                    start
  load average                 [7.94] [8.70] [7.54]
  cpu                          2.6%us 45.0%sy 0.0%wa     <<<<-- it is 45%
  memory usage                 8.9 GB [28.6%]
  swap usage                   0 B [0.0%]
  uptime                       21m
  boot time                    Fri, 17 Nov 2023 21:55:55
  data collected               Fri, 17 Nov 2023 22:16:59

-------------

syncd memory usage no increasing.
2023-11-17 14:50:59 -08:00
Lawrence Lee
2765e8020f
[tph]: Detect LAG flaps from APPL_DB (#16879) (#17156)
Why I did it
A race condition exists while the TPH is processing a netlink message - if a second netlink message arrives during processing it will be missed since TPH is not listening for other messages.
Another bug was found where TPH was unnecessarily restarting since it was checking admin status instead of operational status of portchannels.

How I did it
Subscribe to APPL_DB for updates on LAG operational state
Track currently sniffed interfaces

How to verify it
Send tunnel packets with destination IP of an unresolved neighbor, verify that ping commands are run
Shut down a portchannel interface, verify that sniffer does not restart
Send tunnel packets, verify ping commands are still run
Bring up portchannel interface, verify that sniffer restarts

Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
2023-11-15 11:02:10 -08:00
wadoodkhan
c289af56d4
[Marvell] Update armhf sai debian (#17091)
Signed-off-by: Wadood A. Khan <wkhan@marvell.com>
2023-11-08 18:51:17 -08:00
mssonicbld
35c855bfa6
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#17116)
src/sonic-utilities

* 5d3c563a - (HEAD -> 202205, origin/202205) [dualtor_neighbor_check] Adjust zero-mac check condition (#3034) (5 minutes ago) [Longxiang Lyu]
2023-11-08 08:25:07 -08:00
mssonicbld
ff7e1967de
[ci/build]: Upgrade SONiC package versions (#17095) 2023-11-07 08:02:58 -08:00