I take that back. Someone ran a different job and it failed. It is still trying to execute in /tmp
[workflow] Begin step: 1,NodeDispatch
1: Workflow step executing: ScriptFileItem{script=[829 chars]}
preparing for sequential execution on 1 nodes
Executing
command on node: rundeck-preprod01, NodeEntryImpl{tags=[],
attributes={nodename=rundeck-preprod01, hostname=rundeck-preprod01,
osVersion=, osFamily=unix, osArch=amd64, description=Rundeck server
node, osName=Linux}, project='null'}
[workflow] beginExecuteNodeStep(rundeck-preprod01): NodeDispatch: ScriptFileItem{script=[829 chars]}
using charset: null
Current OS is Linux
Adding reference: ant.PropertyHelper
Project base dir set to: /var/lib/rundeck
Setting environment variable: RD_JOB_ID=e755d78b-3e69-4ede-958b-8c42abfeca9c
Setting environment variable: RD_JOB_USERNAME=
Setting environment variable: RD_OPTION_CREATE_FILESYSTEMS=true
Setting environment variable: RD_JOB_URL=
Setting environment variable: RD_JOB_PROJECT=Chef
Setting environment variable: RD_JOB_NAME=Bootstrap - RHEL7
Setting environment variable: RD_NODE_OS_ARCH=amd64
Setting environment variable: RD_NODE_OS_VERSION=
Setting environment variable: RD_JOB_THREADCOUNT=1
Setting environment variable: RD_JOB_RETRYATTEMPT=0
Setting environment variable: RD_JOB_USER_NAME=
Setting environment variable: RD_JOB_LOGLEVEL=DEBUG
Setting environment variable: RD_NODE_OS_NAME=Linux
Setting environment variable: RD_JOB_SERVERUUID=52a96f1d-8006-499b-b15d-574403945307
Setting environment variable: RD_NODE_OS_FAMILY=unix
Setting environment variable: RD_JOB_EXECID=340646
Setting environment variable: RD_NODE_USERNAME=
Setting environment variable: RD_NODE_TAGS=
Setting environment variable: RD_JOB_RETRYPREVEXECID=0
Setting environment variable: RD_JOB_EXECUTIONTYPE=user
Setting environment variable: RD_JOB_WASRETRY=false
Setting environment variable: RD_JOB_SUCCESSONEMPTYNODEFILTER=false
Setting environment variable: RD_JOB_RETRYINITIALEXECID=0
Setting environment variable: RD_NODE_DESCRIPTION=Rundeck server node
Executing '/bin/sh' with arguments:
'-c'
'chmod +x /tmp/
32-340646-rundeck-preprod01-dispatch-script.tmp.sh'
The ' characters around the executable and arguments are
not part of the command.
Execute:Java13CommandLauncher: Executing '/bin/sh' with arguments:
'-c'
'chmod +x /tmp/
32-340646-rundeck-preprod01-dispatch-script.tmp.sh'
The ' characters around the executable and arguments are
not part of the command.
Setting project property: 1717534419449.node.rundeck-preprod01.LocalNodeExecutor.result -> 0
using charset: null
Current OS is Linux
Adding reference: ant.PropertyHelper
Project base dir set to: /var/lib/rundeck
Setting environment variable: RD_JOB_ID=
Setting environment variable: RD_JOB_USERNAME=
Setting environment variable: RD_OPTION_CREATE_FILESYSTEMS=true
Setting environment variable: RD_NODE_HOSTNAME=rundeck-preprod01
Setting environment variable: RD_JOB_URL=
Setting environment variable: RD_JOB_PROJECT=Chef
Setting environment variable: RD_JOB_NAME=Bootstrap - RHEL7
Setting environment variable: RD_NODE_OS_ARCH=amd64
Setting environment variable: RD_NODE_OS_VERSION=
Setting environment variable: RD_NODE_NAME=rundeck-preprod01
Setting environment variable: RD_JOB_THREADCOUNT=1
Setting environment variable: RD_JOB_RETRYATTEMPT=0
Setting environment variable: RD_JOB_USER_NAME=
Setting environment variable: RD_JOB_LOGLEVEL=DEBUG
Setting environment variable: RD_NODE_OS_NAME=Linux
Setting environment variable: RD_JOB_SERVERUUID=52a96f1d-8006-499b-b15d-574403945307
Setting environment variable: RD_NODE_OS_FAMILY=unix
Setting environment variable: RD_JOB_EXECID=340646
Setting environment variable: RD_NODE_USERNAME=
Setting environment variable: RD_NODE_TAGS=
Setting environment variable: RD_JOB_RETRYPREVEXECID=0
Setting environment variable: RD_JOB_EXECUTIONTYPE=user
Setting environment variable: RD_JOB_WASRETRY=false
Setting environment variable: RD_JOB_SUCCESSONEMPTYNODEFILTER=false
Setting environment variable: RD_JOB_RETRYINITIALEXECID=0
Setting environment variable: RD_NODE_DESCRIPTION=Rundeck server node
Executing '/bin/sh' with arguments:
'-c'
'/tmp/
32-340646-rundeck-preprod01-dispatch-script.tmp.sh'
The ' characters around the executable and arguments are
not part of the command.
Execute:Java13CommandLauncher: Executing '/bin/sh' with arguments:
'-c'
'/tmp/
32-340646-rundeck-preprod01-dispatch-script.tmp.sh'
The ' characters around the executable and arguments are
not part of the command.
/bin/sh: /tmp/
32-340646-rundeck-preprod01-dispatch-script.tmp.sh: Permission denied
Setting project property: 1717534419488.node.rundeck-preprod01.LocalNodeExecutor.result -> 126
Result: 126
using charset: null
Current OS is Linux
Adding reference: ant.PropertyHelper
Project base dir set to: /var/lib/rundeck
Setting environment variable: RD_JOB_ID=e755d78b-3e69-4ede-958b-8c42abfeca9c
Setting environment variable: RD_JOB_USERNAME=
Setting environment variable: RD_OPTION_CREATE_FILESYSTEMS=true
Setting environment variable: RD_NODE_HOSTNAME=rundeck-preprod01
Setting environment variable: RD_JOB_PROJECT=Chef
Setting environment variable: RD_JOB_NAME=Bootstrap - RHEL7
Setting environment variable: RD_NODE_OS_ARCH=amd64
Setting environment variable: RD_NODE_NAME=rundeck-preprod01
Setting environment variable: RD_JOB_THREADCOUNT=1
Setting environment variable: RD_JOB_RETRYATTEMPT=0
Setting environment variable: RD_JOB_USER_NAME=
Setting environment variable: RD_JOB_LOGLEVEL=DEBUG
Setting environment variable: RD_NODE_OS_NAME=Linux
Setting environment variable: RD_NODE_OS_FAMILY=unix
Setting environment variable: RD_JOB_EXECID=340646
Setting environment variable: RD_NODE_USERNAME=
Setting environment variable: RD_NODE_TAGS=
Setting environment variable: RD_JOB_RETRYPREVEXECID=0
Setting environment variable: RD_JOB_EXECUTIONTYPE=user
Setting environment variable: RD_JOB_WASRETRY=false
Setting environment variable: RD_JOB_SUCCESSONEMPTYNODEFILTER=false
Setting environment variable: RD_JOB_RETRYINITIALEXECID=0
Setting environment variable: RD_NODE_DESCRIPTION=Rundeck server node
Executing '/bin/sh' with arguments:
'-c'
'rm -f /tmp/
32-340646-rundeck-preprod01-dispatch-script.tmp.sh'
The ' characters around the executable and arguments are
not part of the command.
Execute:Java13CommandLauncher: Executing '/bin/sh' with arguments:
'-c'
'rm -f /tmp/
32-340646-rundeck-preprod01-dispatch-script.tmp.sh'
The ' characters around the executable and arguments are
not part of the command.
Setting project property: 1717534419523.node.rundeck-preprod01.LocalNodeExecutor.result -> 0
Failed: NonZeroResultCode: Result code was 126
[workflow] finishExecuteNodeStep(rundeck-preprod01): NodeDispatch: NonZeroResultCode: Result code was 126
1:
Workflow step finished, result: Dispatch failed on 1 nodes:
[rundeck-preprod01: NonZeroResultCode: Result code was 126 +
{dataContext=MultiDataContextImpl(map={ContextView(node:rundeck-preprod01)=BaseDataContext{{exec={exitCode=0}}},
ContextView(step:1,
node:rundeck-preprod01)=BaseDataContext{{exec={exitCode=0}}}},
base=null)} ]
[workflow] Finish step: 1,NodeDispatch
~]$ sudo cat /etc/rundeck/framework.properties
# framework.properties -
#
# ----------------------------------------------------------------
# Rundeck server connection information
# ----------------------------------------------------------------
framework.server.name =
framework.server.hostname =
framework.server.port = 4440
framework.server.url =
http://localhost# ----------------------------------------------------------------
# Installation locations
# ----------------------------------------------------------------
rdeck.base=/var/lib/rundeck
framework.projects.dir=/var/lib/rundeck/projects
framework.etc.dir=/etc/rundeck
framework.var.dir=/var/lib/rundeck/var
#framework.tmp.dir=/var/lib/rundeck/var/tmp
framework.tmp.dir=/opt/rundecktmp
framework.logs.dir=/var/lib/rundeck/logs
framework.libext.dir=/var/lib/rundeck/libext
#framework.file-copy-destination-dir=/opt/rundecktmp
# ----------------------------------------------------------------
# SSH defaults for node executor and file copier
# ----------------------------------------------------------------
framework.ssh.keypath = /var/lib/rundeck/.ssh/id_rsa
framework.ssh.user = ansible
# ssh connection timeout after a specified number of milliseconds.
# "0" value means wait forever.
framework.ssh.timeout = 0
framework.ssh-connection-timeout = 0
framework.ssh-command-timeout = 0