Create device-image-fs SM service
Added a device-image-fs SM service to manage the device image repository filesystem. Tests performed on the following systems: AIO-DX, AIO-DX plus compute, Standard 2+1 DC with AIO-DX plus subcloud DC with Standard subcloud Story: 2007875 Task: 41880 Depends-On: https://review.opendev.org/c/starlingx/ansible-playbooks/+/776488 Change-Id: I068c26c524357176e4b526c405785768044c379c Signed-off-by: Teresa Ho <teresa.ho@windriver.com>
This commit is contained in:
parent
c5f753c3bb
commit
aaab51c123
|
@ -783,4 +783,13 @@ INSERT INTO "SERVICE_ACTIONS" VALUES('cert-mon','disable','ocf-script','platform
|
|||
INSERT INTO "SERVICE_ACTIONS" VALUES('cert-mon','audit-enabled','ocf-script','platform','cert-mon','monitor','',2,2,2,30,40);
|
||||
INSERT INTO "SERVICE_ACTIONS" VALUES('cert-mon','audit-disabled','ocf-script','platform','cert-mon','monitor','',0,0,0,30,40);
|
||||
|
||||
INSERT INTO "SERVICE_GROUP_MEMBERS" SELECT MAX(id) + 1,'no','controller-services','device-image-fs','critical' FROM "SERVICE_GROUP_MEMBERS";
|
||||
INSERT INTO "SERVICES" SELECT MAX(id) + 1,'no','device-image-fs','initial','initial','none','none',2,1,90000,4,16,'' FROM "SERVICES";
|
||||
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','device-image-fs','not-applicable','enable','platform-fs','enabled-active');
|
||||
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','platform-fs','not-applicable','disable','device-image-fs','disabled');
|
||||
INSERT INTO "SERVICE_ACTIONS" VALUES('device-image-fs','enable','ocf-script','heartbeat','Filesystem','start','',2,2,2,60,'');
|
||||
INSERT INTO "SERVICE_ACTIONS" VALUES('device-image-fs','disable','ocf-script','heartbeat','Filesystem','stop','',1,1,1,180,'');
|
||||
INSERT INTO "SERVICE_ACTIONS" VALUES('device-image-fs','audit-enabled','ocf-script','heartbeat','Filesystem','monitor','',2,2,2,60,40);
|
||||
INSERT INTO "SERVICE_ACTIONS" VALUES('device-image-fs','audit-disabled','ocf-script','heartbeat','Filesystem','monitor','',0,0,0,60,40);
|
||||
|
||||
COMMIT;
|
||||
|
|
Loading…
Reference in New Issue