commit 12f7ea91efb79aee858b3101223081f918edfb30
Author: Bin Qian <email address hidden>
Date: Fri May 7 16:36:23 2021 -0400
Fix no swact for failure of critical services
This fix is to ensure keeping service failure counting over successful
audit.
When service enabled audit successfully completes, SM reset the service
failure state. However it should not reset the service fail-count.
The fail-count should only be reset after the grace period.
Closes-Bug: 1893669
Change-Id: I6996fe3f1c08c38da6f26243aee2b95b083069f0
Signed-off-by: Bin Qian <email address hidden>
(cherry picked from commit 9f70df63fd0d83bf0f94d1b9ac2f98516d5971c8)
Reviewed: https:/ /review. opendev. org/c/starlingx /ha/+/792159 /opendev. org/starlingx/ ha/commit/ 12f7ea91efb79ae e858b3101223081 f918edfb30
Committed: https:/
Submitter: "Zuul (22348)"
Branch: r/stx.5.0
commit 12f7ea91efb79ae e858b3101223081 f918edfb30
Author: Bin Qian <email address hidden>
Date: Fri May 7 16:36:23 2021 -0400
Fix no swact for failure of critical services
This fix is to ensure keeping service failure counting over successful
audit.
When service enabled audit successfully completes, SM reset the service
failure state. However it should not reset the service fail-count.
The fail-count should only be reset after the grace period.
Closes-Bug: 1893669 8da6f26243aee2b 95b083069f0 f0f94d1b9ac2f98 516d5971c8)
Change-Id: I6996fe3f1c08c3
Signed-off-by: Bin Qian <email address hidden>
(cherry picked from commit 9f70df63fd0d83b