Add support for dcmanager-audit-worker service
We're moving the bulk of the dcmanager subcloud audits to separate worker processes, so we need to add a service for the main worker processes (which will then spawn additional workers). Story: 2007267 Task: 41869 Signed-off-by: Chris Friesen <chris.friesen@windriver.com> Depends-On: https://review.opendev.org/c/starlingx/ha/+/775457 Change-Id: I119d24ae67ec4a40c360ac721582b45388231cbf
This commit is contained in:
@@ -912,6 +912,12 @@ class platform::sm
|
||||
-> exec { 'Provision DCManager-Audit in SM (service dcmanager-audit)':
|
||||
command => 'sm-provision service dcmanager-audit',
|
||||
}
|
||||
-> exec { 'Provision DCManager-Audit-Worker (service-group-member dcmanager-audit-worker)':
|
||||
command => 'sm-provision service-group-member distributed-cloud-services dcmanager-audit-worker',
|
||||
}
|
||||
-> exec { 'Provision DCManager-Audit-Worker in SM (service dcmanager-audit-worker)':
|
||||
command => 'sm-provision service dcmanager-audit-worker',
|
||||
}
|
||||
-> exec { 'Provision DCManager-Orchestrator (service-group-member dcmanager-orchestrator)':
|
||||
command => 'sm-provision service-group-member distributed-cloud-services dcmanager-orchestrator',
|
||||
}
|
||||
@@ -966,6 +972,9 @@ class platform::sm
|
||||
-> exec { 'Configure Platform - DCManager-Audit':
|
||||
command => "sm-configure service_instance dcmanager-audit dcmanager-audit \"\"",
|
||||
}
|
||||
-> exec { 'Configure Platform - DCManager-Audit-Worker':
|
||||
command => "sm-configure service_instance dcmanager-audit-worker dcmanager-audit-worker \"\"",
|
||||
}
|
||||
-> exec { 'Configure Platform - DCManager-Orchestrator':
|
||||
command => "sm-configure service_instance dcmanager-orchestrator dcmanager-orchestrator \"\"",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user