K8S_JOB receives delete failure message in spool file even though it runs successfully
search cancel

K8S_JOB receives delete failure message in spool file even though it runs successfully

book

Article ID: 367365

calendar_today

Updated On:

Products

Workload Automation Agent

Issue/Introduction

When viewing the spool file created by a K8S_JOB type, it contains a "Delete Failed" error at the top that looks like this...

2024-04-15T16:09:09.393-04:00: Delete Failed: {"response":{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"jobs.batch \"job_name\" not found","reason":"NotFound","details":{"name":"job_name","group":"batch","kind":"jobs"},"code":404}
}

However, the job completes successfully on the back end and in AutoSys. What is the meaning of this error in the spool?

Resolution

The error is part of normal processing for the K8S_JOB type and will always show in the spool file. It is not an indication that the job actually failed.