Commit Graph

3862 Commits

Author SHA1 Message Date
Renuka Manavalan
eda84d2209
Invoke disk check periodically (#7374)
Helps with periodic scan of disk for RO state.
If found, this script makes transient fix and raise error message.
2021-11-19 16:45:21 -08:00
Stephen Sun
5b88d9edf4
Update sonic-swss (#9085)
a0417f6f [Buffer Manager][201911] Reclaim unused buffer for admin-down ports (1837)
f77d393b [bufferorch][201911] Handle DEL_COMMAND for BUFFER_PG and BUFFER_QUEUE table (1787)

Signed-off-by: Stephen Sun <stephens@nvidia.com>
2021-11-01 22:26:32 -07:00
Sumukha Tumkur Vani
94577ba2ed
Flush RESTAPI DB upon config reload (#9092) 2021-10-28 16:06:28 -07:00
Santhosh Kumar T
ddf40cb729
[201911] Dell S6000 I2C not responding to certain optics - porting (#8855) 2021-10-25 15:25:12 +05:30
Abhishek Dosi
384fff712e [Submodule update] sonic-swss
ce8b1af9d2200c570c102a38e04cbd9659470585 (HEAD -> 201911, origin/201911) const initializer_list is not a constant expression (#1250)
acdb03324fc268f5330d2632a02d0856f35fb880 [201911] Add lgtm.yml (#1901)

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2021-10-11 08:28:55 -07:00
Abhishek Dosi
827f0feb9d [Submodule update] sonic-utilities
3b7803245af97b77203ab51f666bffeb15339149 (HEAD -> 201911, origin/201911) [fast-reboot] Remove FLEX_COUNTER_TABLE from config_db.json before reboot (#1804)
Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2021-10-07 19:13:25 -07:00
Abhishek Dosi
d6d5966725 [Submodule update] sonic-sairedis
6cfb3ecb0248768da0a91e5f7fb4477c5da7eb4e (HEAD -> 201911, origin/201911) [build]: allow to use extra inc/lib location to build the package (#595)
40d34872d3b7f354adac67f084eebf6ee467f779 Merge pull request #846 from xumia/azp-201911
76ac50f147a7d820b19d8d7628a67f2fe4f5159b Disable the build test
6c9cf655b8b5b152cab1d578e05eddf8238b81b0 Fix branch reference error
ca8d81d37a9b0294098f161b036d330d9ff461e0 [ci]: download artifacts from master branch (#768)
0cbf4d55c67a9f8f52715f95536f3588acf06c4a [ci]: use sonicbld pool (#766)
b6f1265ee9bd86f8a5e909a6f1e9b2384497c906 [ci]: add build for arm64 and armhf (#757)
9ec0a7da64d479b124815edc5b505fb88b2532a0 CI: add azure pipeline CI/CD (#754)
1436dbe02cd3c56f796c6b3398d4075cd05d97e0 Fix RIF issue (#835)

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2021-10-07 19:10:43 -07:00
Abhishek Dosi
3cb16cc704 [Submodule update] sonic-swss
901e2efb4f5c6a1179068b43e6a837dfff19d9d9 (HEAD -> 201911, origin/201911) [fpmsyncd] Skip routes to eth0 or docker0 (#1606)
6c6f4fbbeb24b6e16a2bffdee760ba6a95e2ceb3 configure extra inc/lib directory for build (#1247)
cccb59efa031b817c1936a74db969debbb9b2775 [201911][Cherry-pick] [acl mirror action] Mirror session ref count fix at acl rule attachment (#1896)
62dc36d9da988807c7a397fd90ac2859a5a07699 [ci]: Support Azure pipelines on 201911 branch (#1806)

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2021-10-07 19:09:01 -07:00
Abhishek Dosi
44d2ec67fd [Submodule Update] sonic-restapi
e466ac226c48cf87f83aa5564efd7155ac97a0c1 (HEAD -> master, origin/master, origin/HEAD) Reject incorrect CIDR addresses while configuring routes (#91)
07cf59d866914ef7cb6901d51f289f0bee721e44 [CI] Set up Azure pipeline (#89)
47476acdfaf668ab0cd9ae2443205a3bdc2e9ef9 Upgrade Go version to 1.14 (#90)
ee887c785c10d8b4f70db90ca50cc398327c5d73 Added flag to make go/pkg/ folder writable (removable) (#87)
6cfc8fe110c46a1ee5a8430e02a440b5a7b4006d (origin/shilongliu/azp) Default Vrf static route support (#85)
d3e8b8e4aee278fa11d7d86acabdab3fffc70d5a Add BFD config to subinterface and neighbor (#68)
8d4fd4a56b637d3b7403c321aef36b8dff58cd62 Fix WS-2018-0594 potential non-random UUIDs security issue (#78)
fad87fa20f6b15e28c90e02a131c44d236d6a751 Update API description for default vrf and ecmp routes (#82)

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2021-10-06 10:09:14 -07:00
Sumukha Tumkur Vani
edaa6e5287 Reduce logging level for RESTAPI from trace to info (#8858) 2021-10-06 09:58:38 -07:00
bingwang-ms
fa6052e2da
[201911][cherry-pick] Update minigraph parser to support MIRROR_DSCP (#8826)
* Update minigraph parser to support MIRROR_DSCP

Signed-off-by: bingwang <bingwang@microsoft.com>
2021-09-30 14:19:57 +08:00
Stephen Sun
1b168c36c4
[Mellanox][201911] Upgrade Mellanox-SAI to 1.19.3 to support reclaiming reserved buffer on admin down ports (#8735)
#### Why I did it

Upgrade Mellanox-SAI to 1.19.3 to support reclaiming reserved buffer on admin down ports

#### How I did it

To support reclaiming reserved buffer on admin down ports.

#### How to verify it

Regression test and manual test.
2021-09-19 20:16:10 -07:00
abdosi
d1f659689e
Logrotate for wtmp and btmp files to fix size getting too large. (#8744)
Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2021-09-14 17:39:02 -07:00
Abhishek Dosi
5983905880 submodule update [sonic-utilities]
[fast-reboot] Remove FLEX_COUNTER_TABLE from config_db.json before
    reboot Azure/sonic-utilities#1804

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2021-09-13 12:31:02 -07:00
Abhishek Dosi
771cee7b68 Revert "[Sub Module Upddate] sonic-utillities"
This reverts commit b14179ef3a.
2021-09-13 12:27:36 -07:00
Abhishek Dosi
b14179ef3a [Sub Module Upddate] sonic-utillities
[201911][vnet_route_check] don't hardcode prefix length of /24
Azure/sonic-utilities#1758
[fast-reboot] Remove FLEX_COUNTER_TABLE from config_db.json before
reboot Azure/sonic-utilities#1804

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2021-09-13 08:53:25 -07:00
yozhao101
987cf377b0
[201911][Monit] Fix the template file of dhcp_relay (#8714)
Why I did it
This PR aims to fix the bug in Monit template file of dhcp_relay container.

If Multi-VLAN were configured on device, multiple dhcrelay processes will be spawned in dhcp_relay container. Then there will be an entry for each dhcrelay process in Monit configuration file of dhcp_relay container.

Currently Monit template file of dhcp_relay container can not be rendered correctly to generate configuration file and will cause Monit can not start up.
2021-09-13 08:34:42 -07:00
Junchao-Mellanox
30f2503ab3
[Mellanox] Read PSU fan max/min speed per PSU (#8563) (#8728)
New PSU could install different type of fan, so fan max/min speed should be read per PSU
2021-09-13 08:32:28 -07:00
Stephen Sun
17948d0e4c
[docker-orchagent][201911] Pass ASIC vendor information to swss docker as docker level environment variable (#8274)
#### Why I did it
Recently, the reserved buffer of admin-down ports is going to be reclaimed.
However, the way to do this differs among vendors.
We need to find a way to pass vendor information to swss docker.

#### How I did it
Fetch the ASIC vendor information when the docker is created and pass it to the docker as environment variable `ASIC_VENDOR`.
2021-09-13 01:47:56 -07:00
Stephen Sun
dbbb3b0855
Fix error during building docker-sonic-mgmt-framework on 201911 (#8726)
Why I did it
Fix error during building docker-sonic-mgmt-framework on 201911

Signed-off-by: Stephen Sun stephens@nvidia.com

How I did it
Cause:
While building sonic-mgmt-framework docker, it needs to install grpcio-tools version 1.20.0 which has a dependency on grpcio version >=1.20.0.
As >=1.20.0 is specified, it will install the latest version of grpcio.
It had worked well until the grpcio package version 1.40.0 was released 3 days ago.
Looks like some new dependencies are introduced by the latest version.
Fix:
Designate grpcio version 1.39.0 explicitly, which is the latest version of grpcio that worked well.
2021-09-12 22:33:10 -07:00
haowei1122
acb9bbafcc
Update sonic-fanthrml-monitor (#8636)
*Thermal mapping is wrong with BMC return value
2021-09-09 09:44:56 -07:00
Shi Su
09a1e90990
[201911] [FRR] Upgrade FRR to frr-7.2.1-s4 tag (#8572)
Why I did it
Update FRR 7.2.1 head. The following is a list of new commits.

5ae667a1f Merge pull request #9335 from FRRouting/mergify/bp/stable/7.2/pr-9214
eb679e8a1 zebra: bugfix of error quit of zebra, due to no nexthop ACTIVE
80d2eaa98 Merge pull request #8886 from FRRouting/mergify/bp/stable/7.2/pr-8876
1eeab2c1e lib: remove pure attribute from functions that modify memory
eb00dc4ec Merge pull request #6944 from LabNConsulting/working/lb/7.2/valgrind-supp-libyang
b9d6d05bf bgpd: suppress new libyang_1.0 related loss reports
8c26a71eb Merge pull request #6562 from ton31337/fix/configuration_for_labeled_unicast_in_place_7.2
386a1719c bgpd: Make sure network/aggregate-address commands lay down under labeled safi
b01c8bf28 Merge pull request #6526 from ton31337/fix/set_ipv6_ll_if_global_zero_7.2
c382833e8 bgpd: Use IPv6 LL address as nexthop if global was set to ::/LL
99509b835 Merge pull request #6395 from opensourcerouting/7.2/init-config-perms
7eef8f7b1 build: use configfile mode in init script
4cbe07705 Merge pull request #6360 from opensourcerouting/7.2/fix-warnings
84bb11785 nhrpd: clean up SA warning
aac726476 nhrpd: be more careful with linked lists
3a4b6d654 debian: Fix spelling error
756c67c6c Merge pull request #6284 from opensourcerouting/7.2/gcc-10
65a116a64 Merge pull request #6354 from ton31337/fix/communities_bgpd_crash_7.2
f7a00fd67 bgpd: Check to ensure community attributes exist before freeing them
a960f99c2 vrrpd: fix build on Fedora Rawhide
d4caff99f babeld: GCC complaining about no return in non-void function
a014c27ae babeld: fix build on Fedora Rawhide
79ff55b5b bgpd: remove unused variable
ff343e588 pimd: Make frr able to be built by gcc 10
9a3cf1ba2 ldpd: remove multiple definitions of thread_master
a19515bfe ldpd: fix another linking issue with GCC-10
b4c8de38c tests: fix build with GCC 10
4f27e8c85 ldpd: Fix linking error on Fedora Rawhide with GCC 10

How I did it
Update FRR 7.2 pointer and create a tag frr-7.2.1-s4.
2021-08-25 09:18:27 -07:00
shlomibitton
55f86768a6
[Mellanox] Update SDK\FW to version 4.4.3326\2008.3326 (#8568)
- Why I did it
Update SDK\FW version to 4.4.3326\2008.3326. This version contains:

New Features:
1. Add support for Fast Boot for SN3800

Bug Fixing:
1. In some cases, when the total number of allocations exceeds the resource limit, an error can occur due to incorrect resource release procedure. This issue is most likely to affect the following resources: flow counters, ACL actions, PBS, WJH filter, Tunnels, ECMP containers, MC (L2 &L3)
2. On Spectrum systems, when using Async Router API with IPV6, an error message in the log regarding failing to remove ECMP container may show up. This error is not functional and can be safely ignored.
3. On Spectrum-2 systems and above, when using warm boot, setting max_bridge_num to a value greater than 1968 will cause an error and potential crash.
4. Some Molex cables do not support speed after reboot

- How I did it

- How to verify it
Was verified by running regression tests that includes complete sonic-mgmt tests supported
2021-08-25 16:34:42 +03:00
Junchao-Mellanox
c647c7ce2b
[Mellanox] Upgrade hw-mgmt to 7.0100.2344 (#8378)
Why I did it
To support new PSU fan on mellanox platforms

How I did it
Upgrade hw-mgmt to 7.0100.2344
2021-08-19 18:07:58 -07:00
Aravind Mani
c53822c9e8
[201911] Dell S6100:Add serial-getty service to monit (#8409)
Why I did it
serial-getty service exited in Dell S6100 device randomly.

How I did it
Added serial-getty to monit services.

How to verify it
Stop serial-getty in ssh session and check whether the service restarts or not
2021-08-19 10:13:34 -07:00
abdosi
de3d30f36d
Updated Broadcom SAI Debian package to 3.7.6.1 (#8365)
Updated Broadcom SAI Debian package to 3.7.6.1 Following are the major changes here:

- CS00011651922/CS00012192502 SID:Parity error in TDM Calendar memories causes traffic drop after SER correction
- CS00011222060 soc_mem_alpm_delete: unit 0: ALPM delete operation[L3_DEFIP_ALPM_IPV6_128] encountered parity error
- Cesto Phy Recovery enhancement.
- SDK compile with flag -DBCM_MONOTONIC_TIME and -DBCM_MONOTONIC_MUTEXES
2021-08-06 17:55:41 -07:00
Abhishek Dosi
624ddf6dda [submodule update] sonic-utilities
97d971372fac773b98d46bb8f800df7b845e518e (HEAD -> 201911, origin/201911) [sfpshow] Gracefully handle improper 'specification_compliance' field (#1594) (#1729)
2099c73cea81ff4524e680b6f9335c0b0f13b94e [CLI] Implement null_route_helper script (#1740)
b56659175986fe0e5b82c6bd6b3dde163164777b [minigraph][port_config] Consume port_config.json while reloading minigraph (#1725)
e840c42da2a40db2bf993672271f6b75c51c426f Change the method name to align with master, reduce diverge issue (#1703)

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2021-08-06 11:02:19 -07:00
Renuka Manavalan
8cd6714ef4
hostcfgd: Handle missed tacacs updates between load & listen (#8223)
Why I did it
The time gap between last config load & db-listen seem to have increased.
Any config updates that occurred in this gap gets missed by db-listen.
This could miss updating /etc/pam.d/common-auth-sonic

How I did it
Add a one shot timer, just before db-listen. The timer will fire after the subscribe is done
When the timer fires, reload tacacs & aaa
2021-08-06 10:38:37 -07:00
Arun Saravanan Balachandran
d573cd141d
[201911] DellEMC S6100: Update SSD upgrade status checker (#8225)
Why I did it
To handle newer SSD firmware version in DellEMC S6100 platform (S210506G - 3IE devices).

How I did it
Update s6100_ssd_upgrade_status.sh to handle newer SSD firmware version.

How to verify it
Logs: UT_logs.txt
2021-08-05 22:43:53 -07:00
Dror Prital
2a34e8aca5
[mellanox]: Update SDK\FW to version 4.4.3228\2008_3224 (#8352)
Fix the following issue: Resource KVD hash Table tries to deallocate more resources than allocated.

Signed-off-by: Dror Prital <drorp@nvidia.com>
2021-08-05 19:05:26 -07:00
Dror Prital
949fcd21a8
Update SDK\FW to version 4.4.3222\2008.3224 (#8248)
*Update SDK\FW Version to 4.4.3222\2008.3224.
Signed-off-by: Dror Prital <drorp@nvidia.com>
2021-07-22 18:17:05 -07:00
shihjeff
940aaa0cbe
[201911] [Innovium] Update Cameo & Wistron Drivers (#7855)
Fix #8068

Update Innovium configs on Cameo and Wistron platforms
2021-07-21 09:09:36 -07:00
Vivek Reddy
fcc7d3102a
[201911][Mellanox] Update SDK\FW ver. 4.4.3216\2008.3218 (#8145)
Signed-off-by: Dror Prital <drorp@nvidia.com>
* [Mellanox] Update FW version to 2008.3218 (#8079)
Update FW version to 2008.3218, fixing the following issues:
- 50G/100G links that are operationally down before warm-reboot are not coming up after warm-reboot
- 50G/100G links with admin shut / no shut commands are not coming up after warm-reboot
2021-07-09 17:54:25 -07:00
Vivek Reddy
d958b6c664
Update SAI Commit (#8141)
[ba669c3] Fix saisdkdump
Co-authored-by: Vivek Reddy Karri <vkarri@r-build-sonic06.mtr.labs.mlnx>
2021-07-09 15:28:00 -07:00
noaOrMlnx
c5ace6d1ea
[201911] Change RIF counters to be enabled by default (#8053)
* Change RIF counters to be enabled by default for MLNX platform
2021-07-08 18:58:41 -07:00
madhanmellanox
2bec3004ef
[201911] Adding SKU Mellanox-SN3800-D100C12S2 (#7972)
* [201911]: Adding SKU Mellanox-SN3800-D100C12S2
Co-authored-by: Madhan Babu <madhan@l-csi-0241l.mtl.labs.mlnx>
2021-06-30 09:04:52 -07:00
xumia
e4a4cfed98
Fix vtysh shell-ingestion security issue (#8022)
Why I did it
Fix vtysh shell-ingestion security issue
Only expose the limited parameters of the command vtysh show.
2021-06-30 19:34:55 +08:00
Shilong Liu
77831f6d4b
[CI] Fix azp build rpc image targets. (#7976) 2021-06-25 14:31:09 +08:00
Shilong Liu
3bdd72163f
[CI] Fix azp targets for innovium platform (#7948)
There is no rule to build swi target. The correct target is *.bin.
2021-06-23 18:50:27 -07:00
xumia
2c22ab6735
[ci]: build rpc image for mellanox (#7905) (#7946)
Rename the sync_rpc_image to docker_syncd_rpc_image
Add a new parameter syncd_rpc_image to build sonic-mellanox-rpc.bin
2021-06-23 10:19:42 -07:00
Stepan Blyshchak
78f2b8c0e5
[sonic-utilities] updated submodule (#7938)
[201911][db_migrator] fix old 1911 feature config migration to a new schema (#1655)
Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
2021-06-22 16:32:15 +03:00
Shilong Liu
84f6c5d3b2 fix 2021-06-17 21:38:03 +08:00
Shilong Liu
28e0a61c02 fix 2021-06-17 21:38:03 +08:00
Shilong Liu
0f3353190d fix 2021-06-17 21:38:03 +08:00
Shilong Liu
a3ee4a79cc enable 201911 pr check 2021-06-17 21:38:03 +08:00
Qi Luo
78ffa9a39a
[sonic-swss-common] update submodule (#7888)
Includes below commits:
```
faaa72a 2020-04-07 | Fix test config (#337) [Qi Luo]
```
2021-06-15 23:24:48 -07:00
abdosi
0f56f8b4f4
[201911] Updated to Broadcom SAI debian package to 3.7.5.2-3 (#7887)
Updated to Broadcom SAI debian package to 3.7.5.2-3
2021-06-15 16:03:23 -07:00
arlakshm
2d6b531b3e
internal loopback ipv6 fix (#7885)
In the multi asic platforms all the ASIC are advertising the same IPv6 /64 network from Loopback4096.
Therefore, the IPv6 loopback address of backend asic is not learnt on the frontend asic.
Change this to advertise the Loopback4096 address as /128
2021-06-15 15:53:58 -07:00
Neetha John
27fe654388
Add support to parse bandwidth for DeviceMgmtLinks (#7883)
Add support to parse bandwidth for DeviceMgmtLinks
2021-06-15 15:02:16 -07:00
Neetha John
86c2f4248c
Update PG profile settings for Arista-7050QX-32S-S4Q31 (#7674)
PG profile settings need to be aligned with Arista-7050-QX-32S
2021-06-15 15:01:40 -07:00