From 7e8bdbf7321fd5b405525f9f06fb6fda8127c952 Mon Sep 17 00:00:00 2001 From: Eric MacDonald Date: Mon, 14 May 2018 16:12:16 -0400 Subject: [PATCH] Collectd+InfluxDb-RMON Replacement(ALL METRICS) P1 This update adds support for no-reboot patching of the influxdb and collectd processes to the patch-restart-processes script used to manage restart of specified processes. Depends-On: https://review.openstack.org/579307 Change-Id: I5b03dbf9242c32ea765840ede127335d440235d9 Signed-off-by: Jack Ding Signed-off-by: Scott Little --- utilities/platform-util/scripts/patch-restart-processes | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/utilities/platform-util/scripts/patch-restart-processes b/utilities/platform-util/scripts/patch-restart-processes index 1b996a20b..f730627aa 100755 --- a/utilities/platform-util/scripts/patch-restart-processes +++ b/utilities/platform-util/scripts/patch-restart-processes @@ -291,7 +291,7 @@ do ;; "nova-compute") process_list=(${process_list[@]} "pmon:nova-compute:nova-compute:compute:/var/run/nova/nova-compute.pid:0" "sm:nova-compute:nova-compute:controller:/var/run/resource-agents/nova-compute.pid:0") - ;; + ;; "nova-serialproxy") process_list=(${process_list[@]} "sm:nova-serialproxy:nova-serialproxy:controller:/var/run/resource-agents/nova-serialproxy.pid:0") ;; @@ -324,6 +324,12 @@ do "dcorch-patch-api-proxy") process_list=(${process_list[@]} "sm:dcorch-patch-api-proxy:dcorch-patch-api-proxy:controller:/var/run/resource-agents/dcorch-patch-api-proxy.pid:0") ;; + "collectd") + process_list=(${process_list[@]} "pmon:collectd:collectd:all:/var/run/collectd.pid:0") + ;; + "influxdb") + process_list=(${process_list[@]} "pmon:influxdb:influxdb:all:/var/run/influxdb/influxdb.pid:0") + ;; *) echo "Unknown process:${process}"