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

ERR sniffer: :- initializeGlobalConfig: Sonic database config global file doesn't exist at /var/run/redis/sonic-db/database_global.json #6708

Closed
lguohan opened this issue Feb 7, 2021 · 4 comments · Fixed by sonic-net/sonic-utilities#1409
Assignees

Comments

@lguohan
Copy link
Collaborator

lguohan commented Feb 7, 2021

Description

Steps to reproduce the issue:
https://dev.azure.com/mssonic/build/_build/results?buildId=3077&view=ms.vss-test-web.build-test-results-tab&runId=35866&resultId=100000&paneView=debug

Describe the results you received:

Describe the results you expected:

Additional information you deem important (e.g. issue happens only occasionally):

**Output of `show version`:**

```
(paste your output here)
```

**Attach debug file `sudo generate_dump`:**

```
(paste your output here)
```
@lguohan
Copy link
Collaborator Author

lguohan commented Feb 7, 2021

@qiluo-msft , can you talk a look, are we missing something?

@lguohan
Copy link
Collaborator Author

lguohan commented Feb 7, 2021

i found all issue appear in this pr. #6679

so, i think it is still pyswsssdk conversion problem. can you take a look? the pr #6679 is still blocked.

@qiluo-msft
Copy link
Collaborator

ACK

@lguohan
Copy link
Collaborator Author

lguohan commented Feb 7, 2021

i grep the repro, i can only find sniffer in sonic-utilties, which is related to mellanox, i am not sure why it appears on kvm platform.

qiluo-msft added a commit to sonic-net/sonic-utilities that referenced this issue Feb 8, 2021
…1409)

**- What I did**
Fixes sonic-net/sonic-buildimage#6708

This bug is exposed by #1392. Previously the `config` command will call `SonicDBConfig.load_sonic_global_db_config()` even on a single ASIC platform, and it will silently failed. After exposed, it will fail with error syslog message:
```
admin@sonic:~$ sudo config save
Existing files will be overwritten, continue? [y/N]: ^CAborted!

Feb  8 03:23:48.729434 sonic ERR sniffer: :- initializeGlobalConfig: Sonic database config global file doesn't exist at /var/run/redis/sonic-db/database_global.json
```
**- How to verify it**
Tested on DUT
anand-kumar-subramanian pushed a commit to anand-kumar-subramanian/sonic-utilities that referenced this issue Mar 2, 2021
…onic-net#1409)

**- What I did**
Fixes sonic-net/sonic-buildimage#6708

This bug is exposed by sonic-net#1392. Previously the `config` command will call `SonicDBConfig.load_sonic_global_db_config()` even on a single ASIC platform, and it will silently failed. After exposed, it will fail with error syslog message:
```
admin@sonic:~$ sudo config save
Existing files will be overwritten, continue? [y/N]: ^CAborted!

Feb  8 03:23:48.729434 sonic ERR sniffer: :- initializeGlobalConfig: Sonic database config global file doesn't exist at /var/run/redis/sonic-db/database_global.json
```
**- How to verify it**
Tested on DUT
malletvapid23 added a commit to malletvapid23/Sonic-Utility that referenced this issue Aug 3, 2023
…1409)

**- What I did**
Fixes sonic-net/sonic-buildimage#6708

This bug is exposed by sonic-net/sonic-utilities#1392. Previously the `config` command will call `SonicDBConfig.load_sonic_global_db_config()` even on a single ASIC platform, and it will silently failed. After exposed, it will fail with error syslog message:
```
admin@sonic:~$ sudo config save
Existing files will be overwritten, continue? [y/N]: ^CAborted!

Feb  8 03:23:48.729434 sonic ERR sniffer: :- initializeGlobalConfig: Sonic database config global file doesn't exist at /var/run/redis/sonic-db/database_global.json
```
**- How to verify it**
Tested on DUT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants