-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
RPC syncd docker image does not start RPC server automatically #2694
Comments
pavel-shirshov
added a commit
to pavel-shirshov/sonic-sairedis
that referenced
this issue
Apr 3, 2019
Fixing sonic-net/sonic-buildimage#2694 Which was caused by moby/moby#38072 Fixing by changing file size. Previously the change from 0 to 1 didn't change the file size, and docker squish optimized the change out.
pavel-shirshov
added a commit
to sonic-net/sonic-sairedis
that referenced
this issue
Apr 18, 2019
* Add a comment to fix the docker issue Fixing sonic-net/sonic-buildimage#2694 Which was caused by moby/moby#38072 Fixing by changing file size. Previously the change from 0 to 1 didn't change the file size, and docker squish optimized the change out.
pettershao-ragilenetworks
pushed a commit
to pettershao-ragilenetworks/sonic-sairedis
that referenced
this issue
Nov 18, 2022
* Add a comment to fix the docker issue Fixing sonic-net/sonic-buildimage#2694 Which was caused by moby/moby#38072 Fixing by changing file size. Previously the change from 0 to 1 didn't change the file size, and docker squish optimized the change out.
8 tasks
StormLiangMS
added a commit
that referenced
this issue
Mar 1, 2023
b8173428 - [GCU] Add Sample Unit Test for RDMA Headroom Pool Size Tuning ([device/celestica] blacklist gpio_ich kernel module on haliburton #2692) (5 hours ago) [isabelmsft] 6f84aae7 - Add begin logs to config reload/config minigraph/warm-reboot/fast-reboot (RPC syncd docker image does not start RPC server automatically #2694) (27 hours ago) [Junchao-Mellanox] e98011f8 - Revert "Secure upgrade ([sonic-cfggen] Multi-key should be in form of (a,b) instead of 'a|b' #2337)" (Add Broadcom XLR/GTS ((BCM9COMX2XMC) support for Tomahawk switch (BCM956960K) #2675) (34 hours ago) [StormLiangMS] eda4e91b - [show][muxcable] add some new commands health, reset-cause, queue_info support for muxcable (DUT takes more than 7 seconds to finish update ip v6 neighbor #2414) (4 days ago) [vdahiya12] 54e26359 - Replace pickle by json (Add autoneg to 7170-Q59S20 #2636) (4 days ago) [Mai Bui]
xumia
pushed a commit
to xumia/sonic-buildimage-1
that referenced
this issue
Mar 10, 2023
b8173428 - [GCU] Add Sample Unit Test for RDMA Headroom Pool Size Tuning ([device/celestica] blacklist gpio_ich kernel module on haliburton sonic-net#2692) (5 hours ago) [isabelmsft] 6f84aae7 - Add begin logs to config reload/config minigraph/warm-reboot/fast-reboot (RPC syncd docker image does not start RPC server automatically sonic-net#2694) (27 hours ago) [Junchao-Mellanox] e98011f8 - Revert "Secure upgrade ([sonic-cfggen] Multi-key should be in form of (a,b) instead of 'a|b' sonic-net#2337)" (Add Broadcom XLR/GTS ((BCM9COMX2XMC) support for Tomahawk switch (BCM956960K) sonic-net#2675) (34 hours ago) [StormLiangMS] eda4e91b - [show][muxcable] add some new commands health, reset-cause, queue_info support for muxcable (DUT takes more than 7 seconds to finish update ip v6 neighbor sonic-net#2414) (4 days ago) [vdahiya12] 54e26359 - Replace pickle by json (Add autoneg to 7170-Q59S20 sonic-net#2636) (4 days ago) [Mai Bui]
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
RPC syncd docker image does not start RPC server automatically;
In the resulting docker syncd rpc image /usr/bin/syncd_init_common.sh has the following line:
However, expected is
At the same time syncd binary in docker image has RPC support, so changing "ENABLE_SAITHRIFT=0" to "ENABLE_SAITHRIFT=1" starts saithrift server.
After some investigation it looks like the modification time of syncd_init_common.sh from syncd_1.0.0_amd64.deb and syncd-rpc_1.0.0_amd64.deb has the same modifiaction time and size:
Since we build docker image with option "--squash" from docker syncd base image, and overwride syncd_init_common.sh by installing syncd-rpc_1.0.0_amd64.deb it looks like squashing process doesn't see a difference and resulting image has old syncd_init_common.sh from base image. See issue : moby/moby#38072
Steps to reproduce the issue:
Describe the results you received:
RPC server does not start
Describe the results you expected:
RPC server starts
Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: