Commit Graph

7158 Commits

Author SHA1 Message Date
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
siqbal1986
2d436cc59d
202205 cast for https://github.com/sonic-net/sonic-buildimage/pull/14992 (#15499)
Why I did it
CP of orignal PR #14992 which failed automatic CP.

Work item tracking
Microsoft ADO (number only):21695894
2023-06-16 08:36:18 -07:00
Prince Sunny
b4dcd1bcb4
Create default Vxlan and Vnet configs (#13409) (#15497)
* Create default Vxlan and Vnet configs for ToRs with Appliance Resource type
2023-06-16 08:35:15 -07:00
mssonicbld
b0f2cb3be2
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#15510)
src/sonic-utilities

* 43c85ef5 - (HEAD -> 202205, origin/202205) [dhcp-relay] Fix dhcp6relay counter issue (#2866) (10 hours ago) [Yaqiang Zhu]
* e0333b5c - Revert "[config]config reload should generate sysinfo if missing (#2778)" (#2865) (10 hours ago) [jingwenxie]
* e7eac6bf - [config] Generate sysinfo in single asic (#2856) (10 hours ago) [jingwenxie]
* e42291bb - [config] Generate sysinfo as needed when override config (#2836) (10 hours ago) [jingwenxie]
2023-06-16 08:33:40 -07:00
mssonicbld
4a38fb5681
[submodule] Update submodule sonic-swss to the latest HEAD automatically (#15508)
src/sonic-swss

* 444e3be - (HEAD -> 202205, origin/202205) [subinterface]: Fix admin state handling. (#2806) (10 hours ago) [Nazarii Hnydyn]
* 9690c5a - [portsorch]: Enhancing SWSS OA logs to capture host_tx_ready change events (#2822) (10 hours ago) [mihirpat1]
2023-06-16 08:33:15 -07:00
mssonicbld
2286895073
[submodule] Update submodule sonic-sairedis to the latest HEAD automatically (#15506)
src/sonic-sairedis

* ec81223 - (HEAD -> 202205, origin/202205) [syncd] Add pre match logic for acl entry (#1240) (10 hours ago) [Kamil Cudnik]
* 2966e58 - Fix pipeline issue caused by urllib3 v2 (10 hours ago) [Liu Shilong]
2023-06-16 08:32:47 -07:00
mssonicbld
6cd8ae36fa
[submodule] Update submodule sonic-platform-daemons to the latest HEAD automatically (#15505)
src/sonic-platform-daemons

* 78db08e - (HEAD -> 202205, origin/202205) Separate periodic v/s fixed EEPROM reads between threads and optimize xcvrd boot-up time (#360) (5 hours ago) [mihirpat1]
* 1a672b0 - [ycable] change logging level for stop main loop to NOTICE from ERR (#376) (9 hours ago) [vdahiya12]
2023-06-16 08:32:22 -07:00
mssonicbld
118f14dc65
[submodule] Update submodule linkmgrd to the latest HEAD automatically (#15503)
src/linkmgrd

* 9aebd5a - (HEAD -> 202205, origin/202205) Re-handle pre-init mux config notification after state machine init (#202) (10 hours ago) [Longxiang Lyu]
2023-06-16 08:30:40 -07:00
Samuel Angebault
3396cca1a3 [Arista] fix platform.json for a few devices (#15308)
Why I did it
sonic-mgmt is failing tests due to invalid test data in platform.json
Fwutil is upset the chassis name in the platform_component.json of the 7060CX-32S

How I did it
Fixed the aforementioned issues
2023-06-16 09:55:06 +08:00
pavannaregundi
89b7f46486 [Marvell] Update armhf driver version (#15138)
Changes in MRVL_PRESTERA_DRIVER_1.4:
- Memory leak fixed by releasing pci device after retrieval.
- Fixes for 5.10 kernel porting.

Change-Id: I1d7ee4ec02ec17a29ddb8473725ab68ca399748b

Signed-off-by: Pavan Naregundi <pnaregundi@marvell.com>
2023-06-16 09:54:50 +08:00
Ikki Zhu
340a6f68a8 [celestica/e1031]: enable emc2305 fan controller timeout feature (#14401)
Why I did it
There is rare condition, emc2305 hold SMBus and cause SMBus completion wait timed out.

How I did it
Enable EMC2305 SMBus timeout feature, 30ms period of inactivity will reset the interface.

How to verify it
Use 'i2cget -y -f 23 0x4d 0x20 b' to read EMC2305 configuration register and check DIS_TO bit not set.

Signed-off-by: Eric Zhu <erzhu@celestica.com>
2023-06-16 09:54:43 +08:00
Jing Zhang
417196f80f
[202205][YANG] add model for MUX_CABLE and PEER_SWITCH (#15485)
* [YANG] Add MUX_CABLE yang model  (#11797)

Why I did it
Address issue #10970

sign-off: Jing Zhang zhangjing@microsoft.com

How I did it
Add sonic-mux-cable.yang and unit tests.

How to verify it
Compile Compile target/python-wheels/sonic_yang_mgmt-1.0-py3-none-any.whl and target/python-wheels/sonic_yang_models-1.0-py3-none-any.whl.
Pass sonic-config-engine unit test.
Which release branch to backport (provide reason below if selected)
 201811
 201911
 202006
 202012
 202106
 202111
 202205
Description for the changelog
Link to config_db schema for YANG module changes
f8fe41a023/src/sonic-yang-models/doc/Configuration.md (mux_cable)

* [YANG] add peer switch model (#11828)

Why I did it
Address issue #10966

sign-off: Jing Zhang zhangjing@microsoft.com

How I did it
Add sonic-peer-switch.yang and unit tests.

How to verify it
Compile Compile target/python-wheels/sonic_yang_mgmt-1.0-py3-none-any.whl and target/python-wheels/sonic_yang_models-1.0-py3-none-any.whl.

Which release branch to backport (provide reason below if selected)
 201811
 201911
 202006
 202012
 202106
 202111
 202205
Description for the changelog
Link to config_db schema for YANG module changes
b721ff87b9/src/sonic-yang-models/doc/Configuration.md (peer-switch)
2023-06-15 14:35:36 -07:00
mssonicbld
3c8350c7c8
[submodule] Update submodule sonic-swss to the latest HEAD automatically (#15470)
src/sonic-swss

* 6a193e0 - (HEAD -> 202205, origin/202205) [Dual-ToR][ACL] bind LAG to ACL table in order to guarantee rule coverage if lag menber will be added to LAG after binding (#2749) (5 hours ago) [Andriy Yurkiv]
2023-06-15 14:33:32 -07:00
mssonicbld
821c883ef4
[yang] Change asn to start from 0 for bgp monitor (#15350) (#15482) 2023-06-16 03:58:05 +08:00
mssonicbld
c4fcd31fa6
enable ethernet backplane port support in port config for packet mode T2 devices (#14533) (#15479) 2023-06-16 03:52:17 +08:00
mssonicbld
913f466cbb
[ci] Add OVERRIDE_BUILD_OPTIONS in image build template. (#15309) (#15481) 2023-06-16 03:48:52 +08:00
mssonicbld
7ce21a6db5
[healthd] Use unix_socket_path instead of loopback ip (#14843) (#15480) 2023-06-16 03:41:30 +08:00
mssonicbld
77d42df160
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#15455)
src/sonic-utilities

* 24d0d1cb - (HEAD -> 202205, origin/202205) Update portstat (#2877) (26 hours ago) [wenyiz2021]
2023-06-15 10:27:40 -07:00
James An
a1ee45d7d6
Update cisco-8000.ini (#15465)
Why I did it

Release Notes for Cisco 8101-32FH-O:
• Fixed a FEC lane related error message
• Implemented 'show platform npu mac-state -i ' CLI for NPU MAC information and save-state dump.
• Fixed a Mac Port SerDes credit mismatch error message
• Configurable drop counter support for SAI_DEBUG_COUNTER_ATTR_TYPE (MIGSMSFT-197)
• Removed eth1-midplane creation rule that is not needed for this platform.
• Fix to move control packets from queue 0 to queue 7

How I did it

Update platform version to 202205.2.2.5
2023-06-15 10:27:03 -07:00