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
Warmboot failure - dataplane disruption seen as services performed cold restart instead of warm.
Steps to reproduce the issue:
Continuous warmboot test on 202012 image.
In one of the iterations, dataplane disruption will be hit.
Describe the results you received:
Although warmboot was done, dataplane downtime was observed.
From the logs it appears that services end up doing cold restart. Hence dataplane was disrupted.
At this point I think services did cold restart as db_migrator failed with below errors and WARM_RESTART_ENABLE_TABLE was not detected from db.
database service had started but container hadn't initialized completely. This could be due to this race condition.
Jul 9 19:13:09 sonic database.sh[936]: True
Jul 9 19:13:09 sonic database.sh[936]: True
Jul 9 19:13:09 sonic db_migrator: :- operator(): DB '{APPL_DB}' is empty with pattern 'INTF_TABLE:*'!
Jul 9 19:13:09 sonic db_migrator: :- operator(): DB '{APPL_DB}' is empty with pattern 'INTF_TABLE:*'!
Jul 9 19:13:09 sonic db_migrator: :- operator(): DB '{APPL_DB}' is empty with pattern 'INTF_TABLE:*'!
Jul 9 19:13:09 sonic db_migrator: :- operator(): DB '{APPL_DB}' is empty with pattern 'INTF_TABLE:*'!
Jul 9 19:13:09 sonic db_migrator: :- operator(): Key 'WARM_RESTART_ENABLE_TABLE|system' field 'enable' unavailable in database 'STATE_DB'
Jul 9 19:13:09 sonic db_migrator: :- operator(): Key 'WARM_RESTART_ENABLE_TABLE|system' field 'enable' unavailable in database 'STATE_DB'
Jul 9 19:13:09 sonic db_migrator: :- operator(): Key 'BUFFER_MAX_PARAM_TABLE|global' field 'mmu_size' unavailable in database 'STATE_DB'
Jul 9 19:13:09 sonic db_migrator: :- operator(): Key 'BUFFER_MAX_PARAM_TABLE|global' field 'mmu_size' unavailable in database 'STATE_DB'
Jul 9 19:13:09 sonic db_migrator: Setting buffer_model to traditional
Jul 9 19:13:09 sonic db_migrator: Setting buffer_model to traditional
Jul 9 19:13:09 sonic db_migrator: :- operator(): DB '{APPL_DB}' is empty with pattern 'COPP_TABLE:*'!
Jul 9 19:13:09 sonic db_migrator: :- operator(): DB '{APPL_DB}' is empty with pattern 'COPP_TABLE:*'!
Jul 9 19:13:09 sonic db_migrator: Caught exception: argument of type 'NoneType' is not iterable
Jul 9 19:13:09 sonic db_migrator: Caught exception: argument of type 'NoneType' is not iterable
Jul 9 19:13:09 sonic database.sh[938]: Traceback (most recent call last):
Jul 9 19:13:09 sonic database.sh[938]: Traceback (most recent call last):
Jul 9 19:13:09 sonic database.sh[938]: File "/usr/local/bin/db_migrator.py", line 668, in main
Jul 9 19:13:09 sonic database.sh[938]: File "/usr/local/bin/db_migrator.py", line 668, in main
Jul 9 19:13:09 sonic database.sh[938]: result = getattr(dbmgtr, operation)()
Jul 9 19:13:09 sonic database.sh[938]: result = getattr(dbmgtr, operation)()
Jul 9 19:13:09 sonic database.sh[938]: File "/usr/local/bin/db_migrator.py", line 627, in migrate
Jul 9 19:13:09 sonic database.sh[938]: File "/usr/local/bin/db_migrator.py", line 627, in migrate
Jul 9 19:13:09 sonic database.sh[938]: self.common_migration_ops()
Jul 9 19:13:09 sonic database.sh[938]: self.common_migration_ops()
Jul 9 19:13:09 sonic database.sh[938]: File "/usr/local/bin/db_migrator.py", line 600, in common_migration_ops
Jul 9 19:13:09 sonic database.sh[938]: File "/usr/local/bin/db_migrator.py", line 600, in common_migration_ops
Jul 9 19:13:09 sonic database.sh[938]: if self.asic_type == "broadcom" and 'Force10-S6100' in self.hwsku:
Jul 9 19:13:09 sonic database.sh[938]: if self.asic_type == "broadcom" and 'Force10-S6100' in self.hwsku:
Jul 9 19:13:09 sonic database.sh[938]: TypeError: argument of type 'NoneType' is not iterable
Jul 9 19:13:09 sonic database.sh[938]: TypeError: argument of type 'NoneType' is not iterable
Jul 9 19:13:09 sonic database.sh[938]: argument of type 'NoneType' is not iterable
Jul 9 19:13:09 sonic database.sh[938]: argument of type 'NoneType' is not iterable
Jul 9 19:13:09 sonic database.sh[938]: usage: db_migrator.py [-h] [-o operation migrate, set_version, get_version]
Jul 9 19:13:09 sonic database.sh[938]: usage: db_migrator.py [-h] [-o operation migrate, set_version, get_version]
Jul 9 19:13:09 sonic database.sh[938]: [-s unix socket] [-n asic namespace]
Jul 9 19:13:09 sonic database.sh[938]: [-s unix socket] [-n asic namespace]
Jul 9 19:13:09 sonic database.sh[938]: optional arguments:
Jul 9 19:13:09 sonic database.sh[938]: optional arguments:
Jul 9 19:13:09 sonic database.sh[938]: -h, --help show this help message and exit
Jul 9 19:13:09 sonic database.sh[938]: -h, --help show this help message and exit
Jul 9 19:13:09 sonic database.sh[938]: -o operation (migrate, set_version, get_version)
Jul 9 19:13:09 sonic database.sh[938]: -o operation (migrate, set_version, get_version)
Jul 9 19:13:09 sonic database.sh[938]: operation to perform [default: get_version]
Jul 9 19:13:09 sonic database.sh[938]: operation to perform [default: get_version]
Jul 9 19:13:09 sonic database.sh[938]: -s unix socket the unix socket that the desired database listens on
Jul 9 19:13:09 sonic database.sh[938]: -s unix socket the unix socket that the desired database listens on
Jul 9 19:13:09 sonic database.sh[938]: -n asic namespace The asic namespace whose DB instance we need to
Jul 9 19:13:09 sonic database.sh[938]: -n asic namespace The asic namespace whose DB instance we need to
Jul 9 19:13:09 sonic database.sh[938]: connect
Jul 9 19:13:09 sonic database.sh[938]: connect
Describe the results you expected:
Warmboot should pass without dataplane impact.
Output of show version:
SONiC-OS-20201231.71
Output of show techsupport:
(paste your output here or download and attach the file here )
Additional information you deem important (e.g. issue happens only occasionally):
Description
Warmboot failure - dataplane disruption seen as services performed cold restart instead of warm.
Steps to reproduce the issue:
Describe the results you received:
Although warmboot was done, dataplane downtime was observed.
From the logs it appears that services end up doing cold restart. Hence dataplane was disrupted.
At this point I think services did cold restart as db_migrator failed with below errors and
WARM_RESTART_ENABLE_TABLE
was not detected from db.database service had started but container hadn't initialized completely. This could be due to this race condition.
Describe the results you expected:
Warmboot should pass without dataplane impact.
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
syslog (62).log
The text was updated successfully, but these errors were encountered: