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.service FAILURE status for single ASIC device #8388

Closed
SavchukRomanLv opened this issue Aug 9, 2021 · 3 comments
Closed

caclmgrd.service FAILURE status for single ASIC device #8388

SavchukRomanLv opened this issue Aug 9, 2021 · 3 comments

Comments

@SavchukRomanLv
Copy link
Contributor

Description

After 8222 caclmgrd.service: Main process exited, code=exited, status=1/FAILURE error appears due to reference before assignment error:
Aug 9 14:37:00.653073 igk-5-dut INFO caclmgrd[16197]: File "/usr/local/bin/caclmgrd", line 821, in <module> Aug 9 14:37:00.653191 igk-5-dut INFO caclmgrd[16197]: main() Aug 9 14:37:00.653262 igk-5-dut INFO caclmgrd[16197]: File "/usr/local/bin/caclmgrd", line 817, in main Aug 9 14:37:00.653312 igk-5-dut INFO caclmgrd[16197]: caclmgr.run() Aug 9 14:37:00.653678 igk-5-dut INFO caclmgrd[16197]: File "/usr/local/bin/caclmgrd", line 760, in run Aug 9 14:37:00.653945 igk-5-dut INFO caclmgrd[16197]: if db_id == state_db_id: Aug 9 14:37:00.654001 igk-5-dut INFO caclmgrd[16197]: UnboundLocalError: local variable 'state_db_id' referenced before assignment

Steps to reproduce the issue:

  1. Deploy SONiC image 27940

Describe the results you received:

caclmgrd.service: Main process exited, code=exited, status=1/FAILURE error appears

Describe the results you expected:

caclmgrd.service started successfully

Output of show version:

SONiC Software Version: SONiC.master.27940-dirty-20210808.083526
Distribution: Debian 10.10
Kernel: 4.19.0-12-2-amd64
Build commit: 8608af711
Build date: Sun Aug  8 13:39:19 UTC 2021
Built by: AzDevOps@sonic-build-workers-000KUX

Platform: x86_64-arista_7170_64c
HwSKU: Arista-7170-64C
ASIC: barefoot
ASIC Count: 1
Serial Number: SGD19412172
Model Number: DCS-7170-64C
Hardware Revision: N/A

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

@SavchukRomanLv
Copy link
Contributor Author

@trzhang-msft can you please take a look?

@ghost ghost mentioned this issue Aug 9, 2021
@ghost
Copy link

ghost commented Aug 9, 2021

@SavchukRomanLv thanks, the fix is here #8393

@ghost ghost closed this as completed Aug 10, 2021
@ghost
Copy link

ghost commented Aug 10, 2021

fixed by #8393

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant