From 08eb9548e7f728171b0e3f6212cd876ab6253f9f Mon Sep 17 00:00:00 2001 From: Mykola Malkov Date: Mon, 15 Jun 2020 16:51:46 +0300 Subject: [PATCH] TT#82312 Do not expect voisniff on LB node According to nsservices.yml service ngcp-voisniff should be run on 'proxy' and 'li' roles not 'lb'. So remove it to prevent false alarm. Change-Id: Iaf180d8e69ae9f962fa2c750bd3afc8088e12230 --- templates/510_init-daemons-ngcp.yaml.tt2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/510_init-daemons-ngcp.yaml.tt2 b/templates/510_init-daemons-ngcp.yaml.tt2 index 1696cef..35be17d 100644 --- a/templates/510_init-daemons-ngcp.yaml.tt2 +++ b/templates/510_init-daemons-ngcp.yaml.tt2 @@ -7,6 +7,7 @@ is_db = ngcp.has_role(hostname, 'db'); is_rtp = ngcp.has_role(hostname, 'rtp'); is_li_dist = ngcp.has_role(hostname, 'li_dist'); + is_li = ngcp.has_role(hostname, 'li'); -%] service: @@ -96,7 +97,7 @@ service: ngcp-voisniff.service: enabled: false - running: {{if and [% (is_proxy || is_lb || is_rtp) && voisniff.daemon.start == 'yes' ? 1 : 0 %] .Vars.NODE_ACTIVE}} true {{else}} false {{end}} + running: {{if and [% (is_proxy || is_li) && voisniff.daemon.start == 'yes' ? 1 : 0 %] .Vars.NODE_ACTIVE}} true {{else}} false {{end}} ngcpcfg-api.service: enabled: [% is_mgmt && general.ngcp_type != 'spce' ? 'true' : 'false' %]