From 151943d4dfa64a73044e1b695d38ea8526d9dfe2 Mon Sep 17 00:00:00 2001 From: Mykola Malkov Date: Fri, 17 Dec 2021 11:32:53 +0200 Subject: [PATCH] TT#152101 Remove check of ngcp-rest-api process MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The real name of the process is not 'ngcp-rest-api' but 'node': root@web01a:~# ps ax | grep rest-api 80697 ? Ssl 0:01 ngcp-rest-api root@web01a:~# pstree 80697 node─┬─node───10*[{node}] └─6*[{node}] There is no easy way to match it or change the real name. So removing this check until we have a solution. Change-Id: I11f5301787fe41a9d8e3b299907cd6a2f08ee1f0 --- templates/411_process-ngcp-pro.yaml.tt2 | 3 --- 1 file changed, 3 deletions(-) diff --git a/templates/411_process-ngcp-pro.yaml.tt2 b/templates/411_process-ngcp-pro.yaml.tt2 index 7b697b4..a30b2ef 100644 --- a/templates/411_process-ngcp-pro.yaml.tt2 +++ b/templates/411_process-ngcp-pro.yaml.tt2 @@ -61,9 +61,6 @@ process: ngcp-faxserver: running: {{if and [% is_proxy ? 1 : 0 %] .Vars.NODE_ACTIVE}} true {{else}} false {{end}} - ngcp-rest-api: - running: [% is_mgmt && rest_api.enable == 'yes' ? 'true' : 'false' %] - ngcp-snmp-agent: running: true