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

Add redis ACL support #424

Closed

Conversation

davidpil2002
Copy link

@davidpil2002 davidpil2002 commented Dec 20, 2023

Description

Add Redis ACL support

All the PR related can be found in the description of this PR:
sonic-net/sonic-buildimage#17577

Motivation and Context

Enhance Redis Security

How Has This Been Tested?

Can be tested with the instructions in the PR mentioned in the description chapter.

Additional Information (Optional)

@liat-grozovik liat-grozovik changed the title Add Redis ACL support [First Draft] Add redis ACL support Dec 25, 2023
@liat-grozovik liat-grozovik marked this pull request as draft December 25, 2023 08:35
oleksandrivantsiv pushed a commit to oleksandrivantsiv/sonic-platform-common that referenced this pull request Oct 25, 2024
When sysfs is simultaneously changing while psud updating, some data could be outdated immediately once read, so delay the psu presence and status updating to the final step, insure we get the latest info.

Description
PSU Model Serial HW Rev Voltage (V) Current (A) Power (W) Status LED
PSU 1 N/A N/A N/A 12.00 N/A N/A OK green
PSU 2 XXXXXXX XXXXXXXX A3 12.01 16.25 194.75 OK green

The status should be NOTOK as the psu had been turned off and other fields had became N/A as expected.

Motivation and Context
The failure flow are showing below:

    psu_db_update(self.psu_tbl, self.num_psus) // here we read and update the old data of psu status. 
    self.update_psu_data() // now psu status had been changed to NOTOK, but we won’t read it until next psu update cycle , other filed becomes N/A as expected.
How Has This Been Tested?
platform_tests/api/test_psu.py

Signed-off-by: Yuanzhe, Liu <[email protected]>
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

Successfully merging this pull request may close these issues.

1 participant