Commit Graph

7931 Commits

Author SHA1 Message Date
mssonicbld
b54996246a
[submodule] Update submodule sonic-gnmi to the latest HEAD automatically (#17690) 2024-01-06 01:00:55 +08:00
mssonicbld
02dc49a3cc
[submodule] Update submodule linkmgrd to the latest HEAD automatically (#17687) 2024-01-05 15:14:43 +08:00
mssonicbld
0d31ee8d4a
Update TELEMETRY_CLIENT YANG model (#16861) (#17679) 2024-01-05 02:39:03 +08:00
mssonicbld
df22ca9132
[Arista] Remove aggregate port config files for multi-asic devices (#16923) (#17678) 2024-01-05 01:04:39 +08:00
mssonicbld
ca2695f4b8
password-hardening: Add support to disable expiration date like in Linux (PAM) (#17426) (#17674) 2024-01-05 00:44:19 +08:00
mssonicbld
388457aaf8
[arp_update]: Flush neighbors with incorrect MAC info (#17238) (#17677) 2024-01-05 00:35:07 +08:00
mssonicbld
38c5e6825d
Fix can't access IPV6 address via management interface because 'default' route table does not add to route lookup issue. (#17281) (#17676) 2024-01-05 00:32:38 +08:00
mssonicbld
76d8ff06b3
Update backend_acl.py to specify ACL table name (#17553) (#17673) 2024-01-04 23:10:28 +08:00
mssonicbld
b72a74047e
[docker_image_ctl.j2]: swss docker initialization improvements (#17628) (#17672) 2024-01-04 22:37:26 +08:00
mssonicbld
609b3a7646
[image_config]: Update DHCP rate-limit for mgmt TOR devices (#17630) (#17671) 2024-01-04 22:29:00 +08:00
mssonicbld
8362c096a3
[submodule] Update submodule sonic-swss to the latest HEAD automatically (#17642) 2024-01-02 15:13:53 +08:00
Stepan Blyshchak
3cb6343311
[202305] Revert bgp suppress fib pending (#17578)
DEPENDS ON: sonic-net/sonic-swss#2997 sonic-net/sonic-utilities#3093

What I did

Revert the feature.

Why I did it

Revert bgp suppress FIB functionality due to found FRR memory consumption issues and bugs.

How I verified it

Basic sanity check on t1-lag, regression in progress.
2024-01-02 08:59:17 +08:00
mssonicbld
64ed3d5b78
Fix system-health hardware_checker to consume fan tolerance details (#16689) (#17640) 2024-01-01 10:31:33 +08:00
mssonicbld
98ad3b0a6c
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#17643) 2023-12-31 17:01:53 +08:00
mssonicbld
1398daa1ef
[submodule] Update submodule sonic-platform-daemons to the latest HEAD automatically (#17641) 2023-12-31 15:20:25 +08:00
mssonicbld
fb83d4d82f
[Mellanox] wait until hw-management watchdog files ready (#17618) (#17633) 2023-12-29 01:07:45 +08:00
Junchao-Mellanox
a8ad19d4ac
[202305] Optimize syslog rate limit feature for fast and warm boot (#17478)
Backport PR #17458 due to conflict.

Why I did it
Optimize syslog rate limit feature for fast and warm boot

Work item tracking
Microsoft ADO (number only):
How I did it
Optimize redis start time
Don't render rsyslog.conf in container startup script
Disable containercfgd by default. There is a new CLI to enable it (in another PR)
How to verify it
Manual test
Regression test
2023-12-28 20:53:49 +08:00
mssonicbld
690c4c5d36
Fix the fsck script that does filesystem repair (#17424) (#17621) 2023-12-26 19:58:48 +08:00
Zhijian Li
8dc43a6c72
[202305][Celestica-E1031] Enable CPU watchdog (#17415)
* [Celestica-E1031] Enable CPU watchdog (#16083)

Enable CPU watchdog on Celestica-E1031.

* Add info syslog for cpu_wdt.service (#16678)

Why I did it
Add info syslog for cpu_wdt.service when trigger watchdog arm action.

How I did it
Add info syslog for cpu_wdt.service when trigger watchdog arm action.
2023-12-26 15:46:00 +08:00
mssonicbld
79ddd800f2
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#17619) 2023-12-26 15:09:51 +08:00
anamehra
98e3dd131e
Update cisco-8000.ini (#17607)
Why I did it
Release notes for Cisco 8111-32EH-O, 8102-64H-O and 8101-32FH-O:
• Fixed a bug in PFC-WD where watchdog is triggered too often when sparse traffic is present, failing to detect the traffic traversal - (SR 696617830)
• Resolved an issue where SAI_STATUS_ITEM_NOT_FOUND error was seen while adding LAG members - (MIGSMSFT-354)
• Fixed Thermal API related error message (MIGSMSFT-354)
• Fixed an issue related to default config trap - (MIGSMSFT-354)
• Changed the message log level from error to debug in situations when the HW offloaded session is not found or was never created for the packet received. (MIGSMSFT-354)
• Fixed an issue where drop option was not working when encap and decap IPinIP tunnels share the same SDK tunnel port.
• Fixed an error while running VRF testcase (MIGSMSFT-354)
• Fixed an issue where BFD packets not egressing using Queue 7
• SAI support for additional FEC related attributes:
· SAI_PORT_ATTR_MAX_FEC_SYMBOL_ERRORS_DETECTABLE
· SAI_PORT_STAT_IF_IN_FEC_CODEWORD_ERRORS_S0
. SAI_PORT_STAT_IF_IN_FEC_CODEWORD_ERRORS_S16

Work item tracking
Microsoft ADO (number only):
2023-12-25 09:45:05 +08:00
mssonicbld
187bdaf190
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#17595) 2023-12-22 12:13:32 -08:00
Ying Xie
415c0b7de2
[202305][yang][sonic-utilities] update sonic DB version pattern (#17602)
Supports:
- old version: version_a_b_c
- new version: version_<branch>_<nn>

sonic-utilities:
* b0908bd7 2023-12-21 | [202305][db_migrator] add db migrator version space for 202305/202311 branch (#3084) (HEAD -> 202305, github/202305) [Ying Xie]
* 8f343ebb 2023-08-16 | [GCU] Add PORT table StateDB Validator (#2936) [isabelmsft]

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2023-12-22 11:23:48 -08:00
mssonicbld
40488d3797
[submodule] Update submodule sonic-swss to the latest HEAD automatically (#17593)
#### Why I did it
src/sonic-swss
```
* 5643db9a - (HEAD -> 202305, origin/202305) [muxorch] Fixing cache bug in updateRoute logic (#2982) (6 hours ago) [Nikola Dancejic]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2023-12-22 06:32:20 +08:00
mssonicbld
223f048b0a
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#17590) 2023-12-21 15:55:02 +08:00
mssonicbld
833bb4ae61
[submodule] Update submodule sonic-swss to the latest HEAD automatically (#17589) 2023-12-21 15:37:22 +08:00
mssonicbld
cb8886a212
[submodule] Update submodule sonic-host-services to the latest HEAD automatically (#17587) 2023-12-21 15:10:18 +08:00
kellyyeh
58dcf7f6fc
[202305] Advance dhcprelay and dhcpmon submodule (#17584)
sonic-dhcp-relay
5ae186f Yaqiang Zhu Tue Dec 19 12:05:15 2023 -0500 [counter] Clear counter table when init (#45)
40c6877 Jing Zhang Fri Nov 10 12:41:23 2023 -0800 [CodeQL] fix unmet dependency for build-swss-common (#44)

sonic-dhcpmon
7c55e50 StormLiangMS Thu Sep 14 09:57:06 2023 +0800 Merge pull request #13 from jcaiMR/dev/jcai_master_interface_counter
085a087 jcaiMR Mon Sep 11 09:17:03 2023 +0000 refine counting logic
2023-12-20 22:48:12 -08:00
mssonicbld
109035e511
[Arista] Use port_config.ini for Arista-7050QX-32S-S4Q31 (#17253) (#17574) 2023-12-20 19:34:42 +08:00
mssonicbld
bf62b6ac29
[submodule] Update submodule linkmgrd to the latest HEAD automatically (#17554) 2023-12-20 10:49:04 +08:00
mssonicbld
668a3e0b80
[submodule] Update submodule sonic-platform-daemons to the latest HEAD automatically (#17555) 2023-12-20 10:41:23 +08:00
Junchao-Mellanox
9240bcb5b1
[Mellanox] Fix race condition while creating SFP (#17544)
Why I did it
Fix issue xcvrd crashes due to cannot import name 'initialize_sfp_thermal':

Nov 27 09:47:16.388639 sonic ERR pmon#xcvrd: Exception occured at CmisManagerTask thread due to ImportError("cannot import name 'initialize_sfp_thermal' from partially initialized module 'sonic_platform.thermal' (most likely due to a circular import) (/usr/local/lib/python3.9/dist-packages/sonic_platform/thermal.py)")
Nov 27 09:47:16.392544 sonic ERR pmon#xcvrd: Traceback (most recent call last):
Nov 27 09:47:16.392643 sonic ERR pmon#xcvrd:   File "/usr/local/lib/python3.9/dist-packages/xcvrd/xcvrd.py", line 1518, in run
Nov 27 09:47:16.392757 sonic ERR pmon#xcvrd:     self.task_worker()
Nov 27 09:47:16.392757 sonic ERR pmon#xcvrd:   File "/usr/local/lib/python3.9/dist-packages/xcvrd/xcvrd.py", line 1240, in task_worker
Nov 27 09:47:16.392757 sonic ERR pmon#xcvrd:     sfp = platform_chassis.get_sfp(pport)
Nov 27 09:47:16.392793 sonic ERR pmon#xcvrd:   File "/usr/local/lib/python3.9/dist-packages/sonic_platform/chassis.py", line 346, in get_sfp
Nov 27 09:47:16.392830 sonic ERR pmon#xcvrd:     self.initialize_single_sfp(index)
Nov 27 09:47:16.392830 sonic ERR pmon#xcvrd:   File "/usr/local/lib/python3.9/dist-packages/sonic_platform/chassis.py", line 288, in initialize_single_sfp
Nov 27 09:47:16.392830 sonic ERR pmon#xcvrd:     self._sfp_list[index] = sfp_module.SFP(index)
Nov 27 09:47:16.392830 sonic ERR pmon#xcvrd:   File "/usr/local/lib/python3.9/dist-packages/sonic_platform/sfp.py", line 272, in __init__
Nov 27 09:47:16.392866 sonic ERR pmon#xcvrd:     from .thermal import initialize_sfp_thermal
Nov 27 09:47:16.392918 sonic ERR pmon#xcvrd: ImportError: cannot import name 'initialize_sfp_thermal' from partially initialized module 'sonic_platform.thermal' (most likely due to a circular import) (/usr/local/lib/python3.9/dist-packages/sonic_platform/thermal.py)
Nov 27 09:47:16.393103 sonic ERR pmon#xcvrd: Xcvrd: exception found at child thread CmisManagerTask due to ImportError("cannot import name 'initialize_sfp_thermal' from partially initialized module 'sonic_platform.thermal' (most likely due to a circular import) (/usr/local/lib/python3.9/dist-packages/sonic_platform/thermal.py)")
Nov 27 09:47:16.393103 sonic ERR pmon#xcvrd: Exiting main loop as child thread raised exception!
Work item tracking
Microsoft ADO (number only):
How I did it
Add lock for creating SFP object

How to verify it
UNIT TEST
Manual Test
2023-12-19 19:52:42 +08:00
mssonicbld
7f03584d9d
Fix syncd_request_shutdown coredump in config reload on KVM sonic (#17486) (#17564) 2023-12-19 19:02:31 +08:00
mssonicbld
d7ba0608ba
[gbsyncd] Graceful shutdown of syncd process in container gbsyncd (#16812) (#17523) 2023-12-17 22:39:08 +08:00
anamehra
4595db4666
Fixed determine/process reboot-cause service dependency (#17406)
Signed-off-by: anamehra anamehra@cisco.com

Why I did it
Fixes #16990 for 202305/202205 branch

Note: This PR is for 202305 and 202205. For master, a new PR will be raised with a new field (Uphold=) provided by debian bookworm to handle the dependency failure restartability of the processes.

determine-reboot-cause and process-reboot-cause service does not start If the database service fails to restart in the first attempt. Even if the Database service succeeds in the next attempt, these reboot-cause services do not start.

The process-reboot-cause service also does not restart if the docker or database service restarts, which leads to an empty reboot-cause history

deploy-mg from sonic-mgmt also triggers the docker service restart. The restart of the docker service caused the issue stated in 2 above. The docker restart also triggers determine-reboot-cause to restart which creates an additional reboot-cause file in history and modifies the last reboot-cause.

This PR fixes these issues by making both processes start again when dependency meets after dependency failure, making both processes restart when the database service restarts, and preventing duplicate processing of the last reboot reason.

Work item tracking
Microsoft ADO 25892856
How I did it
Modified systemd unit files to make determine-reboot-cause and process-reboot-cause services restartable when the database service restarts.
On the restart, the determine-reboot-cause service should not recreate a new reboot-cause entry in the database. Added check for first start or restart to skip entry for restart case.
How to verify it
On single asic pizza box:

Installed the image and check reboot-cause history
restart database service and verify that determine-reboot-cause and process-reboot-cause services also restart. Verify that reboot-cause shows correct data and no new entry is created for restart.
On Chassis:

Installed the image and check reboot-cause history
restart the database service and verify that determine-reboot-cause and process-reboot-cause services also restart. Verify that reboot-cause shows correct data and no new entry is created for restart.
Reboot LC. On Supervicor, stop database-chassis service.
Let database service on LC fail the first time. determine-reboot-cause and process-reboot-cause would fail to start due to dependency failure
start database-chassis on Supervisor. Database service on LC should now start successfully.
Verify determine-reboot-cause and process-reboot-cause also starts
Verify show reboot-cause history output
2023-12-17 20:48:15 +08:00
mssonicbld
fc4574bcfc
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#17542) 2023-12-17 15:20:16 +08:00
mssonicbld
2858cfa240
[submodule] Update submodule sonic-snmpagent to the latest HEAD automatically (#17540) 2023-12-16 15:55:48 +08:00
mssonicbld
14ea72f378
[submodule] Update submodule sonic-sairedis to the latest HEAD automatically (#17539) 2023-12-16 15:44:27 +08:00
mssonicbld
07860da103
[submodule] Update submodule sonic-platform-common to the latest HEAD automatically (#17538) 2023-12-16 15:30:31 +08:00
mssonicbld
df10bfba16
[submodule] Update submodule sonic-host-services to the latest HEAD automatically (#17537) 2023-12-16 15:08:10 +08:00
Pavan-Nokia
c4ba9c9edb [armhf][Nokia-7215] Remove platform reboot (#17010) 2023-12-16 12:33:36 +08:00
mssonicbld
9c8dbf6f1b
[Dell] S6100 - Update EEPROM API serial_number_str to return service tag instead of serial number (#17440) (#17494) 2023-12-16 01:44:16 +08:00
mssonicbld
b16e2da1be
[installer] Create a blank grubenv if doesn't exist. (#17414) (#17525) 2023-12-16 01:40:44 +08:00
mssonicbld
6dba9f8305
Change leaf value of used_cnt of sonic-events-swss:chk_crm_threshold (#17430) (#17527) 2023-12-16 01:36:36 +08:00
mssonicbld
c49d7c5417
[Nokia-7215][armhf] Enable Watchdog service (#16612) (#17522) 2023-12-16 01:35:16 +08:00
mssonicbld
c63a4c6a4a
[Mellanox][SKU] Adding Mellanox-SN4700-O8V48 SKU (#17425) (#17526) 2023-12-16 01:32:50 +08:00
zitingguo-ms
1a0268c224
Fix ecmp hash polarization by enable hash seed/offset config on T1 and upgrade xgs SAI to 8.4.35.0 (#17505)
Why I did it
To fix ecmp hash polarization issue.

Work item tracking
Microsoft ADO (number only): 26085143
How I did it
Add sai_hash_seed_config_hash_offset_enable=1 in all config.bcm that Broadcom T1 uses.

HardwareSku
Force10-S6100-T1
Force10-S6100-ITPAC-T1
Force10-S6100
Celestica-DX010-C32
Arista-7260CX3-C64
Arista-7060CX-32S-Q32
Arista-7060CX-32S-C32-T1
Arista-7060CX-32S-C32
Arista-7050QX32S-Q32
Arista-7050QX-32S-S4Q31
Arista-7050-QX32
Arista-7050-QX-32SInclude Broadcom's fix by upgrading xgs SAI version to 8.4.35.0.
8.4.35.0: [CSP 00012324019] back-porting SONIC-75006 to SAI8.4
8.4.34.0:
[CSP 00012318293] back-porting SONIC-81534 to SAI8.4;
ECMP LB traffic polarization, configure hash_offset along with hash_seed attr
Run qual with only xgs SAI version upgraded to 8.4.35.0:
on TH2: https://elastictest.org/scheduler/testplan/6579b36ccfacd86e78e3e885?leftSideViewMode=detail&prop=status&order=ascending
on TH: https://elastictest.org/scheduler/testplan/657a75f8c1d3b51fc1d585b4?leftSideViewMode=detail&prop=status&order=ascending

How to verify it
use tests/ecmp/test_ecmp_sai_value.py to verify.
2023-12-15 19:33:47 +08:00
mssonicbld
571efc2f3a
[submodule] Update submodule sonic-swss to the latest HEAD automatically (#17515) 2023-12-15 15:18:42 +08:00
mssonicbld
b09e7d1b6b
[gbsyncd]: Set SYSLOG_CONFIG_FEATURE for gbsyncd (#17325) (#17513) 2023-12-15 14:54:26 +08:00
Sudharsan Dhamal Gopalarathnam
8297800a5e [FRR] Fix zebra memory leak when bgp fib suppress pending is enabled (#17484)
Fix zebra leaking memory with fib suppress enabled. Porting the fix from
FRRouting/frr#14983

While running test_stress_route.py, systems with lower memory started to throw low memory logs. On further investigation, a memory leak has been found in zebra which was fixed in the FRR community.
2023-12-15 14:34:37 +08:00