-
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
[202405] delayed ssh service start due to dependency caused by banner-config service #19661
Comments
@SviatoslavBoichuk , please suggest on this. Thanks |
@liat-grozovik @SviatoslavBoichuk Could you help troubleshoot this issue. |
Hi @abdosi , If I remove banner-config.service, I observed that on chassis RP,
With banner-config.service, it started 51sec after database service:
So, thats a ~2min 50 sec delay introduced on chassis RP by banner-config |
@mlok-nokia @kenneth-arista : Are you seeing similar issue ? |
@qiluo-msft : Can you check this ? |
Here is the data from Arista on
Without banner-config.service:
|
Hi @arista-nwolfe , is this data from Chassis supervisor? If not, could you please compare on Chassis supervisor? Thanks |
Hi @anamehra sorry I was running that on the linecard.
Without
|
@bingwang-ms - can we bring this issue up with nvidia? It looks a new service ( banner-config.service.) introduced by Nvidia affected timing and caused some tests failed. @liat-grozovik @SviatoslavBoichuk |
@volodymyrsamotiy Can you help find the right owner for this issue? We will discuss it in the next meeting. |
Hi @fastiuk, kindly update the progress on this, thanks |
Discussed in weekly issue triage meeting, PR will be raised soon by @fastiuk |
Somehow, Our OC run is ok. Not sure if we have delayed the OC testing in our private branch. But we saw the sshd started 2min28 seconds late after all databases started with 202405 image.
|
- Why I did it Fixes sonic-net#19661 - How I did it Removed the dependency on sshd service. Banner service will save the config data into the file after setting the config, so it will be available after the boot in any case - How to verify it Reboot the switch and wait for the serial prompt. SSH should become available after a couple of seconds. Signed-off-by: Yevhen Fastiuk <[email protected]>
- Why I did it Fixes #19661 - How I did it Removed the dependency on sshd service. Banner service will save the config data into the file after setting the config, so it will be available after the boot in any case - How to verify it Reboot the switch and wait for the serial prompt. SSH should become available after a couple of seconds. Signed-off-by: Yevhen Fastiuk <[email protected]>
- Why I did it Fixes sonic-net#19661 - How I did it Removed the dependency on sshd service. Banner service will save the config data into the file after setting the config, so it will be available after the boot in any case - How to verify it Reboot the switch and wait for the serial prompt. SSH should become available after a couple of seconds. Signed-off-by: Yevhen Fastiuk <[email protected]>
- Why I did it Fixes sonic-net#19661 - How I did it Removed the dependency on sshd service. Banner service will save the config data into the file after setting the config, so it will be available after the boot in any case - How to verify it Reboot the switch and wait for the serial prompt. SSH should become available after a couple of seconds. Signed-off-by: Yevhen Fastiuk <[email protected]>
- Why I did it Fixes sonic-net#19661 - How I did it Removed the dependency on sshd service. Banner service will save the config data into the file after setting the config, so it will be available after the boot in any case - How to verify it Reboot the switch and wait for the serial prompt. SSH should become available after a couple of seconds. Signed-off-by: Yevhen Fastiuk <[email protected]>
- Why I did it Fixes sonic-net#19661 - How I did it Removed the dependency on sshd service. Banner service will save the config data into the file after setting the config, so it will be available after the boot in any case - How to verify it Reboot the switch and wait for the serial prompt. SSH should become available after a couple of seconds. Signed-off-by: Yevhen Fastiuk <[email protected]>
Description
Some Sonic-mgmt tests fail after RP reboot reporting host unreachable.
On debugging, it is observed that ssh service takes more time on 202405 image to start compared to 202305 image.
There is a new service introduced in 202405, banner-config.service.
This service is setup as:
config-setup.service itself has dependency on database service. This pushes ssh service to start after config-setup and banner-config.
Without banner-config service, ssh had no dependency on database and used to start before database service.
Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: