Skip to content

[sairedis]: update sairedis submodule#177

Merged
lguohan merged 1 commit intosonic-net:masterfrom
lguohan:sairedis
Jan 4, 2017
Merged

[sairedis]: update sairedis submodule#177
lguohan merged 1 commit intosonic-net:masterfrom
lguohan:sairedis

Conversation

@lguohan
Copy link
Collaborator

@lguohan lguohan commented Jan 3, 2017

No description provided.

@lguohan lguohan merged commit dcc9d01 into sonic-net:master Jan 4, 2017
Kalimuthu-Velappan pushed a commit to Kalimuthu-Velappan/sonic-buildimage that referenced this pull request Sep 12, 2019
madhanmellanox pushed a commit to madhanmellanox/sonic-buildimage that referenced this pull request Mar 23, 2020
…t#177)

- Fix retry logic when the map is yet to create
- Refactor code to suppress logs that are not errors

Signed-off-by: Shuotian Cheng <[email protected]>
dmytroxshevchuk pushed a commit to dmytroxshevchuk/sonic-buildimage that referenced this pull request Aug 31, 2020
abdosi added a commit that referenced this pull request Nov 19, 2020
[RFC4292][Namespace][201911]: Fix implementation of RouteUpdater for
 multi-asic platform (#177)

Signed-off-by: Abhishek Dosi <[email protected]>
xumia pushed a commit to xumia/sonic-buildimage-1 that referenced this pull request Feb 16, 2021
vdahiya12 added a commit to vdahiya12/sonic-buildimage that referenced this pull request Apr 7, 2021
872f0a3 [Y-Cable] refactor get_firmware_version to comply with all vendors (sonic-net#182)
cc162d6 [sonic_y_cable]: Decorate all method for mux simulator (sonic-net#181)
fa02416 Change import order in Ycable helper and EEPROM read bytearray change in SFP plugin (sonic-net#177)
0b60982 [thermal_base] Add setter functions for critical thresholds (sonic-net#180)
10dc16f [y_cable] add support for enable/disable autoswitch feature on Y cable (sonic-net#176)
c6c81a8 [fan_drawer_base.py] Fix FanDrawer get_status_led interface (sonic-net#175)

Signed-off-by: vaibhav-dahiya <[email protected]>
lguohan pushed a commit that referenced this pull request Apr 8, 2021
872f0a3 [Y-Cable] refactor get_firmware_version to comply with all vendors (#182)
cc162d6 [sonic_y_cable]: Decorate all method for mux simulator (#181)
fa02416 Change import order in Ycable helper and EEPROM read bytearray change in SFP plugin (#177)
0b60982 [thermal_base] Add setter functions for critical thresholds (#180)
10dc16f [y_cable] add support for enable/disable autoswitch feature on Y cable (#176)
c6c81a8 [fan_drawer_base.py] Fix FanDrawer get_status_led interface (#175)

Signed-off-by: vaibhav-dahiya <[email protected]>
yxieca pushed a commit that referenced this pull request Apr 8, 2021
872f0a3 [Y-Cable] refactor get_firmware_version to comply with all vendors (#182)
cc162d6 [sonic_y_cable]: Decorate all method for mux simulator (#181)
fa02416 Change import order in Ycable helper and EEPROM read bytearray change in SFP plugin (#177)
0b60982 [thermal_base] Add setter functions for critical thresholds (#180)
10dc16f [y_cable] add support for enable/disable autoswitch feature on Y cable (#176)
c6c81a8 [fan_drawer_base.py] Fix FanDrawer get_status_led interface (#175)

Signed-off-by: vaibhav-dahiya <[email protected]>
daall added a commit to daall/sonic-buildimage that referenced this pull request May 7, 2021
sonic-swss
- [flex-counters] Delay flex counters stats init for faster boot time [202012] (sonic-net#1736)

sonic-swss-common
- [swig] allow threads (sonic-net#477)

sonic-utilities
- [sfpshow] Gracefully handle improper 'specification_compliance' field (sonic-net#1594)

sonic-platform-daemons
- [xcvrd] Change the y_cable presence logic to use "mux_cable" table as identifier from Config DB (sonic-net#176)
- [xcvrd] Enhance Media Settings (sonic-net#177)

Signed-off-by: Danny Allen <[email protected]>
daall added a commit that referenced this pull request May 10, 2021
)

* [202012][swss/swss-common/utilities/platform-daemons] Update submodule

sonic-swss
- [flex-counters] Delay flex counters stats init for faster boot time [202012] (#1736)

sonic-swss-common
- [swig] allow threads (#477)

sonic-utilities
- [sfpshow] Gracefully handle improper 'specification_compliance' field (#1594)

sonic-platform-daemons
- [xcvrd] Change the y_cable presence logic to use "mux_cable" table as identifier from Config DB (#176)
- [xcvrd] Enhance Media Settings (#177)

Signed-off-by: Danny Allen <[email protected]>
lguohan pushed a commit that referenced this pull request May 18, 2021
This PR updates the following commits in sonic-platform-daemons

e60804c [xcvrd] add support for logging mux_metrics events into state DB (#185)
807b304 [psud] Add PSU Hardware Revision to Redis STATE_DB (#179)
d0be634 [muxcable] Remove Xcvrd Sleep (#174)
cc3803f [thermalctld] Enable stopping thermal manager (#180)
665fcd9 [xcvrd] Fix crash for QSFP DD media (#181)
cdabd09 [xcvrd] Change the y_cable presence logic to use "mux_cable" table as identifier from Config DB (#176)
4be4306 [xcvrd] Enhance Media Settings (#177)

Signed-off-by: vaibhav-dahiya <[email protected]>
raphaelt-nvidia pushed a commit to raphaelt-nvidia/sonic-buildimage that referenced this pull request May 23, 2021
872f0a3 [Y-Cable] refactor get_firmware_version to comply with all vendors (sonic-net#182)
cc162d6 [sonic_y_cable]: Decorate all method for mux simulator (sonic-net#181)
fa02416 Change import order in Ycable helper and EEPROM read bytearray change in SFP plugin (sonic-net#177)
0b60982 [thermal_base] Add setter functions for critical thresholds (sonic-net#180)
10dc16f [y_cable] add support for enable/disable autoswitch feature on Y cable (sonic-net#176)
c6c81a8 [fan_drawer_base.py] Fix FanDrawer get_status_led interface (sonic-net#175)

Signed-off-by: vaibhav-dahiya <[email protected]>
carl-nokia pushed a commit to carl-nokia/sonic-buildimage that referenced this pull request Aug 7, 2021
872f0a3 [Y-Cable] refactor get_firmware_version to comply with all vendors (sonic-net#182)
cc162d6 [sonic_y_cable]: Decorate all method for mux simulator (sonic-net#181)
fa02416 Change import order in Ycable helper and EEPROM read bytearray change in SFP plugin (sonic-net#177)
0b60982 [thermal_base] Add setter functions for critical thresholds (sonic-net#180)
10dc16f [y_cable] add support for enable/disable autoswitch feature on Y cable (sonic-net#176)
c6c81a8 [fan_drawer_base.py] Fix FanDrawer get_status_led interface (sonic-net#175)

Signed-off-by: vaibhav-dahiya <[email protected]>
carl-nokia pushed a commit to carl-nokia/sonic-buildimage that referenced this pull request Aug 7, 2021
This PR updates the following commits in sonic-platform-daemons

e60804c [xcvrd] add support for logging mux_metrics events into state DB (sonic-net#185)
807b304 [psud] Add PSU Hardware Revision to Redis STATE_DB (sonic-net#179)
d0be634 [muxcable] Remove Xcvrd Sleep (sonic-net#174)
cc3803f [thermalctld] Enable stopping thermal manager (sonic-net#180)
665fcd9 [xcvrd] Fix crash for QSFP DD media (sonic-net#181)
cdabd09 [xcvrd] Change the y_cable presence logic to use "mux_cable" table as identifier from Config DB (sonic-net#176)
4be4306 [xcvrd] Enhance Media Settings (sonic-net#177)

Signed-off-by: vaibhav-dahiya <[email protected]>
mlok-nokia pushed a commit to mlok-nokia/sonic-buildimage that referenced this pull request Jan 24, 2022
#### Description
1. Currently in sonic, for 400G pre-emphasis settings is not programmed via common methodology. 
We use Vendor Name + PN to program which would consume memory and never ending process as we need to add Vendor name + PN for every optic.
2.  For 100G/40G optics, specification compliance is not displayed. Only for DAC, the specification compliance was displayed.

#### Motivation and Context
1. With this PR, we can program the pre-emphasis settings for both DAC,AOC and optics.
QSFP_DD parser doesn't have specification compliance which was need to program pre-emphasis settings.
The platform API code can be changed to return the type_of_media_interface for 400G media specification compliance, so that the type of media can be determined.
     https://github.com/Azure/sonic-platform-common/blob/a95834b65a9f3b17ab1ce4e1ba5d1a60102e4507/sonic_platform_base/sonic_sfp/sff8024.py#L104
2. To address 100G/40G optic, introduced a new key "QSFP28 - *" / "QSFP+ - *" (type_abbrv_name followed by a hyphen) .
The same key can be defined in vendor specific media_settings.json. 
These changes doesn't modify the existing behavior but additionally addresses the above mentioned issues.
Vendors can still add "Vendor_name + PN" in media_settings.json to program media settings if needed.
sg893052 pushed a commit to sg893052/sonic-buildimage that referenced this pull request Apr 25, 2022
yxieca pushed a commit that referenced this pull request Mar 26, 2023
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]
qiluo-msft pushed a commit that referenced this pull request Apr 4, 2023
Include commit: 
```
6ea1f03 Jing Zhang      Tue Mar 28 08:42:44 2023 -0700  [202012] remove chatty log message for peer link event (#192)
198292d Jing Zhang      Tue Mar 21 17:53:11 2023 -0700  [active-standby] avoid unnecessary mux state probe after configuring to `auto` (#183)
47de88e Jing Zhang      Mon Mar 20 18:14:25 2023 -0700  [202012] Avoid unnecessary error logs from `handleGetServerMacAddressNotification` #96 (#185)
8a33319 Jing Zhang      Mon Mar 6 11:53:27 2023 -0800   loose link down swithcover condition (#178)
c2bf08d Jing Zhang      Thu Mar 16 18:59:10 2023 -0700  fix ActiveStandbyStateMachine referrence (#186)
99d26af Jing Zhang      Thu Mar 16 18:58:48 2023 -0700  [ci] Fix apt-get install unable locate package issue. (#177) (#187)
d893be9 Longxiang Lyu   Wed Feb 22 12:55:44 2023 +0800  [active-standby] Toggle to standby if link down and config auto (#173)
```
snider-nokia pushed a commit to snider-nokia/sonic-buildimage that referenced this pull request Apr 6, 2023
… in SFP plugin (sonic-net#177)

- Import of sonic_platform before logger when platform API is not available leads to non import of logger resulting in xcvrd crash
- Since string and byte comparison returns true in python2 current check for differentiating python2 and 3 in EEPROM read fails.

Co-authored-by: V P Subramaniam <[email protected]>
vivekrnv pushed a commit to vivekrnv/sonic-buildimage that referenced this pull request Apr 28, 2023
…nic-net#177)

f1fb64b04b: driver-i2c-mux-pca954x-allow-management-of-device-idle-stat.patch (v5.2-rc1)
ddd7c492d: i2c: mux: pca954x: remove support for unused platform data (v5.2-rc1)

tested on celestica dx010

Signed-off-by: Guohan Lu [email protected]
mssonicbld added a commit that referenced this pull request Jun 22, 2023
#15576)

#### Why I did it
src/linkmgrd
```
* fc6e299 - (HEAD -> 202211, origin/202211) [active-standby] Enforce switchover based on heartbeats when mux probe keeps failing (#184) (2 hours ago) [Jing Zhang]
* 5c6332d - Re-handle pre-init mux config notification after state machine init (#202) (2 hours ago) [Longxiang Lyu]
* c49a5ef - [active-standby][bsl] fix no mux probe issue (#201) (2 hours ago) [Jing Zhang]
* 2d62ef1 - Enable debug symbols (#199) (2 hours ago) [Longxiang Lyu]
* f952b64 - [active-active] Add mux server state correction mechanism (#191) (2 hours ago) [Longxiang Lyu]
* e6b1bfc - [ci] fix azure pipeline (#190) (2 hours ago) [Jing Zhang]
* 615ed21 - [active-standby] Enforce switchover based on heartbeats when mux probe keeps failing (#184) (2 hours ago) [Jing Zhang]
* 3adfc69 - [active-active] add state transition handler for (LinkProber: Unknown, MuxState: Active, LinkState: Down) (#179) (2 hours ago) [Jing Zhang]
* 6fb9a0b - loose link down swithcover condition (#178) (2 hours ago) [Jing Zhang]
* 8ffbd8a - [ci] Fix apt-get install unable locate package issue. (#177) (2 hours ago) [Liu Shilong]
* 3dfbdd7 - [active-active] link operational down didn't trigger toggle to standby if `MuxUnknown` event arrives first.  (#175) (2 hours ago) [Jing Zhang]
* 68c06d9 - [active-active] Toggle to standby if default route is missing (#171) (2 hours ago) [Longxiang Lyu]
* 1592cd3 - [active-active] fix issue that interfaces get stuck in `active` if service starts up with link state down (#169) (2 hours ago) [Jing Zhang]
* a96105f - Fix the warning of unused variables (#167) (2 hours ago) [Longxiang Lyu]
* 984ffe3 - Fix mux config when gRPC connection is lost (#166) (2 hours ago) [Longxiang Lyu]
* 4d0b457 - [active-active] force switch when config == active && target state == active (#164) (2 hours ago) [Jing Zhang]
* 32bd2bb - Use github code scanning instead of LGTM (#157) (2 hours ago) [Liu Shilong]
* 6f23fe2 - [active-active] update linkmgr health label definition (#163) (3 hours ago) [Jing Zhang]
```
#### How I did it
#### How to verify it
#### Description for the changelog
mssonicbld added a commit that referenced this pull request Nov 19, 2024
…utomatically (#20850)

#### Why I did it
src/sonic-host-services
```
* c05d43e - (HEAD -> master, origin/master, origin/HEAD) featured: use run() to run cli commands in place of check_call() (#177) (6 hours ago) [anamehra]
```
#### How I did it
#### How to verify it
#### Description for the changelog
mssonicbld added a commit that referenced this pull request Nov 23, 2024
…utomatically (#20903)

#### Why I did it
src/sonic-host-services
```
* b98abec - (HEAD -> 202405, origin/202405) featured: use run() to run cli commands in place of check_call() (#177) (9 hours ago) [anamehra]
```
#### How I did it
#### How to verify it
#### Description for the changelog
dgsudharsan pushed a commit to dgsudharsan/sonic-buildimage that referenced this pull request May 12, 2025
…AD automatically (sonic-net#1101)

#### Why I did it
src/sonic-utilities
```
* 34403837 - (HEAD -> 202412, origin/202412) Transceiver CLI changes to support DOM and STATUS table related changes (sonic-net#176) (18 hours ago) [mssonicbld]
* 539238ee - [trim]: Add Packet Trimming CLI (sonic-net#177) (18 hours ago) [mssonicbld]
```
#### How I did it
#### How to verify it
#### Description for the changelog
patrickmacarthur pushed a commit to patrickmacarthur/sonic-buildimage that referenced this pull request Dec 11, 2025
…tomatically (sonic-net#1874)

#### Why I did it
src/sonic-swss
```
* 66143b89 - (HEAD -> 202405, origin/202405) [202405] Fix the Unit Test failures Introduced in PR sonic-net#168 (sonic-net#177) (64 minutes ago) [saksarav-nokia]
* d1b64106 - Update the COUNTER_DB with the new Port Object-Id when the Port is removed and created when the Port Speed is changed dynamically via GCU (sonic-net#168) (2 days ago) [saksarav-nokia]
```
#### How I did it
#### How to verify it
#### Description for the changelog
mssonicbld added a commit that referenced this pull request Jan 31, 2026
…ically (#25039)

#### Why I did it
src/sonic-restapi
```
* df38186 - (HEAD -> 202511, origin/202511) [Pfx_len] Extend prefix length for routes and advertisement (#182) (9 days ago) [mssonicbld]
* c80e7a8 - Changing the wildcard matching logic for client cert common names (#179) (2 weeks ago) [mssonicbld]
* 6770863 - Adding support for wildcard CN matching during client cert authentication (#177) (2 weeks ago) [mssonicbld]
* a521a1b - [202511] upgrade debian to bookworm (#174) (2 weeks ago) [yijingyan2]
```
#### How I did it
#### How to verify it
#### Description for the changelog
jianyuewu pushed a commit to jianyuewu/sonic-buildimage that referenced this pull request Feb 10, 2026
…ic-net#177)

Fixes: sonic-net#20662

During some reboots, it was observed that some times featured.service script command fails to start the services like pmon, snmp, lldp etc.

From logs, it was observed that 'sudo systemctl enable ' command failed with errorcode 13 (SIGPIPE.

2024 Oct 29 01:31:26.191236 aaa14-rp INFO featured: Running cmd: '['sudo', 'systemctl', 'unmask', 'pmon.service']'
2024 Oct 29 01:31:26.211167 aaa14-rp INFO systemd[1]: Reloading.
2024 Oct 29 01:31:27.212381 aaa14-rp INFO featured: Running cmd: '['sudo', 'systemctl', 'enable', 'pmon.service']'
2024 Oct 29 01:31:27.232428 aaa14-rp INFO systemd[1]: Reloading.
2024 Oct 29 01:31:28.135667 aaa14-rp ERR featured: ['sudo', 'systemctl', 'enable', 'pmon.service'] - failed: return code - -13, output:#012None
2024 Oct 29 01:31:28.135746 aaa14-rp ERR featured: Feature 'pmon.service' failed to be enabled and started

2024 Oct 29 01:34:08.661711 aaa14-rp INFO featured: Running cmd: '['sudo', 'systemctl', 'enable', 'gnmi.service']'
2024 Oct 29 01:34:08.677242 aaa14-rp INFO systemd[1]: Reloading.
2024 Oct 29 01:34:09.316554 aaa14-rp ERR featured: ['sudo', 'systemctl', 'enable', 'gnmi.service'] - failed: return code - -13, output:#012None
2024 Oct 29 01:34:09.316791 aaa14-rp ERR featured: Feature 'gnmi.service' failed to be enabled and started
The issue does not recover and the pmon and other services never starts. On supervisor this also leads to swss, syncd and other related docker to stay down.

In general systemctl enable does not work for some services like pmon, snmp, lldp etc as there is no WantBy directive set for these services in unit file.

The command returns stderr :

"The unit files have no installation config (WantedBy=, RequiredBy=, Also=,
Alias= settings in the [Install] section, and DefaultInstance= for template
units). This means they are not meant to be enabled using systemctl.

Possible reasons for having this kind of units are:
• A unit may be statically enabled by being symlinked from another unit's
  .wants/ or .requires/ directory.
• A unit's purpose may be to act as a helper for some other unit which has
  a requirement dependency on it.
• A unit may be started when needed via activation (socket, path, timer,
  D-Bus, udev, scripted systemctl call, ...).
• In case of template units, the unit is meant to be enabled with some
  instance name specified.
”
featured python script uses subprocess.check_call() function to invoke the command which looks like is not very reliable at handling the stderr and may cause SIGPIPE with big buffer data.

Modifying the function to use subprocess.run() resolves this issue.

run() is more reliable at handing the return data.

Validated the change with multiple reboots.
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.

1 participant