Add mtc-agent service dependency to fm-mgr

Add mtc-agent service dependency to fm-mgr to ensure mtc-agent shuts
down before fm-mgr does.

An issue was found that in rare cases a swact occurs when mtc-agent
try to clear an alarm, while fm-mgr has been disabled, clear alarm
message went lost. The alarm therefor remained not being able to
clear.

Closes-bug 1829289

Change-Id: I39196d5f3ce764a14b4d1e0fb1a4f3344ddd6a1a
Signed-off-by: Bin Qian <bin.qian@windriver.com>
This commit is contained in:
Bin Qian 2019-07-12 13:00:09 -04:00
parent 73b77366b3
commit a729bbabc6
1 changed files with 3 additions and 0 deletions

View File

@ -746,4 +746,7 @@ INSERT INTO "SERVICE_ACTIONS" VALUES('dbmon','audit-disabled','ocf-script','open
INSERT INTO "SERVICE_ACTIONS" VALUES('dbmon','go-standby','ocf-script','openstack','dbmon','standby','',2,2,2,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('dbmon','go-active','ocf-script','openstack','dbmon','active','',2,2,2,180,'');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','mtc-agent','not-applicable','enable','fm-mgr','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','fm-mgr','not-applicable','disable','mtc-agent','disabled');
COMMIT;