Increase retries and timeouts on "audit-enabled" of

mgr-restful-plugin in SM database

When the system is unstable, using a lot of CPU, it takes
more time for the communication between the components to happen.

So it's necessary to increase the maximum of retries and timeouts
in the "audit-enable" of the mgr-restful-plugin to prevent errors
from happening.

Test Plan:
PASS: mgr-restful-plugin restarted by SM (AIO-SX)

Closes-bug: 2000080

Signed-off-by: Erickson Silva de Oliveira <Erickson.SilvadeOliveira@windriver.com>
Change-Id: I0f8462fef20196a3bb913fa7d374a86a2c6565f1
This commit is contained in:
Erickson Silva de Oliveira 2022-12-19 17:44:59 +00:00
parent cf4015918c
commit b4fb57c610
1 changed files with 1 additions and 1 deletions

View File

@ -461,7 +461,7 @@ INSERT INTO "SERVICE_ACTIONS" VALUES('haproxy','audit-enabled','lsb-script','','
INSERT INTO "SERVICE_ACTIONS" VALUES('haproxy','audit-disabled','lsb-script','','haproxy','status','',0,0,0,15,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('mgr-restful-plugin','enable','lsb-script','','mgr-restful-plugin','start','',2,2,2,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('mgr-restful-plugin','disable','lsb-script','','mgr-restful-plugin','stop','',1,1,1,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('mgr-restful-plugin','audit-enabled','lsb-script','','mgr-restful-plugin','status','',2,2,2,15,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('mgr-restful-plugin','audit-enabled','lsb-script','','mgr-restful-plugin','status','',3,3,3,60,90);
INSERT INTO "SERVICE_ACTIONS" VALUES('mgr-restful-plugin','audit-disabled','lsb-script','','mgr-restful-plugin','status','',0,0,0,15,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('ceph-manager','enable','lsb-script','','ceph-manager','start','',2,2,2,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('ceph-manager','disable','lsb-script','','ceph-manager','stop','',1,1,1,15,'');