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] Update command reference #1941

Merged
merged 1 commit into from
Nov 23, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion doc/Command-Reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -4855,9 +4855,11 @@ When user specifies the optional argument "-n" or "--no-service-restart", this c
running on the device. One use case for this option is during boot time when config-setup service loads existing old configuration and there is no services
running on the device.

When user specifies the optional argument "-f" or "--force", this command ignores the system sanity checks. By default a list of sanity checks are performed and if one of the checks fail, the command will not execute. The sanity checks include ensuring the system status is not starting, all the essential services are up and swss is in ready state.

- Usage:
```
config reload [-y|--yes] [-l|--load-sysinfo] [<filename>] [-n|--no-service-restart]
config reload [-y|--yes] [-l|--load-sysinfo] [<filename>] [-n|--no-service-restart] [-f|--force]
```

- Example:
Expand All @@ -4879,6 +4881,19 @@ running on the device.
Running command: systemctl restart interfaces-config
Timeout, server 10.11.162.42 not responding.
```
When some sanity checks fail below error messages can be seen
```
admin@sonic:~$ sudo config reload -y
System is not up. Retry later or use -f to avoid system checks
```
```
admin@sonic:~$ sudo config reload -y
Relevant services are not up. Retry later or use -f to avoid system checks
```
```
admin@sonic:~$ sudo config reload -y
SwSS container is not ready. Retry later or use -f to avoid system checks
```


### Loading Management Configuration
Expand Down