You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@pavel-shirshov Instead of checking uptime? Can we check /proc/cmdline once on database postStartAction and put a mark in new state DB table (lets say 'FAST_REBOOT|system' entry to be aligned with warm reboot). Every service doing start checks the database. On config reload the state DB is cleared. What do you think?
I think that it wouldn't be enough.
If someone restart bgp container without reloading config, bgpd will think we're still in fast-reboot mode.
I think we should disable FAST-REBOOT mode in 3 minutes.
We can as you propose put the key into the DB and remove it in 3 minutes (or by config reload).
In the scripts we will check the key.
Will it work for you?
@pavel-shirshov I wasn't aware about BGP case, a new fastboot-finalizer service (similarly to warmboot-service) can remove the key after 3 min. It will work for me.
Description
After the fast reboot, on the next config reload, the system behaves in the same way as during the fast reboot flow.
It seems that the boot type detection logic in sonic-buildimage and sonic-sairedis are not aligned:
sonic-buildimage/files/scripts/syncd.sh
sonic-sairedis/syncd/scripts/syncd_init_common.sh
Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: