-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[PINS] Add APPL_STATE_DB and response path log rotation #9082
Conversation
cc: @mint570 |
@@ -32,6 +32,7 @@ | |||
/var/log/frr/zebra.log | |||
/var/log/swss/sairedis*.rec | |||
/var/log/swss/swss*.rec | |||
/var/log/swss/responsepublisher.rec |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is APPL STATE DB record. We haven't look at multi asic support yet.
@prsunny please take look |
96cddbc
to
3be0fd4
Compare
af53b23
to
eca314b
Compare
eca314b
to
91a8432
Compare
Rebased to latest master |
/azpw run Azure.sonic-buildimage |
/AzurePipelines run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
Commenter does not have sufficient privileges for PR 9082 in repo Azure/sonic-buildimage |
/azpw run Azure.sonic-buildimage |
/AzurePipelines run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
/azpw run Azure.sonic-buildimage |
/AzurePipelines run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
- Add APPL_STATE_DB to database_config.json - Clear APPL_STATE_DB during SwSS container restarts - Add response path log file to logrotate config: responsepublisher.rec Submission containing materials of a third party: Copyright Google LLC; Licensed under Apache 2.0 Co-authored-by: Mike Attig <[email protected]> Co-authored-by: Runming Wu <[email protected]> Co-authored-by: Akarsh Gupta <[email protected]> Signed-off-by: Brian O'Connor <[email protected]>
91a8432
to
1baca65
Compare
@prsunny, the checks are passing now. Can you reapprove and merge? Thanks! |
responsepublisher.rec
Submission containing materials of a third party:
Copyright Google LLC; Licensed under Apache 2.0
Co-authored-by: Mike Attig [email protected]
Co-authored-by: Runming Wu [email protected]
Co-authored-by: Akarsh Gupta [email protected]
Why I did it
Adds support for APPL_STATE_DB and response path required for PINS.
Described in this HLD:
https://github.com/pins/SONiC/blob/master/doc/pins/appl_state_db_response_path_hld.md
How to verify it
Any build should do the trick, then verify that the APPL_STATE_DB is empty after restarting swss.
Which release branch to backport (provide reason below if selected)
None
Description for the changelog
Add APPL_STATE_DB and response path log rotation