Commit Graph

7176 Commits

Author SHA1 Message Date
lixiaoyuner
fb14b987b4 Add health check probe for k8s upgrade containers. (#15223)
#### Why I did it
After k8s upgrade a container, k8s can only know the container is running, don't know the service's status inside container. So we need a probe inside container, k8s will call the probe to check whether the container is really ready.
##### Work item tracking
- Microsoft ADO **(number only)**: 22453004
#### How I did it
Add a health check probe inside config engine container, the probe will check whether the start service exit normally or not if the start service exists and call the python script to do container self-related specific checks if the script is there. The python script should be implemented by feature owner if it's needed.

more details: [design doc](https://github.com/sonic-net/SONiC/blob/master/doc/kubernetes/health-check.md)
#### How to verify it
Check path /usr/bin/readiness_probe.sh inside container.

#### Which release branch to backport (provide reason below if selected)

- [ ] 201811
- [ ] 201911
- [ ] 202006
- [ ] 202012
- [ ] 202106
- [ ] 202111
- [x] 202205
- [x] 202211

#### Tested branch (Please provide the tested image version)
- [x] 20220531.28
2023-07-14 04:32:45 +08:00
mssonicbld
9cd3319495
Pick dependency files in submodules. (#15142) (#15827) 2023-07-14 04:30:32 +08:00
zitingguo-ms
e73924ebc9
Upgrade XGS SAI version to 7.1.54.4 (#15820)
Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>
2023-07-13 09:13:34 -07:00
mssonicbld
2d39daf95f
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#15809)
src/sonic-utilities

* 20853a6f - (HEAD -> 202205, origin/202205) Revert "[GCU Feature Update] Cherry-pick Platform Validator PR to 202205  (#2883)" (#2908) (6 hours ago) [isabelmsft]
2023-07-13 08:27:51 -07:00
mssonicbld
7c6a1612d1
[ci/build]: Upgrade SONiC package versions (#15766) 2023-07-13 08:27:25 -07:00
James An
c39e370592
Update cisco-8000.ini (#15813) 2023-07-13 08:26:36 -07:00
mssonicbld
365afbb3f0
Move /var/log to RAM for Mellanox SN2700, Nokia 7215 and Dell S6100 (#15077) (#15804) 2023-07-13 05:01:14 +08:00
mssonicbld
6f19e12bb2
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#15754) 2023-07-08 11:57:20 -07:00
mssonicbld
7e5156b64c
[ci/build]: Upgrade SONiC package versions (#15760) 2023-07-08 09:45:59 -07:00
Zhaohui Sun
186aad7aa0
[202205]Fix caclmgrd crash issue when applying scale cacl rules (#15763)
Signed-off-by: Zhaohui Sun <zhaohuisun@microsoft.com>
2023-07-08 09:44:48 -07:00
mssonicbld
2a6c18008b
[submodule] Update submodule sonic-swss to the latest HEAD automatically (#15753)
src/sonic-swss

* 4a3af63d - (HEAD -> 202205, origin/202205) Allow NOT_IMPLEMENTED sai return status for availability monitoring API (#2848) (6 hours ago) [Tejaswini Chadaga]
2023-07-08 09:43:15 -07:00
mssonicbld
a82ec3a8de
Upgrade sonic-fips packages (#15400) (#15750) 2023-07-08 09:52:03 +08:00
mssonicbld
693273b0d2
[submodule] Update submodule sonic-platform-daemons to the latest HEAD automatically (#15749)
src/sonic-platform-daemons

* 112656c - (HEAD -> 202205, origin/202205) [ycabled][active-active] no initialize Async Client, when no active-active cable type; fix names for all ycabled threads (#373) (4 minutes ago) [vdahiya12]
* e325d5a - Revert "Revert "[ycabled] correct the wrong function call for 'config hwmode state' (#372)"" (4 minutes ago) [Ying Xie]
* ddabca1 - Revert "Revert "[dualtor] Fix command `show mux status` (#371)"" (4 minutes ago) [Ying Xie]
* 28918da - Revert "Revert "[ycabled] fix bug for `show mux status` delayed response (#364)"" (4 minutes ago) [Ying Xie]
* a849de9 - Revert "Revert "add async notification support in active-active topo; refactor code for ycable tasks for change events  (#327)"" (4 minutes ago) [Ying Xie]
* cf1e73a - Revert "Revert "[ycabled] refactor code for onboarding async client changes;refactor (#355)"" (4 minutes ago) [Ying Xie]
2023-07-07 18:41:27 -07:00
mssonicbld
d66b4a64d2
[submodule] Update submodule sonic-platform-common to the latest HEAD automatically (#15748)
src/sonic-platform-common

* 56f227a - (HEAD -> 202205, origin/202205) More prevention of fatal exception caused by VDM dictionary missing fields when a transceiver has just been pulled (#376) (3 hours ago) [snider-nokia]
2023-07-07 18:40:36 -07:00
mssonicbld
d1a9a1fc69
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#15738)
src/sonic-utilities

* b9320928 - (HEAD -> 202205, origin/202205) [db_migrator] Set correct CURRENT_VERSION, extend UT (#2894) (24 hours ago) [Vadym Hlushko]
2023-07-07 18:40:02 -07:00
mssonicbld
06a3949480
Revert "[gearbox] use credo sai v0.9.0 (#14149)" (#15708) (#15752) 2023-07-08 08:23:35 +08:00
mssonicbld
2d1efaec67
Revert "Revert "Fix for fast/cold-boot: call db_migrator only after old config is loaded (#14933)" (#15464)" (#15684) (#15746) 2023-07-08 07:21:28 +08:00
mssonicbld
6f6db96634
[ci/build]: Upgrade SONiC package versions (#15700) 2023-07-07 14:27:19 -07:00
lixiaoyuner
6922edba80
Move k8s script to docker-config-engine (#14788) (#15740)
Why I did it
To reduce the container's dependency from host system

Work item tracking
Microsoft ADO (number only):
17713469
How I did it
Move the k8s container startup script to config engine container, other than mount it from host.

How to verify it
Check file path(/usr/share/sonic/scripts/container_startup.py) inside config engine container.

Signed-off-by: Yun Li <yunli1@microsoft.com>
Co-authored-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2023-07-07 09:22:58 -07:00
mssonicbld
a66d4699f2
[Nokia][sonic-platform] Update Nokia sonic-platform submodule (#15239) (#15710) 2023-07-04 11:00:05 +08:00
mssonicbld
7952fe7f4d
[arp_update]: Fix IPv6 neighbor race condition (#15583) (#15694) 2023-07-01 10:21:55 +08:00
Senthil Kumar Guruswamy
9e512bd94c
CherryPick PR#15212 to 202205 (#15662)
How I did it
Free up Multiprocessing Manager resource at task stop request
[self.mpmgr.shutdown() in task_stop]

How to verify it
time systemctl stop system-health.service
2023-06-30 14:59:25 -07:00
mssonicbld
d755b39504
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#15680)
src/sonic-utilities

* 517ba4d4 - (HEAD -> 202205, origin/202205) [chassis][multi asic] change acl_loader to use tcp socket for db communication (#2525) (6 hours ago) [Arvindsrinivasan Lakshmi Narasimhan]
2023-06-30 13:54:26 -07:00
mssonicbld
69abf1e871
[submodule] Update submodule sonic-sairedis to the latest HEAD automatically (#15678)
src/sonic-sairedis

* 82a132f - (HEAD -> 202205, origin/202205) [warmboot] Add workaround for `INIT_VIEW` failure  (#1252) (6 hours ago) [Jing Zhang]
* c901fa8 - [202205] Use SAI_STATUS_ITEM_NOT_FOUND when key not found (#1237) (20 hours ago) [Lawrence Lee]
2023-06-30 13:54:02 -07:00
mssonicbld
a4a084f812
[mlnx-ffb.sh] Update issu-version location (#14925) (#15673)
#### Why I did it

ISSU version check fails due to inability to mount squashfs from 202211 on 201911

#### How I did it

Put ISSU version file under platform directory

#### How to verify it

Warm-upgrade matrix:
- 201911 (with https://github.com/sonic-net/sonic-buildimage/pull/14928) to master
- 201911 (with https://github.com/sonic-net/sonic-buildimage/pull/14928) to 202211
- 202012 (with https://github.com/sonic-net/sonic-buildimage/pull/14927) to master
- 202205 (with this change cherry-picked) to master

Co-authored-by: Stepan Blyshchak <38952541+stepanblyschak@users.noreply.github.com>
2023-06-30 13:53:33 -07:00
mssonicbld
ca123ca2a5
[Arista] Update hwsku.json for Arista-7050QX-32S-S4Q31 (#15251) (#15671)
* [Arista] Update hwsku.json for Arista-7050QX-32S-S4Q31

* Change to 3x10G(3)+1x1G(1) on Arista-7050QX-32S-S4Q31

Co-authored-by: byu343 <byu@arista.com>
2023-06-30 13:24:54 -07:00
mssonicbld
3f59abd29b
[chassis][lldp] Fix the lldp error log in host instance which doesn't contain front panel ports (#14814) (#15669)
* [chassis][lldp] Fix the lldp error log in host instance which doesn't contain front pannel ports

---------

Signed-off-by: mlok <marty.lok@nokia.com>
Co-authored-by: Marty Y. Lok <76118573+mlok-nokia@users.noreply.github.com>
2023-06-30 13:24:26 -07:00
mssonicbld
e40436f55f
[submodule] Update submodule sonic-swss-common to the latest HEAD automatically (#15655)
src/sonic-swss-common

* 8a53f04 - (HEAD -> 202205, origin/202205) Fix pipeline issue caused by urllib3 v2 (9 hours ago) [Liu Shilong]
* 3a1032f - [Ci] Fix collect log error in azp template (#799) (35 hours ago) [xumia]
2023-06-30 13:22:17 -07:00
zitingguo-ms
9ef61bc6f5
revert SAI XGS vertion to 7.1.36.4 (#15661)
Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>
2023-06-29 08:36:31 -07:00
Tejaswini Chadaga
7412356670
Revert "[202205] Update Broadcom DNX SAI version to 7.1.50.4 (#15561)" (#15650)
This reverts commit 9d3ee14208.
2023-06-28 20:05:07 -07:00
Dev Ojha
e2d988e457
[buildsystem] Fix hiredis package version: 0.14.1-1 (#15461) (#15651)
* [buildsystem] Fix hiredis package version: 0.14.1-1 (#15461)

- Why I did it
To fix hiredis compilation

- How I did it
Changed package version: 0.14.0-3~bpo9+1 -> 0.14.1-1

- How to verify it
make configure PLATFORM=mellanox
make target/sonic-mellanox.bin

Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>

* Update Makefile

---------

Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>
Co-authored-by: Nazarii Hnydyn <nazariig@nvidia.com>
2023-06-28 20:04:01 -07:00
Chun'ang Li
b2c3d9338d
Refine PR test template format (#15638)
* Refine PR test template format

Signed-off-by: Chun'ang Li <chunangli@microsoft.com>
2023-06-28 10:08:51 -07:00
mssonicbld
1c6e87657e
[ci/build]: Upgrade SONiC package versions (#15615) 2023-06-28 09:28:41 -07:00
mssonicbld
760ac6ca74
[submodule] Update submodule sonic-platform-daemons to the latest HEAD automatically (#15610)
src/sonic-platform-daemons

* d24cca4 - (HEAD -> 202205, origin/202205) PSUD-Delete or update CHASSIS_INFO table PSU/Modules data if added or… (#351) (4 days ago) [prem-nokia]
2023-06-28 09:26:05 -07:00
mssonicbld
fe620c4ea7
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#15590)
src/sonic-utilities

* 436ecb06 - (HEAD -> 202205, origin/202205) [GCU Feature Update] Cherry-pick Platform Validator PR to 202205  (#2883) (4 days ago) [isabelmsft]
* 17874100 - [202205][db_migrator] Add migration of FLEX_COUNTER_DELAY_STATUS during 1911->2211 upgrade + fast-reboot. Add UT. (#2870) (5 days ago) [Vadym Hlushko]
2023-06-28 09:25:27 -07:00
Jing Zhang
b6cdd8091e
[202205][yang] add Yang model for MUX_LINKMGR|LINK_PROBER (#15384) (#15607)
* [yang] add Yang model for `MUX_LINKMGR|LINK_PROBER` (#15384)

Add yang model for MUX_LINKMGR|LINK_PROBER table.

sign-off: zhangjing@microsoft.com
2023-06-27 18:59:34 -07:00
Ye Jianquan
386ce28695
[CI/CD] Refine t0 sonic and remove SPECIFIED_PARAMS (#15626)
Why I did it
t0-sonic's specific params has been set on sonic-mgmt repo, remove useless SPECIFIED_PARAMS usage
2023-06-27 11:01:50 +08:00
jhli-cisco
199a67a15a
Update cisco-8000.ini (#15620)
Why I did it
Fix incorrectly specified table name in the extra queues and extra pgs j2 files for 8101-32FH-O

How I did it
Update platform module to 202205.2.2.7
2023-06-26 18:34:13 -07:00
Marty Y. Lok
e8e8c019c2
[Nokia-IXR7250E][Devicedata] update the device data for Nokia IXR7250E platform (#15605)
Signed-off-by: mlok <marty.lok@nokia.com>
(cherry picked from commit 478ba478f5)
2023-06-23 15:41:46 -07:00
zitingguo-ms
a589d610b7
Upgrade XGS SAI version to 7.1.50.4 (#15530)
Update SAI xgs version to 7.1.50.4 to include the following changes:

patch fix from CSP CS00012282080 needed to support speed change from 400g to 100g on chassis linecards.
Backport SONIC-71507 VSQF/VSQE are not created after port creation. JIRA# SONIC-71507
Backport JIRA SONIC-70704 to rel_ocp_sai_7_1. JIRA# SONIC-70704
SID - L3 multicast packet drop due to wrong VFI derivation - SDK-350470
SID - SIGSEGV in linkscan callback delivery - SDK-287578
SID - Repeated VXLAN calls deletes vlan translation action profile SDK-313980
SER - error in IS_TDM_CALENDAR0/1 can cause traffic hit in TH
SID - L2_ENTRY Table Lookups May Miss
[CSP CS00012275452] sai_object_type_get_availability failed with SAI_STATUS_INVALID_PARAMETER

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>
2023-06-22 13:29:55 -07:00
mssonicbld
a1990d4c48
[Arista][x86_64-arista_7050_qx32] Add Components to platform.json (#15252) (#15585) 2023-06-23 03:41:58 +08:00
vmittal-msft
41cd22d04e
Updated default ECN settings for T2 chassis (#15541)
* Updated default ECN settings for T2 chassis (#14388)

Why I did it
Update ECN settings for T2 chassis

How I did it
Updated qos config file to load these settings during switch bootup

How to verify it
Verified on line card on T2 chassis

* Fix for test failures

* Test case failures

* test case fix
2023-06-22 08:17:45 -07:00
mssonicbld
5db1a495a1
[ci/build]: Upgrade SONiC package versions (#15525) 2023-06-21 17:25:31 -07:00
mssonicbld
30392c7917
[submodule] Update submodule sonic-telemetry to the latest HEAD automatically (#15544)
src/sonic-telemetry

*   0b8843c - (HEAD -> 202205, origin/202205) Merge pull request #120 from zbud-msft/202205_divide_by_zero (3 hours ago) [Ying Xie]
| *   015defa - Merge branch '202205' into 202205_divide_by_zero (5 hours ago) [Zain Budhwani]
* | de2124b - Change log level (5 hours ago) [zbud-msft]
* | f203be5 - Add logs for md5 checksum (#80) (5 hours ago) [Zain Budhwani]
| *   ea6c84b - Merge branch '202205' into 202205_divide_by_zero (31 hours ago) [Zain Budhwani]
* | ab98380 - Fix sonic-mgmt-common version to ec32690 in pipeline (#123) (34 hours ago) [Sachin Holla]
* 5fcecef - Merge branch '202205' into 202205_divide_by_zero (4 days ago) [Ying Xie]
* 09c8bfc - Merge branch '202205' into 202205_divide_by_zero (11 days ago) [Zain Budhwani]
* 21b9bc8 - Fix crash when retrieving cpu utilization (#70) (#71) (11 days ago) [Zain Budhwani]
2023-06-21 17:25:02 -07:00
Tejaswini Chadaga
9d3ee14208
[202205] Update Broadcom DNX SAI version to 7.1.50.4 (#15561)
DNX fixes:

CS00012287482 - support for 1024 LAGs on DNX

Other changes (XGS fixes)

SID - L3 multicast packet drop due to wrong VFI derivation - SDK-350470
SID - SIGSEGV in linkscan callback delivery - SDK-287578
SID - Repeated VXLAN calls deletes vlan translation action profile SDK-313980
SER - error in IS_TDM_CALENDAR0/1 can cause traffic hit in TH
SID - L2_ENTRY Table Lookups May Miss
[CSP CS00012275452] sai_object_type_get_availability failed with SAI_STATUS_INVALID_PARAMETER
2023-06-21 17:17:17 -07:00
Ying Xie
7b13065e7d
[202211][FRR][CVE] Add FRR patches to fix CVEs: CVE-2022-43681 CVE-2022-40318… (#15263) (#15537)
… CVE-2022-40302

Add patches from PRs
https://github.com/FRRouting/frr/pull/12043
https://github.com/FRRouting/frr/pull/12247

#### Why I did it
To fix CVEs https://github.com/advisories/GHSA-x7mf-v6gh-vm4g https://github.com/advisories/GHSA-9rqq-99cf-35g5 https://github.com/advisories/GHSA-j7hm-p94x-q9pw

##### Work item tracking
- Microsoft ADO **(number only)**: 23268946

#### How I did it
Added patches from the FRR fix PRs

Co-authored-by: DavidZagury <32644413+DavidZagury@users.noreply.github.com>
2023-06-19 19:50:10 -07:00
mssonicbld
d935f430b8
[mux] Integrate linkmgrd with swss logger (#15392) (#15539) 2023-06-20 09:08:51 +08:00
mssonicbld
ff35113a22
Update the defination of acl table type BMCDATA and BMCDATAV6 (#15385) (#15527)
Why I did it
Update the definition of acl table type BMCDATA and BMCDATAV6 in minigraph parser.

Work item tracking
Microsoft ADO (number only): 24101023
How I did it
Update the definition of acl table type BMCDATA and BMCDATAV6 in minigraph parser.

How to verify it
Ran unittest to verify this update:

Co-authored-by: Zhijian Li <zhijianli@microsoft.com>
2023-06-17 08:45:02 -07:00
mssonicbld
97f247ddaa
[submodule] Update submodule sonic-telemetry to the latest HEAD automatically (#15522)
src/sonic-telemetry

* a4bfafe - (HEAD -> 202205, origin/202205) Merge pull request #119 from zbud-msft/202205_gnmi_get_log (5 hours ago) [Ying Xie]
* 1b49409 - Merge branch '202205' into 202205_gnmi_get_log (7 days ago) [Zain Budhwani]
* b478159 - Cherry pick commit 4a8964a (#104) (7 days ago) [Zain Budhwani]
2023-06-17 08:36:38 -07:00
mssonicbld
d5d674e89d
Revert "Fix for fast/cold-boot: call db_migrator only after old config is loaded (#14933)" (#15464) (#15517) 2023-06-17 09:18:08 +08:00