-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[Warmboot] Error occuring intermittently while executing warmboot command #5439
Comments
Based on the logs, it could be due the following change: @sujinmkang , looks like watchdog is getting enabled after stopping database container and no more access to DB
|
output with
|
The problem came with my changes which is enabling the hw watchdog during the fast/warm-reboot. |
For the platform name, we can get it from /host/machine.conf, but for the MSFT specific SKU name it maybe not possible, for example: For this MSFT SKU: admin@arc-switch1004:~$ show platform summary admin@arc-switch1004:~$ sudo sonic-cfggen -d -v DEVICE_METADATA.localhost.hwsku But we don’t have the SKU name in the machine.conf, or you see different content in your setup? admin@arc-switch1004:~$ sudo cat /host/machine.conf |
i think tamer has put hwsku and platform into the environment variable and does not need sonic-cfggen to get it. @keboliu can you check that? |
@tahmed-dev , where is the example now? |
meanwhile, @sujinmkang , you also call this one "PLATFORM=$(sonic-cfggen -H -v DEVICE_METADATA.localhost.platform)". do you know if sonic-cfggen is execute early in the script, or later when you use the variable. if it is latter, then the generic code also have this issue. |
@lguohan, @sujinmkang here is an example I pushed into the driver framework before it was refactored. |
@tahmed-dev , can you check the "example" link. looks like broken? |
|
#5468 |
Closing this issue as the PRs are merged |
Description
The following error is observed while executing warmboot command:
Steps to reproduce the issue:
Describe the results you received:
Above error message
Describe the results you expected:
No error message
Additional information you deem important (e.g. issue happens only occasionally):
SONiC Software Version: SONiC.20191130.49
Distribution: Debian 9.13
Kernel: 4.9.0-11-2-amd64
Build commit: fb0b411b5
Build date: Fri Sep 11 12:17:51 UTC 2020
Built by: sonicbld@jenkins-slave-phx-2
```
The text was updated successfully, but these errors were encountered: