Commit Graph

1494 Commits

Author SHA1 Message Date
Joe LeVeque
41800b063a [supervisor] Fix crash if system clock rolls back within startsecs; Refactor patch (#2624) 2019-03-04 19:21:17 +00:00
Andriy Moroz
2c5bd96e1b Update SAI and SDK (v4.2.7304) (#2612)
This fixes FDB events for SONiC

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2019-02-27 10:26:35 -08:00
Joe LeVeque
2a8af2705e [201803] [services] Restart SwSS service upon unexpected critical process exit (#2546)
* [service] Restart SwSS Docker container if orchagent exits unexpectedly

* [dhcp_relay] Use STATE_DB to determine whether interfaces are ready

* Supervisor now autorestarts rsyslogd upon unexpected exit

* Add other critical processes to event listener

* Make supervisor-proc-exit-listener script global, have it read from 'critical_processes' file inside container

* Add SwSS to 'WantedBy=' option of services which should be started along with SwSS
2019-02-26 11:26:14 -08:00
Joe LeVeque
ec694a537b [201803] Set a rate limit on syslog messages from all Docker containers (#2574) 2019-02-26 11:25:50 -08:00
Ying Xie
08801d3586
[201803 sub-module] advance sonic-swss submodule (#2598)
Submodule src/sonic-swss e7bb548..2e8723b:
  > Fix incorrect ACL CRM increment, resulting orchagent crash (#800)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-02-22 17:56:22 -08:00
Prince Sunny
8e887e2b07 Disable IPv6 ra for eth0 interface (#2493)
* Disable IPv6 ra for eth0 interface
2019-02-21 21:43:56 +00:00
Guohan Lu
3eea909d5e [quagga]: collect quagga-dbg debian package
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2019-02-16 00:17:56 +00:00
Joe LeVeque
fe01470fe1 [201803] [radvd] Build radvd from source; Patch so as not to treat out-of-range MTU as an error (#2552)
* Build radvd from source and patch to ignore out-of-range MTU size

* Add comments to radvd patch, remove line instead of commenting it out
2019-02-12 14:53:21 -08:00
Shuotian Cheng
b233d6f1c4 [Broadcom]: Update SAI to 3.1.3.4-19 (#2554)
Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2019-02-11 21:53:40 -08:00
paavaanan
e77a7b12fb [devices]: Dell SMF driver hwmon number reorder fix for Dell S6100/Z9100 (#2542) 2019-02-08 22:06:15 -08:00
lguohan
e26043ac3c [build]: use vfs storage driver to build dockers (#2016)
seen issues to build dockers using aufs in ubuntu 18.04

Immedidate dockers are exported to docker file and then
imported into sonic image. Thus, whether using vfs or aufs
as the storage driver does not matter for the immediate build.

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2019-02-08 20:35:04 +00:00
Guohan Lu
c4b8e36dc3 [submodule]: update sonic-swss
* e7bb548 2018-11-28 | [aclorch]: Store control plane ACL tables in orchagent (#708) (HEAD, origin/201803) [Shuotian Cheng]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2019-02-08 09:30:37 +00:00
Praveen Chaudhary
e117802c51 [ntp]: Do not disable reader for error ENOBUFS (#2529)
Need to build NTP 4.2.6 locally due to a Bug in NTP 4.2.6.

Changes:
1.) Remove 'apt-get ntp' step from build_debian.sh.
2.) Add NTP package as part of base image in slave.mk.
3.) NTP Makefile for Sonic Build System rules/ntp.mk.
4.) NTP Source Makefile src/ntp/Makefile.
5.) Patch to fix the issure src/ntp/patch.

Signed-off-by: Praveen Chaudhary<pchaudhary@linkedin.com>

* [src/ntp/Makefile]: DSC file URL points to sonic storage.

Signed-off-by: Praveen Chaudhary<pchaudhary@linkedin.com>

* [src/ntp/Makefile]: Changes to build with sonic blob.
2019-02-06 17:33:56 -08:00
Guohan Lu
9fad56fc82 [submodule]: update sonic-quagga
* 9d651b9 2019-01-30 | Add debug messages for bgp route advertisement (#30) (HEAD, origin/debian/0.99.24.1, origin/HEAD) [pavel-shirshov]
* 4b7825c 2018-10-12 | [security] Fix double free of unknown attribute (Quagga-2018-1114) [zhenggen-xu]
* 3ede63f 2018-10-10 | [security] debug print of received NOTIFY data can over-read msg array (Quagga-2018-1550) [zhenggen-xu]
* 3c64a8c 2018-10-10 | [security] Fix infinite loop on certain invalid OPEN messages (Quagga-2018-1975) [zhenggen-xu]
* 3348a33 2018-09-12 | CLI for BGP-GR restart-timer (#24) [Rodny Molina]
* a0630b7 2018-08-12 | Add support of custom ip dscp value for bgp sessions (#22) [pavel-shirshov]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2019-02-02 01:27:31 +00:00
Wenda Ni
8fda69389e [QoS]: Qos config change (#2504)
* a7050-QX-32S, a7050-QX32, s6000: 1) dscp mapping; 2) DWRR

a7060-Q32, a7060-C32, a7060-D48C8, s6100, z9100-C32, z9100-D48C8, a7260-D108C8 mmu setting change:
1) Update headroom pool size; Update ingress service pool and egress lossy pool sizes accordingly;
2) Add DSCP 48 to TC 6 mapping;
3) scheduler weight redistribute

Signed-off-by: Wenda Ni <wenni@microsoft.com>

* Correct format

Signed-off-by: Wenda <wenni@microsoft.com>

* Link queue 2 to lossy buffer
Add scheduling weight to queue 2

Signed-off-by: Wenda <wenni@microsoft.com>

* Link pg 2 to lossy buffer

Signed-off-by: Wenda <wenni@microsoft.com>

* Add tc to pg, tc to queue, pfc to queue mapping for 2, 6 (and 7)

Signed-off-by: Wenda <wenni@microsoft.com>
2019-02-01 17:25:10 -08:00
Guohan Lu
4b70ae9467 [submodule]: update sonic-utilities
518ff41 2019-01-28 | Revert "Fix the ipv6 address lost issue with current config CLI (#331)" (HEAD, origin/201803) [Guohan Lu]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2019-01-28 17:13:40 +00:00
Joe LeVeque
a67a937475 [lldp] For MGMT port, if port alias is available, use it for Port ID subtype; otherwise use port name (#2445) 2019-01-25 20:44:15 +00:00
Joe LeVeque
c82be495b9 [caclmgrd] Don't crash if we find empty/null rule_props (#2475)
* [caclmgrd] Don't crash if we find empty/null rule_props
2019-01-25 20:44:01 +00:00
paavaanan
a18464b334 [devices]: platform_reboot support for Dell S6100/Z9100 platforms (#2480)
* platform_reboot support for Dell S6100/Z9100 platforms
2019-01-25 12:18:25 -08:00
sridhar-ravindran
a18ec656d1 [devices]: Fix for build break for device s6100/z9100 from #2441 checkin (#2477) 2019-01-23 09:23:39 -08:00
Wenda Ni
aa33825441 [Qos]: Remove WRED on lossy queues on msn2700 (#2456)
Signed-off-by: Wenda <wenni@microsoft.com>
2019-01-16 18:45:47 -08:00
sridhar-ravindran
39f0c251fa [devices]: Porting MUX reset logic to fix probe fails (#2441) 2019-01-14 09:56:17 -08:00
Shuotian Cheng
95a0a673c1 [libteam]: Add patch to update orig_hwaddr unconditionally (#2425) 2019-01-08 19:33:54 -08:00
Guohan Lu
e45f519619 [submodule]: * 06c73ca 2019-01-04 | [sonic_instaler]: use triple sync to flush fs changes to disk (#425) (HEAD, origin/201803) [lguohan] 2019-01-04 19:29:36 +00:00
Wenda Ni
a46903b3f5 [buffer]: Update pg headroom (10% safe margin) & egress service pool for a7050 and s6000 (#2407)
Signed-off-by: Wenda <wenni@microsoft.com>
2019-01-02 09:50:07 -08:00
shawnli-van
69d5d61eb8 [devices]: Fix arista-convertfs for aligning flash via sfdisk in Jessie (#2402) (#2406)
The sfdisk in Jessie use unit Cylinder by default. To perform 1M
aligning partition, 2048 sector unit is desirable instead.
2018-12-31 09:40:11 -08:00
Guohan Lu
1a84813f0d [submodule]: update sonic-utilities
HEAD is now at 2aa8ced [sonic-utilities/scripts] Fixing FP ports issue (#268)

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-12-26 19:36:00 +00:00
Joe LeVeque
524cfebc23 [docker-syncd-brcm] Add 'startsecs=0' to ledinit process (#2366) 2018-12-17 08:56:43 +00:00
Guohan Lu
2933665c16 [baseimage]: force create symlink in union-fsck
fix error in update-initramfs when install kernel package in sonic

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-12-14 09:30:27 +00:00
Guohan Lu
92a80702d5 [submodule]: update sonic-linux-kernel
3893844 2018-12-14 | uart: fix race in uart_write() (#74) (HEAD, azure/201803) [lguohan]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-12-14 09:29:20 +00:00
Joe LeVeque
5479286502 [boot] Start ntp-config service after all Docker containers are started (#2303) 2018-12-11 14:25:20 +00:00
Guohan Lu
ad2812ae8d [submodules]: update sonic-quagga
cde2966 2018-06-26 | * Reduce severity of log 'vty connect from' from INFO to DEBUG (#21) (HEAD) [pavel-shirshov]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-12-11 14:18:09 +00:00
paavaanan
3f16fb0255 [Dell] sensors.conf files for S6100/Z9100 (#2282)
* [Dell] sensors.conf files for S6100/Z9100

Addded sensors.conf file for S6100/Z9100 switches.
sensorsd daemon can able to write syslogs when alarms are raised for any specific attribute.
Added alarm supprot for onboard sensors.
Tuned return values of attributes to avoid "Bad Adddress" proc errors.
Exported SMF version.

* Converted TAB to Spaces
2018-12-04 10:26:46 -08:00
simonJi2018
ecb8e53da1 update sdk and sai for 201803 (#2331)
* uodate sai and sdk for fix some bug and add some filt to device/accton and ingrasys for support different sfp module and hw version

* update device config for support s9230 R0B and update port_config.nps and ini

* update device file

* fix some code error

* fix init chip config data error
2018-12-02 23:14:01 -08:00
Shuotian Cheng
f5edde9185
[utilities]: Update sonic-utilities submodule (#2307)
Update sonic-utilities submodule:

ecnconfig check against invalid argument value (#343)
pfcwd start commd pre-check fix (#339)
[acl_loader]: Add support for parsing input interface (#386)

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2018-11-27 15:53:14 -08:00
Qi Luo
6a24eb4151 Fix redis-py version to 2.10.6 (#2273)
* Fix redis-py version

Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>

* Update submodule sonic-py-swsssdk: Fix redis-py version to 2.10.6

Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-11-19 20:39:44 +00:00
lguohan
92341b8e06 [submodule]: update sonic-py-swsssdk (#2271)
* 8113744 2018-11-18 | Force key/value convertion to str before send to redis lib (#39) (HEAD, origin/master, origin/HEAD) [Taoyu Li]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-11-19 20:39:38 +00:00
Wenda Ni
6da462e7c1 [buffer]: Update pg headroom egress service pool for a7050 and s6000 (#2261)
Signed-off-by: Wenda <wenni@microsoft.com>
2018-11-16 00:52:32 -08:00
Qi Luo
f7b17608b3 Fix bug: wget rename saved file (#2259)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-11-15 06:12:30 +00:00
Qi Luo
28790056c3 Store thrift source packages in blob (#2255)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-11-14 18:48:31 +00:00
Pradchaya P
bef80b3fc3 [device/dx010] configuration port index start from 1 (#1927)
* update sfputil, port indext start from 1

* DX010 update SKUs port config index

Port index in port_config.ini now start from 1.
* Seastone-DX010-10-50 port config update
* Seastone-DX010-50 port config update
* Seastone-DX010 port config update

* Update dx010 sfputil plugin

 * Implement lpmode set function.
 * Implement transceiver reset function.
 * Python code style format.

* Remove new line at the end of port_config.ini

 *New line cause parsing error in sfputilbase.

* Add get_transceiver_change_event method

 *This needed by new sfputilbase implement.

* Fix unintended line breaks
2018-11-07 23:09:22 +00:00
Joe LeVeque
e710527382 [caclmgrd] Add a rule to allow all connections from localhost (#1858) 2018-11-03 12:54:28 +00:00
Ying Xie
f089d14970 [console speed] lock console speed to start up speed (#2222)
Auto negotiating console speed could cause sonic to lock on a wrong
speed under rare conditions. The only way to come out of the wrong
speed is to issue line break or restart console service with forced
speed, or reboot sonic.

Lock down the console speed to avoid these situations.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-11-01 15:11:27 -07:00
Andriy Moroz
ce54ef7256 [mellanox]: Update MFT tools to v4.9.0 (#2207)
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2018-10-30 01:49:36 -07:00
pavel-shirshov
e2d565ae03 [teamd] Force team device recreation in case it already exists (#2168)
* Force team device recreation in case it already exists
2018-10-18 22:22:45 +00:00
Taoyu Li
2aac4c4822 [tacplus nss conf] tacplus should be before compat (#2163) 2018-10-18 22:22:38 +00:00
pavel-shirshov
969ba5b2a7 [lldpd]: Use kernel autoprobe for netlink socket .nl_pid portion of the address (#2164) 2018-10-18 02:32:50 +00:00
Qi Luo
6a9bfafb10 [syncd] Treat bcmcmd as a supervisor task so we could collect stdout/stderr (#1825) 2018-10-17 15:39:04 +00:00
paavaanan
aa08555299 [devices]: Dell Z9100 T0 T1 MMU/QoS fixes (#2126)
* Dell Z9100 T0 PFC fixes

* Addressed review comments. Fixed QoS, Changed SKU's, and sorted bcm.config

* Adressed review comments and modified T0 and T1 profiles
2018-10-15 18:14:26 -07:00
Samuel Angebault
15ae2a799c [devices]: Align flash partition at 1M (#2104)
Flashes used for the 7050QX-32 and 7050QX-32S have a fw issue.
The best option to solve the problem is to upgrade to a newer firmware.
However this can only be done while in memory and take 10 seconds.
Adding an upgrade mechanism is possible but would need more
consideration as flashing the firmware and reformating the flash will
exceed the fast-reboot requirements.

A quick mitigation is to align the ext4 partition that we create on
these vfat based system on a 4k boundary.
Here we chose 1M instead but it's the same.
Newer version of sfdisk do this automatically but the one in SONiC
today doesn't have this behavior.

This workaround will only reduce the pace of the flash health
degradation. The only long term fix is to flash the firmware.
2018-10-15 22:24:08 +00:00