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

config reload freezes SONiC if json is syntactically incorrect #9499

Closed
MaratGubaiev opened this issue Dec 10, 2021 · 0 comments · Fixed by sonic-net/sonic-utilities#2529
Closed
Assignees
Labels
MSFT Triaged this issue has been triaged

Comments

@MaratGubaiev
Copy link
Contributor

Description

config reload config.json freezes SONiC if config.json is syntactically incorrect, like a comma is missing.

Steps to reproduce the issue:

  1. Create syntactically incorrect config.json file.
  2. config reload config.json

Describe the results you received:

Terminal freezes. After reopening the terminal SONiC commands (inc. reboot) cause to freezing the terminal again. Linux commands (like /usr/sbin/reboot) work.

Describe the results you expected:

Some "syntax error" message without any consequences.

Output of show version:

(paste your output here)

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MSFT Triaged this issue has been triaged
Projects
None yet
6 participants