From 4170b3eb3b62939d16de1eacab726312c181f51c 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 --- devstack/plugin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index dbc8dcdaa..9570c1fab 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -528,7 +528,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 "$NODEPOOL_INSTALL/bin/nodepoold -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"