Modify _storage_backend_failure_audit interval

This audit verifies if there's a storage backend stuck in 'configuring'
state, the timeout for this is 1200 seconds, set in the
SB_CONFIGURATION_TIMEOUT constant.

After a research, we noticed that the time interval does not need to be
60 seconds, since the timeout of the configuration is 1200. Increasing
it to 400 seconds (1/3 of the timeout) is enough to capture any storage
backend stucked.

This commit is a continuation of the study started at task 45711.

TEST PLAN:
PASS: AIO-SX: manually replaced these files into a Debian installation
and no crashes happened.
PASS: rebuild the whole system with the modification with no crashes.
PASS: AIO-SX: verify that the audit is being called during the period.
PASS: follow the sysinv logs seeking for errors. No error was found.
PASS: guarantee that all audits are being called by the periodic tasks.

Story: 2010087
Task: 45828

Depends-On: https://review.opendev.org/c/starlingx/stx-puppet/+/848329
Signed-off-by: Bruno Costa <bruno.costa@windriver.com>
Change-Id: Idafdf98e0dfd6942b31284a3fd1b47c649c82634
This commit is contained in:
Bruno Costa
2022-07-20 09:13:29 -03:00
parent 1b927a970f
commit 6ff77115c7

View File

@@ -73,7 +73,7 @@ class sysinv (
install_states => 60,
kubernetes_labels => 60,
image_conversion => 60,
storage_backend_failure => 60,
storage_backend_failure => 400,
k8s_application => 60,
device_image_update => 60 },
$periodic_interval_agent = { default => 60,