the echo commands (PA_Details, PA_FireActions) must be on a new line ... and for some unknown reason, the script was not being interpreted that way .... so we had to manually had a return / new line using rn GLUSTERD=$(systemctl is-active glusterd) displaying details to to consoleecho -e "rnPA_Details("Testing whether glusterd is active or not via ssh: ${GLUSTERD}")" if not active then in problem stateif [ ${GLUSTERD} != "active" ]; then echo -e "rnPA_FireActions(true)" fi asked 03 Oct '23, 08:41 amallory |