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

[caclmgrd]load_sonic_global_db_config() should only be called for multiasic platform #8613

Closed
mlok-nokia opened this issue Aug 27, 2021 · 1 comment
Labels
Triaged this issue has been triaged

Comments

@mlok-nokia
Copy link
Contributor

Description

python script caclmgrd calls function load_sonic_global_db_config() without checking if the platform is multiasic platform. This cause an error message has been logged.

Steps to reproduce the issue:

  1. Reboot the system.
  2. checking the log message file by executing the following command
    sudo grep "Sonic database" /var/log/syslog*
    The error message will be shown as below:
    Aug 26 21:51:36.790176 ixre-fal-board3 ERR caclmgrd[1262]: :- initializeGlobalConfig: Sonic database config global file doesn't exist at /var/run/redis/sonic-db/database_global.json

Describe the results you received:

admin@sonic:~$ sudo grep "Sonic database" /var/log/sys*
Aug 26 21:51:36.790176 sonic ERR caclmgrd[1262]: :- initializeGlobalConfig: Sonic database config global file doesn't exist at /var/run/redis/sonic-db/database_global.json

Describe the results you expected:

There should not be such as error message in log file.

Output of show version:

Based on commit 3b301279
It seems the issue still exists in the latest github code

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

@judyjoseph
Copy link
Contributor

I think we can close this issue - taken care by #8812

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

No branches or pull requests

3 participants