Skip to content
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

Ghc 202205 #28

Closed
wants to merge 2,448 commits into from
Closed

Ghc 202205 #28

wants to merge 2,448 commits into from

Conversation

gechiang
Copy link
Collaborator

@gechiang gechiang commented Jun 9, 2023

Why I did it

To merge and pick up from sonic-net/sonic-buildimage 202205 to azure/sonic-buildimage-msft 202205
whcih contains the following PRs:

af47583 (public/202205) Added change to add 'peerType' as element in NEIGH_STATE_TABLE. (#15265) (#15381)
ffd062a updated internal route policy for chassis-packet (#15349) (#15378)
bd323a8 [submodule] Update submodule sonic-platform-common to the latest HEAD automatically (#15372)
dc6b6bb [submodule] Update submodule sonic-telemetry to the latest HEAD automatically (#15373)
dfee3f3 [submodule] Update submodule sonic-utilities to the latest HEAD automatically (#15367)
77f2893 [submodule] Update submodule sonic-platform-daemons to the latest HEAD automatically (#15366)
fbe5fe7 [ci/build]: Upgrade SONiC package versions (#15326)
4d91f68 [submodule] Update submodule sonic-platform-daemons to the latest HEAD automatically (#15347)
ba39275 [submodule] Update submodule sonic-platform-daemons to the latest HEAD automatically (#15344)
f1542a9 [submodule] Update submodule linkmgrd to the latest HEAD automatically (#15324)
eb2e342 [submodule] Update submodule sonic-utilities to the latest HEAD automatically (#15320)
49700d3 [submodule] Update submodule sonic-swss to the latest HEAD automatically (#15319)
fdf3aac [submodule] Update submodule sonic-platform-daemons to the latest HEAD automatically (#15318)
b0abe71 Fix for fast/cold-boot: call db_migrator only after old config is loaded (#14933) (#15316)
7a3fc7a [submodule] Update submodule sonic-utilities to the latest HEAD automatically (#15238)
695505c [action] Only add 'automerge' label on master version upgrade PR. (#15112) (#15279)
33359b4 [submodule] Update submodule sonic-swss to the latest HEAD automatically (#15237)
723c508 Update PG headroom settings ports based on port speed/cable length (#15287)
feb8671 [202205] Implement zram compression for docker in RAM (#15137)
336697d [CI/CD] Refine pr test definition, remove old test jobs and testbedv2 flags (#15304)

How I did it

How to verify it

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106

Description for the changelog

A picture of a cute animal (not mandatory but encouraged)

xumia and others added 30 commits March 20, 2023 16:52
…#14269) (#14353)

Why I did it
Fix some of vulnerability issue relative python packages #14269
Pillow: [CVE-2021-27921]
Wheel: [CVE-2022-40898]
lxml: [CVE-2022-2309]

How I did it
Why I did it
src/sonic-dbsyncd

* 4dcfb61 - (HEAD -> 202205, origin/202205) Handled the error case of negative age (#57) (2 days ago) [Vivek]
src/sonic-swss

* 142abdf - (HEAD -> 202205, origin/202205) swss: Fix egress queue counters in voq systems. (#2705) (2 days ago) [Sambath Kumar Balasubramanian]
src/sonic-utilities

* 42a57f4c - (HEAD -> 202205, origin/202205) [202205] Update the ref guide to reflect the vlan brief output (#2741) (2 days ago) [Vivek]
4dcfb61 Handled the error case of negative age (#57)

Signed-off-by: Vivek Reddy <vkarri@nvidia.com>
Update sonic-utilities submodule pointer to include the following:
* 32938665 [202205] Fast-reboot: preserve connected routes and set teamd timer to minimum. ([#2744](sonic-net/sonic-utilities#2744))
* Clear teamd-timer when finalizing fast-reboot
* Move config save after finalizing fast/warm reboot
…python cache (#14377)

* Remove apt package lists and make macro to clean up apt and python cache

Remove the apt package lists (`/var/lib/apt/lists`) from the docker
containers. This saves about 100MB.

Also, make a macro to clean up the apt and python cache that can then be
used in all of the containers. This helps make the cleanup be consistent
across all containers.

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
Why I did it
Check syncd related target in PR checks to avoid build break.
…old for Th devices (#14399)

Backport #14372 to 202205

Why I did it
For better accounting purposes, updating the ingress lossy traffic profile to use static threshold. This change is only intended for Th devices using RDMA-CENTRIC profiles

How I did it
Update the buffer templates for Th devices in RDMA-CENTRIC folder to use the correct threshold

Signed-off-by: Neetha John <nejo@microsoft.com>
Why I did it
src/sonic-swss

* bf496d1 - (HEAD -> 202205, origin/202205) [202205] Fixed set admin_status for deleted subintf due to late notification (#2704) (3 days ago) [EdenGri]
src/sonic-swss-common

* ecf60a3 - (HEAD -> 202205, origin/202205) [logger] Add public `restartLogger` to restart logger thread (#768) (2 days ago) [Longxiang Lyu]
Why I did it
Update SAI xgs version to 7.1.36.4 to include the following changes.

JIRA# SONIC-69731 (7.1.33.4)
Issue Summary: SAI_SWITCH_ATTR_SWITCH_HARDWARE_INFO brcm_sai_get_switch_attribute returns null.
Root Cause: Not implemented.
Fix Description: Get support for SAI switch attr SAI_SWITCH_ATTR_SWITCH_HARDWARE_INFO added
JIRA# SONIC-70737 (7.1.34.4)
Issue Summary: ECN being marked as CE even without congestion
Root Cause: ecn_thresh was set to very low value and packets were 100% marked.
Fix Description: ecn_thresh set to correct value
backport SONIC-70081 to SAI7.1 (7.1.35.4)
egress lossy queue PFC Rx fix:ignore PFC signals from egress
Update git submodules (7.1.36.4)
Update sdk-src/hsdk_6.5.24_SAI_7.1.0_GA from branch 'hsdk_6.5.24_SAI_7.1.0_GA'
to 57d0e360269c4ab659c4790ae471aa4dba2532b4
[SAI_BRANCH rel_ocp_sai_7_1] Broadcom image build failed with SAI 7.1 in DMZ repo (on bullseye)
How I did it
Update SAI xgs code.

How to verify it
Run the SONiC and SAI test with the 7.1 SAI pipeline.

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>
…ng LPM (#14370)

* Fix issue: user must set admin down before toggling LPM
Why I did it
src/linkmgrd

* 3403160 - (HEAD -> 202205, origin/202205) [ci] fix azure pipeline (#190) (33 hours ago) [Jing Zhang]
* 95abb4c - [active-standby] avoid unnecessary mux state probe after configuring to `auto` (#183) (33 hours ago) [Jing Zhang]
* 9277650 - [ci] Fix apt-get install unable locate package issue. (#177) (33 hours ago) [Liu Shilong]
src/sonic-linux-kernel

* 836aedf - (HEAD -> 202205, origin/202205) [202205] Add Secure Boot Kernel configuration (#310) (35 hours ago) [Sachin Naik]
src/sonic-platform-common

* 9b367e4 - (HEAD -> 202205, origin/202205) Modify get_host_lane_assignment_option to return value based on application id (#352) (33 hours ago) [mihirpat1]
src/sonic-platform-daemons

* a6015f2 - (HEAD -> 202205, origin/202205) chassisd: Fix crash on exit on linecard (#347) (33 hours ago) [Patrick MacArthur]
* dcc0079 - [Supervisor][fabric] Modify the deinit function not to remove CHASSIS_FABRIC_ASIC_TABLE when supervisorctl stop chassisd (#340) (33 hours ago) [prem-nokia]
src/sonic-swss

* a2f1428 - (HEAD -> 202205, origin/202205) Run individule pytests instead of running all pytests at once. (#2350) (33 hours ago) [mint570]
src/sonic-swss-common

* 643132e - (HEAD -> 202205, origin/202205) Fix mod_config with empty config will delete table bug. (#767) (34 hours ago) [Hua Liu]
* 4c7ee30 - Revamp module build script to make it work for 5.15 on Ubuntu 20.04 (#720) (34 hours ago) [Saikrishna Arcot]
…14435)

Why I did it
After warm reboot, show environment prints the following error:
failed to import plugin show.plugins.macsec: [Errno 13] Permission denied: '/tmp/cache/macsec'

How I did it
Set owner back to admin after restoring counters folder.

How to verify it
sudo warm-reboot, then ensure show environement does not print errors.

Signed-off-by: Oleksandr Kolomeiets <oleksandrx.kolomeiets@intel.com>
Co-authored-by: oleksandrx-kolomeiets <oleksandrx.kolomeiets@intel.com>
Why I did it
Updated the port_alias name as per the SONiC HLD [https://github.com/yxieca/SONiC-1/blob/b70bb0c7da38b490009b7dbdad8b83a264e8a07b/doc/sonic-port-name.md]
Updated channel number to breakout interfaces

How I did it
update platform version to 0.13
implement chassis platform API reboot
fix rpc powercycle on linecard
fix psu/fan LED logic in arista daemon
remove psu LED for PikeZ
vmittal-msft and others added 25 commits June 2, 2023 15:48
…15287)

Why I did it
Update cable length for uplink/downlink ports for chassis and and update PG/pool headroom size accordingly.

Work item tracking
17880812

How I did it
Updated cable length as well as buffer config in HWSKU files.
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
…lly (#15237)

src/sonic-swss

* 4d9fb93 - (HEAD -> 202205, origin/202205) [orchagent][neighorch] traffic convergence acceleration for staticroutebfd (#2769) (6 days ago) [Baorong Liu]
* 43c88a3 - Fix pipeline issue caused by urllib3 v2 (6 days ago) [Liu Shilong]
…5112) (#15279)

Why I did it
Don't auto update package version for release branch.

Work item tracking
Microsoft ADO (number only): 22335854
How I did it
How to verify it
…atically (#15238)

src/sonic-utilities

* cd08aa69 - (HEAD -> 202205, origin/202205) [show][muxcable] add some new commands health, reset-cause, queue_info support for muxcable (#2853) (2 days ago) [vdahiya12]
* 4b96bd7e - Update pcieutil error message on loading common pcie module (#2786) (6 days ago) [cytsao1]
* 77b725ca - Fix the show interface counters throwing exception on device with no external interfaces (#2851) (6 days ago) [abdosi]
Why I did it
Support for SONIC chassis isolation using TSA and un-isolation using TSB from supervisor module

Work item tracking
Microsoft ADO (number only): 17826134
How I did it
When TSA is run on the supervisor, it triggers TSA on each of the linecards using the secure rexec infrastructure introduced in sonic-net/sonic-utilities#2701. User password is requested to allow secure login to linecards through ssh, before execution of TSA/TSB on the linecards

TSA of the chassis withdraws routes from all the external BGP neighbors on each linecard, in order to isolate the entire chassis. No route withdrawal is done from the internal BGP sessions between the linecards to prevent transient drops during internal route deletion. With these changes, complete isolation of a single linecard using TSA will not be possible (a separate CLI/script option will be introduced at a later time to achieve this)

Changes also include no-stats option with TSC for quick retrieval of the current system isolation state

This PR also reverts changes in #11403

How to verify it
These changes have a dependency on sonic-net/sonic-utilities#2701 for testing

Run TSA from supervisor module and ensure transition to Maintenance mode on each linecard
Verify that all routes are withdrawn from eBGP neighbors on all linecards
Run TSB from supervisor module and ensure transition to Normal mode on each linecard
Verify that all routes are re-advertised from eBGP neighbors on all linecards
Run TSC no-stats from supervisor and verify that just the system maintenance state is returned from all linecards
Why I did it
To support BGPMon sessions from each T2 linecard ASIC

Work item tracking
Microsoft ADO (number only): 17873174
How I did it
Added change in BGPMon configuration to use Loopback4096 as source interface, since this has a unique IP per ASIC.

How to verify it
Tested by manually setting up BGPMon session on T2 LC and verified that Loopback4096 could be used as source
Manual Cherry-pick PRs with labels "Chassis for 202205 Branch" from sonic-net/sonic-buildimage
…D automatically (#15318)

src/sonic-platform-daemons

* 616f13f - (HEAD -> 202205, origin/202205) [ycabled] fix bug for `show mux status` delayed response (#364) (6 hours ago) [vdahiya12]
…lly (#15319)

src/sonic-swss

* c781521 - (HEAD -> 202205, origin/202205) [swss][orchagent] fix srt-bfd ut (#2803) (6 hours ago) [Baorong Liu]
…atically (#15320)

src/sonic-utilities

* ec472146 - (HEAD -> 202205, origin/202205) fix show interface neighbor expected empty issue (#2465) (3 minutes ago) [jcaiMR]
* d1f4413c - [vlan][dhcp_relay] Clear dhcpv6 relay counter while deleting vlan (#2852) (6 hours ago) [Yaqiang Zhu]
* 051f28ce - [db-migrator] Fix hwsku match for 6100 and add errors when hwsku is None (#2821) (7 hours ago) [Vaibhav Hemant Dixit]
…y (#15324)

src/linkmgrd

* c0f7c50 - (HEAD -> 202205, origin/202205) Increase verbosity for mux config and default route handlers (#193) (14 minutes ago) [Longxiang Lyu]
* 2040a5e - Ignore mux probe unknown for health calculation (#188) (14 minutes ago) [Longxiang Lyu]
…D automatically (#15344)

src/sonic-platform-daemons

* 1537d6a - (HEAD -> 202205, origin/202205) [dualtor] Fix command `show mux status` (#371) (2 minutes ago) [Longxiang Lyu]
…D automatically (#15347)

src/sonic-platform-daemons

* a90bff5 - (HEAD -> 202205, origin/202205) [ycabled] correct the wrong function call for 'config hwmode state' (#372) (5 minutes ago) [vdahiya12]
…D automatically (#15366)

src/sonic-platform-daemons

* 18815c7 - (HEAD -> 202205, origin/202205) Revert "[ycabled] refactor code for onboarding async client changes;refactor (#355)" (3 minutes ago) [Ying Xie]
* 5324554 - Revert "add async notification support in active-active topo; refactor code for ycable tasks for change events  (#327)" (3 minutes ago) [Ying Xie]
* cbbe2b5 - Revert "[ycabled] fix bug for `show mux status` delayed response (#364)" (3 minutes ago) [Ying Xie]
* 9746709 - Revert "[dualtor] Fix command `show mux status` (#371)" (3 minutes ago) [Ying Xie]
* 551ab3c - Revert "[ycabled] correct the wrong function call for 'config hwmode state' (#372)" (3 minutes ago) [Ying Xie]
…atically (#15367)

src/sonic-utilities

* 75ca81e4 - (HEAD -> 202205, origin/202205) [202205][config]Support multi-asic Golden Config override with fix (#2825) (#2862) (13 hours ago) [jingwenxie]
…atically (#15373)

src/sonic-telemetry

* 5a83c07 - (HEAD -> 202205, origin/202205) Merge pull request #109 from zbud-msft/backport-202205 (86 minutes ago) [Ying Xie]
* 0f75a64 - [202012] Workaround gomonkey for armhf (#88) (3 weeks ago) [Zain Budhwani]
* 1b0dc75 - Fix Makefile error (3 weeks ago) [Zain Budhwani]
* 72e4540 - Add diff cov (#85) (3 weeks ago) [Zain Budhwani]
* 11aace5 - Add get-update to azp yml (#79) (3 weeks ago) [Zain Budhwani]
* 3eaaccc - Add net core and code coverage results (#77) (3 weeks ago) [Zain Budhwani]
* 3cf3883 - Enable unit test (3 weeks ago) [ganglyu]
* 2a0928f - Change dir name in pipeline (#75) (4 weeks ago) [Zain Budhwani]
* baa845a - Update yml (4 weeks ago) [Zain Budhwani]
* c533d52 - Fix format (4 weeks ago) [ganglyu]
… automatically (#15372)

src/sonic-platform-common

* 4969f70 - (HEAD -> 202205, origin/202205) Skip CDB and VDM for flat memory modules (#281) (2 minutes ago) [Prince George]
Revert "Updated default ECN settings for T2 chassis (#14388)"
@gechiang gechiang closed this Jun 9, 2023
jon-nokia pushed a commit to jon-nokia/sonic-buildimage-msft that referenced this pull request Aug 9, 2023
Added below commits:
9b30690 jcaiMR Fri Dec 16 fix handleSwssNotification crash in dhcp6relay (sonic-net#28)
047afb7 jcaiMR Wed Dec 14 14:08:58 2022 +0800 Fix multiple vlan issue (sonic-net#27)
ff6bec3 Vivek Thu Dec 8 09:44:15 2022 -0800 Made the Error log informative (sonic-net#22)
2fbe729 jcaiMR Wed Nov 30 14:41:53 2022 +0800 disable cfg dynamic change (sonic-net#25)
13d0805 Liu Shilong Wed Nov 30 10:54:11 2022 +0800 Use github code scanning instead of LGTM (sonic-net#26)
1e846f6 kellyyeh Wed Nov 23 14:36:02 2022 -0800 Fix packet range check for relay-reply packets (sonic-net#21)
4d19e13 kellyyeh Thu Nov 17 10:04:53 2022 -0800 Add unittest infrastructure (sonic-net#5)
7f4fdab jcaiMR Fri Nov 11 14:47:51 2022 +0800 fix packet range check issue (sonic-net#20)
257ecdf kellyyeh Thu Nov 3 11:34:11 2022 -0700 Add client packet UDP header length check (sonic-net#19)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.