-
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
BGP, teamd, dhcp-relay starts with a delay after an upgrade #13117
Comments
this also failed warm reboot due to the delay. |
In the PR it updated the logic to enable a feature in the FEATURE table in “init_cfg.json”: it reads some additional tables like “DEVICE_RUNTIME_METADATA” to determine whether bgp, teamd should be enabled or not.
When the DUT is rebooted to the new image, nobody takes care of trhe services and they keep masked until 5 minutes later when sonic-host-services restarts the services on handling the FEATURE table. relevant log message
The same syndrome can be observed in warm reboot flow, which causes ~5 minutes traffic drop in warm reboot. |
sonic-net#13117 Signed-off-by: Abhishek Dosi <[email protected]>
…excplicitly (#13283) What I did: Fix : #13117 How I did: During build time mask only those feature/services that are disabled explicitly. Some of the features ((eg: teamd/bgp/dhcp-relay/mux/etc..)) state is determine run-time so for those feature by default service will be up and running and then later hostcfgd will mask them if needed. So Default behavior will be init_cfg.json.j2 during build time make state as disabled then mask the service init_cfg.json.j2 during build time make state as another jinja2 template render string than do no mask the service init_cfg.json.j2 during build time make state as enabled then do not mask the service How I verify: Manual Verification. Signed-off-by: Abhishek Dosi <[email protected]>
…excplicitly (sonic-net#13283) What I did: Fix : sonic-net#13117 How I did: During build time mask only those feature/services that are disabled explicitly. Some of the features ((eg: teamd/bgp/dhcp-relay/mux/etc..)) state is determine run-time so for those feature by default service will be up and running and then later hostcfgd will mask them if needed. So Default behavior will be init_cfg.json.j2 during build time make state as disabled then mask the service init_cfg.json.j2 during build time make state as another jinja2 template render string than do no mask the service init_cfg.json.j2 during build time make state as enabled then do not mask the service How I verify: Manual Verification. Signed-off-by: Abhishek Dosi <[email protected]>
…excplicitly (#13283) (#13296) What I did: Fix : #13117 How I did: During build time mask only those feature/services that are disabled explicitly. Some of the features ((eg: teamd/bgp/dhcp-relay/mux/etc..)) state is determine run-time so for those feature by default service will be up and running and then later hostcfgd will mask them if needed. So Default behavior will be init_cfg.json.j2 during build time make state as disabled then mask the service init_cfg.json.j2 during build time make state as another jinja2 template render string than do no mask the service init_cfg.json.j2 during build time make state as enabled then do not mask the service How I verify: Manual Verification. Signed-off-by: Abhishek Dosi <[email protected]> Signed-off-by: Abhishek Dosi <[email protected]> Co-authored-by: abdosi <[email protected]>
…excplicitly (sonic-net#13283) What I did: Fix : sonic-net#13117 How I did: During build time mask only those feature/services that are disabled explicitly. Some of the features ((eg: teamd/bgp/dhcp-relay/mux/etc..)) state is determine run-time so for those feature by default service will be up and running and then later hostcfgd will mask them if needed. So Default behavior will be init_cfg.json.j2 during build time make state as disabled then mask the service init_cfg.json.j2 during build time make state as another jinja2 template render string than do no mask the service init_cfg.json.j2 during build time make state as enabled then do not mask the service How I verify: Manual Verification. Signed-off-by: Abhishek Dosi <[email protected]>
Description
Steps to reproduce the issue:
Seems this is the PR that caused additional delay: #11796.
Describe the results you received:
BGP, teamd start 5 min after swss
Describe the results you expected:
BGP, teamd start earlier on boot
Output of
show version
:Version based on 14a5ec7
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: