From c2dff765c0037642b5999bb5301ed059d1c855a0 Mon Sep 17 00:00:00 2001 From: Jacob Floyd Date: Wed, 11 Dec 2024 21:06:02 -0600 Subject: [PATCH] debug st2ctl saying that st2 components aren't running --- st2common/bin/st2ctl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/st2common/bin/st2ctl b/st2common/bin/st2ctl index a26f7bfb09..7544991fa8 100755 --- a/st2common/bin/st2ctl +++ b/st2common/bin/st2ctl @@ -200,6 +200,7 @@ function getpids() { echo "##### st2 components status #####" COMPONENTS=${COMPONENTS} + set -x for COM in ${COMPONENTS}; do PID=`ps ax | grep -v grep | grep -v st2ctl | grep -E "(${COM}\.wsgi)|(bin/${COM})|(hubot .*${COM})" | awk '{print $1}'` @@ -211,6 +212,7 @@ function getpids() { echo "${COM} is not running." fi done + set +x }