Skip to content
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

SONiC did not perform warm-reboot #11914

Closed
SavchukRomanLv opened this issue Aug 31, 2022 · 0 comments · Fixed by sonic-net/sonic-utilities#2367
Closed

SONiC did not perform warm-reboot #11914

SavchukRomanLv opened this issue Aug 31, 2022 · 0 comments · Fixed by sonic-net/sonic-utilities#2367
Assignees
Labels
NVIDIA regression Triaged this issue has been triaged

Comments

@SavchukRomanLv
Copy link
Contributor

Description

SONiC does not perform warm-reboot command. It returns
sudo warm-reboot cp: cannot stat '/tmp/cache': No such file or directory

Changes caused this issue introduced in PR 2232 row 472
Script tries to copy counters_folder to not existing /tmp/cache directory

Steps to reproduce the issue:

  1. Deploy latest master SONiC.
  2. Execute command "sudo warm-reboot"

Describe the results you received:

Error appears cp: cannot stat '/tmp/cache': No such file or directory

Describe the results you expected:

DUT follows warm reboot scenario

Output of show version:

SONiC Software Version: SONiC.master.140639-dirty-20220828.170635
Distribution: Debian 11.4
Kernel: 5.10.0-12-2-amd64
Build commit: bd55b342d
Build date: Sun Aug 28 17:12:05 UTC 2022
Built by: AzDevOps@sonic-build-workers-0020EB
Platform: x86_64-accton_wedge100bf_32x-r0
HwSKU: montara
ASIC: barefoot

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):

@zhangyanzhao zhangyanzhao added Triaged this issue has been triaged NVIDIA labels Aug 31, 2022
liat-grozovik pushed a commit to sonic-net/sonic-utilities that referenced this issue Sep 19, 2022
- What I did
Fixed issue when cache wasn't generated and warm reboot command fails.
Fixes sonic-net/sonic-buildimage#11914

- How I did it
Added a check for cache existence

- How to verify it
Run warm-reboot

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
EdenGri pushed a commit to EdenGri/sonic-utilities that referenced this issue Oct 12, 2022
)

- What I did
Fixed issue when cache wasn't generated and warm reboot command fails.
Fixes sonic-net/sonic-buildimage#11914

- How I did it
Added a check for cache existence

- How to verify it
Run warm-reboot

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
mdanish-kh pushed a commit to hamnarauf/sonic-utilities that referenced this issue Oct 22, 2022
)

- What I did
Fixed issue when cache wasn't generated and warm reboot command fails.
Fixes sonic-net/sonic-buildimage#11914

- How I did it
Added a check for cache existence

- How to verify it
Run warm-reboot

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
preetham-singh pushed a commit to preetham-singh/sonic-utilities that referenced this issue Nov 21, 2022
)

- What I did
Fixed issue when cache wasn't generated and warm reboot command fails.
Fixes sonic-net/sonic-buildimage#11914

- How I did it
Added a check for cache existence

- How to verify it
Run warm-reboot

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
yxieca pushed a commit to sonic-net/sonic-utilities that referenced this issue Mar 27, 2023
- What I did
Fixed issue when cache wasn't generated and warm reboot command fails.
Fixes sonic-net/sonic-buildimage#11914

- How I did it
Added a check for cache existence

- How to verify it
Run warm-reboot

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
malletvapid23 added a commit to malletvapid23/Sonic-Utility that referenced this issue Aug 3, 2023
- What I did
Fixed issue when cache wasn't generated and warm reboot command fails.
Fixes sonic-net/sonic-buildimage#11914

- How I did it
Added a check for cache existence

- How to verify it
Run warm-reboot

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NVIDIA regression Triaged this issue has been triaged
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants