From 10f1f9e2bd115aa025e081b1995a0be7caeb2ca9 Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Tue, 2 May 2017 16:37:27 +1000 Subject: [PATCH] Use full path to socat in devstack plugin Now devstack is systemd-ified, make sure this has full path to avoid it complaining. [/etc/systemd/system/devstack@statsd.service:6] Executable path is not absolute, ignoring: socat -u udp-recv:8125 - Change-Id: I47ebf5abb86bc202e5bf90b0cc318764cbb0d062 (cherry picked from commit 4170b3eb3b62939d16de1eacab726312c181f51c) --- devstack/plugin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index e5890f99b..b65e8e81f 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -462,7 +462,7 @@ function start_nodepool { # run a fake statsd so we test stats sending paths export STATSD_HOST=localhost export STATSD_PORT=8125 - run_process statsd "socat -u udp-recv:$STATSD_PORT -" + run_process statsd "/usr/bin/socat -u udp-recv:$STATSD_PORT -" run_process nodepool-launcher "$NODEPOOL_INSTALL/bin/nodepool-launcher -c $NODEPOOL_CONFIG -s $NODEPOOL_SECURE -l $NODEPOOL_LOGGING -d" run_process nodepool-builder "$NODEPOOL_INSTALL/bin/nodepool-builder -c $NODEPOOL_CONFIG -l $NODEPOOL_LOGGING -d"