# Job finishes without any output.

**URL:** <https://forum.ansible.com/t/job-finishes-without-any-output/37715>\
**Category:** AWX Project\
**Tags:** kubernetes, awx\
**Created:** [March 2, 2023, 12:26am UTC](https://forum.ansible.com/t/job-finishes-without-any-output/37715 "2023-03-02T00:26:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rake](https://avatars.discourse-cdn.com/v4/letter/r/8e8cbc/32.png) [@rake](https://forum.ansible.com/u/rake)\
**Post date:** [March 2, 2023, 12:26am UTC](https://forum.ansible.com/t/job-finishes-without-any-output/37715/1 "2023-03-02T00:26:20Z")

</div>

I’m actually having a instance with operator version 19.0.0 and awx version 20.0.0.  
When i launch a job it runs and says its failed but there is no output.Container even doesn’t get launched. Below is the output that i see all the pods like awx-controller,awx-web and redis.Any help or guidance in which way to trouble shoot would be highly appreciated I’m scratching my head from almost three to four days.

2023-03-01 22:01:37,108 DEBUG [5c45b299cd9f42f0aa836dfcda14d5c7] awx.main.dispatch task a683ea7b-24cb-479a-93eb-9d42400c26cc starting awx.main.tasks.system.update\_inventory\_computed\_fields(\*[3])

2023-03-01 22:01:37,137 DEBUG [5c45b299cd9f42f0aa836dfcda14d5c7] awx.main.models.inventory Going to update inventory computed fields, pk=3

2023-03-01 22:01:37,179 DEBUG [5c45b299cd9f42f0aa836dfcda14d5c7] awx.main.models.inventory Finished updating inventory computed fields, pk=3, in 0.041 seconds

2023-03-01 22:01:37,461 DEBUG [5c45b299cd9f42f0aa836dfcda14d5c7] awx.main.dispatch task 67556950-fc58-4319-beb4-53f0709933e3 starting awx.main.scheduler.tasks.run\_task\_manager(\*)

2023-03-01 22:01:37,462 DEBUG [5c45b299cd9f42f0aa836dfcda14d5c7] awx.main.scheduler Running task manager.

2023-03-01 22:01:37,484 DEBUG [5c45b299cd9f42f0aa836dfcda14d5c7] awx.main.scheduler Starting Scheduler

2023-03-01 22:01:37,614 DEBUG [5c45b299cd9f42f0aa836dfcda14d5c7] awx.analytics.job\_lifecycle job-319 acknowledged

2023-03-01 22:01:37,694 DEBUG [a3084a1e28fb44eaa816af16b5cd5c4b] awx.main.dispatch task 52272cc7-f4c3-46b4-b48b-dd27a490bef2 starting awx.main.tasks.system.awx\_periodic\_scheduler(\*)

2023-03-01 22:01:37,717 DEBUG [a3084a1e28fb44eaa816af16b5cd5c4b] awx.main.tasks.system Starting periodic scheduler

2023-03-01 22:01:37,722 DEBUG [a3084a1e28fb44eaa816af16b5cd5c4b] awx.main.tasks.system Last scheduler run was: 2023-03-01 22:01:07.691276+00:00

2023-03-01 22:01:37,911 DEBUG [5c45b299cd9f42f0aa836dfcda14d5c7] awx.main.scheduler Finishing Scheduler

2023-03-01 22:01:47,721 DEBUG [87815043041d46419fa21427c0ab2c3f] awx.main.dispatch task b6aabdc3-a2f9-4166-ab23-18ecbcbdd936 starting awx.main.scheduler.tasks.run\_task\_manager(\*)

2023-03-01 22:01:47,722 DEBUG [87815043041d46419fa21427c0ab2c3f] awx.main.scheduler Running task manager.

2023-03-01 22:01:47,743 DEBUG [87815043041d46419fa21427c0ab2c3f] awx.main.scheduler Starting Scheduler

2023-03-01 22:01:47,773 DEBUG [87815043041d46419fa21427c0ab2c3f] awx.main.dispatch task 0c6e0f47-70dc-43c0-a046-86a9e48a5954 starting awx.main.analytics.analytics\_tasks.send\_subsystem\_metrics(\*)

2023-03-01 22:01:47,806 DEBUG [87815043041d46419fa21427c0ab2c3f] awx.main.scheduler Finishing Scheduler

2023-03-01 22:02:07,112 DEBUG [-] awx.main.commands.run\_callback\_receiver 27 is alive

2023-03-01 22:02:07,112 DEBUG [-] awx.main.commands.run\_callback\_receiver 27 is alive

2023-03-01 22:02:07,891 DEBUG [fdd710c076fa49f18b079391a30fb46b] awx.main.dispatch task 70250242-8ee6-4046-b981-42d7a34a0f25 starting awx.main.tasks.system.cluster\_node\_heartbeat(\*)

2023-03-01 22:02:07,893 DEBUG [fdd710c076fa49f18b079391a30fb46b] awx.main.tasks.system Cluster node heartbeat task.

2023-03-01 22:02:07,927 DEBUG [fdd710c076fa49f18b079391a30fb46b] awx.main.dispatch task 05f30b68-2d57-40d0-94ef-e33760627b65 starting awx.main.tasks.system.awx\_k8s\_reaper(\*)

2023-03-01 22:02:07,929 DEBUG [fdd710c076fa49f18b079391a30fb46b] awx.main.dispatch task 0a916b7c-7aed-4d78-949e-de10ac85e66e starting awx.main.tasks.system.awx\_periodic\_scheduler(\*)

2023-03-01 22:02:07,928 DEBUG [fdd710c076fa49f18b079391a30fb46b] awx.main.dispatch task 3448a1c3-2923-4fae-85a0-6b2b4ed46366 starting awx.main.tasks.system.awx\_receptor\_workunit\_reaper(\*)

2023-03-01 22:02:07,931 DEBUG [fdd710c076fa49f18b079391a30fb46b] awx.main.tasks.system Checking for unreleased receptor work units

2023-03-01 22:01:37,338 DEBUG [5c45b299cd9f42f0aa836dfcda14d5c7] awx.analytics.job\_lifecycle job-319 created

2023-03-01 22:01:37,522 DEBUG [5c45b299cd9f42f0aa836dfcda14d5c7] awx.analytics.performance request: \<WSGIRequest: POST ‘/api/v2/jobs/318/relaunch/’\>, response\_time: 0.761s

10.200.36.6 - - [01/Mar/2023:22:01:37 +0000] “POST /api/v2/jobs/318/relaunch/ HTTP/1.1” 201 3601 “[https://tpx-neteng.apps.apa.comcast.net/](https://tpx-neteng.apps.apa.comcast.net/)” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10\_15\_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36” “10.200.36.1”

[pid: 30|app: 0|req: 168/535] 10.200.36.6 () {78 vars in 3308 bytes} [Wed Mar 1 22:01:36 2023] POST /api/v2/jobs/318/relaunch/ =\> generated 3601 bytes in 763 msecs (HTTP/1.1 201) 15 headers in 615 bytes (1 switches on core 0)

10.200.36.6 - - [01/Mar/2023:22:01:37 +0000] “GET /websocket/ HTTP/1.1” 101 321 “-” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10\_15\_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36” “10.200.36.1”

2023-03-01 22:01:37,812 DEBUG [f4248b510fc549498784bc5fca7b8504] awx.analytics.performance request: \<WSGIRequest: GET ‘/api/v2/unified\_jobs/?id=319’\>, response\_time: 0.205s

10.200.36.6 - - [01/Mar/2023:22:01:37 +0000] “GET /api/v2/unified\_jobs/?id=319 HTTP/1.1” 200 3547 “[https://tpx-neteng.apps.apa.comcast.net/](https://tpx-neteng.apps.apa.comcast.net/)” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10\_15\_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36” “10.200.36.1”

[pid: 31|app: 0|req: 85/536] 10.200.36.6 () {72 vars in 3176 bytes} [Wed Mar 1 22:01:37 2023] GET /api/v2/unified\_jobs/?id=319 =\> generated 3547 bytes in 206 msecs (HTTP/1.1 200) 14 headers in 575 bytes (1 switches on core 0)

DEBUG 2023/03/01 22:01:52 Sending service advertisement: &{awx-85dcf5f44b-8z974 control 2023-03-01 22:01:52.70497102 +0000 UTC m=+2345.623164299 1 map[type:Control Service] [{local false} {kubernetes-runtime-auth false} {kubernetes-incluster-auth false}]}

1:M 01 Mar 2023 21:57:52.157 \* Background saving terminated with success

1:M 01 Mar 2023 22:02:53.016 \* 100 changes in 300 seconds. Saving…

1:M 01 Mar 2023 22:02:53.017 \* Background saving started by pid 27

27:C 01 Mar 2023 22:02:53.027 \* DB saved on disk

27:C 01 Mar 2023 22:02:53.027 \* Fork CoW for RDB: current 0 MB, peak 0 MB, average 0 MB

1:M 01 Mar 2023 22:02:53.117 \* Background saving terminated with success

---

<div class="post-metadata">

**Author:** ![mjksohonet](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/mjksohonet/32/1217_2.png) [@mjksohonet](https://forum.ansible.com/u/mjksohonet)\
**Post date:** [March 2, 2023, 11:38am UTC](https://forum.ansible.com/t/job-finishes-without-any-output/37715/2 "2023-03-02T11:38:20Z")

</div>

Have you tried increasing the verbosity level in the template definition?

---

<div class="post-metadata">

**Author:** ![rake](https://avatars.discourse-cdn.com/v4/letter/r/8e8cbc/32.png) [@rake](https://forum.ansible.com/u/rake)\
**Post date:** [March 2, 2023, 7:04pm UTC](https://forum.ansible.com/t/job-finishes-without-any-output/37715/3 "2023-03-02T19:04:18Z")

</div>

I did it’s not giving me any output

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [March 3, 2023, 6:31pm UTC](https://forum.ansible.com/t/job-finishes-without-any-output/37715/4 "2023-03-03T18:31:45Z")

</div>

Hi!

does the job end in a failed or success state? can you provide the /api/v2/jobs/\<job\_id\> output?

AWX Team

---

<div class="post-metadata">

**Author:** ![rake](https://avatars.discourse-cdn.com/v4/letter/r/8e8cbc/32.png) [@rake](https://forum.ansible.com/u/rake)\
**Post date:** [March 4, 2023, 4:25am UTC](https://forum.ansible.com/t/job-finishes-without-any-output/37715/5 "2023-03-04T04:25:22Z")

</div>

- [REST API](https://tpx-neteng.apps.apa.comcast.net/api/)
- [Version 2](https://tpx-neteng.apps.apa.comcast.net/api/v2/)
- [Job List](https://tpx-neteng.apps.apa.comcast.net/api/v2/jobs/)
- [Job Detail](https://tpx-neteng.apps.apa.comcast.net/api/v2/jobs/363/)

DELETE

Job Detail

GET /api/v2/jobs/363/  
HTTP 200 OK Allow: GET, DELETE, HEAD, OPTIONS Content-Type: application/json Vary: Accept X-API-Node: awx-85dcf5f44b-8z974 X-API-Product-Name: AWX X-API-Product-Version: 20.0.1 X-API-Time: 0.130s { “id”: 363, “type”: “job”, “url”: “[/api/v2/jobs/363/](https://tpx-neteng.apps.apa.comcast.net/api/v2/jobs/363/)”, “related”: { “created\_by”: “[/api/v2/users/3/](https://tpx-neteng.apps.apa.comcast.net/api/v2/users/3/)”, “modified\_by”: “[/api/v2/users/3/](https://tpx-neteng.apps.apa.comcast.net/api/v2/users/3/)”, “labels”: “[/api/v2/jobs/363/labels/](https://tpx-neteng.apps.apa.comcast.net/api/v2/jobs/363/labels/)”, “inventory”: “[/api/v2/inventories/3/](https://tpx-neteng.apps.apa.comcast.net/api/v2/inventories/3/)”, “organization”: “[/api/v2/organizations/7/](https://tpx-neteng.apps.apa.comcast.net/api/v2/organizations/7/)”, “credentials”: “[/api/v2/jobs/363/credentials/](https://tpx-neteng.apps.apa.comcast.net/api/v2/jobs/363/credentials/)”, “stdout”: “[/api/v2/jobs/363/stdout/](https://tpx-neteng.apps.apa.comcast.net/api/v2/jobs/363/stdout/)”, “job\_events”: “[/api/v2/jobs/363/job\_events/](https://tpx-neteng.apps.apa.comcast.net/api/v2/jobs/363/job_events/)”, “job\_host\_summaries”: “[/api/v2/jobs/363/job\_host\_summaries/](https://tpx-neteng.apps.apa.comcast.net/api/v2/jobs/363/job_host_summaries/)”, “activity\_stream”: “[/api/v2/jobs/363/activity\_stream/](https://tpx-neteng.apps.apa.comcast.net/api/v2/jobs/363/activity_stream/)”, “notifications”: “[/api/v2/jobs/363/notifications/](https://tpx-neteng.apps.apa.comcast.net/api/v2/jobs/363/notifications/)”, “create\_schedule”: “[/api/v2/jobs/363/create\_schedule/](https://tpx-neteng.apps.apa.comcast.net/api/v2/jobs/363/create_schedule/)”, “cancel”: “[/api/v2/jobs/363/cancel/](https://tpx-neteng.apps.apa.comcast.net/api/v2/jobs/363/cancel/)”, “relaunch”: “[/api/v2/jobs/363/relaunch/](https://tpx-neteng.apps.apa.comcast.net/api/v2/jobs/363/relaunch/)” }, “summary\_fields”: { “organization”: { “id”: 7, “name”: “org\_Bongo”, “description”: “Auto created” }, “inventory”: { “id”: 3, “name”: “inv\_Cyclone”, “description”: “Auto Created”, “has\_active\_failures”: false, “total\_hosts”: 28, “hosts\_with\_active\_failures”: 0, “total\_groups”: 0, “has\_inventory\_sources”: false, “total\_inventory\_sources”: 0, “inventory\_sources\_with\_failures”: 0, “organization\_id”: 7, “kind”: “” }, “created\_by”: { “id”: 3, “username”: “rboina200”, “first\_name”: “Rakesh”, “last\_name”: “Boinapally” }, “modified\_by”: { “id”: 3, “username”: “rboina200”, “first\_name”: “Rakesh”, “last\_name”: “Boinapally” }, “user\_capabilities”: { “delete”: true, “start”: true }, “labels”: { “count”: 0, “results”: }, “credentials”: [{ “id”: 10, “name”: “key\_Cyclone”, “description”: “Auto Created”, “kind”: “vault”, “cloud”: false }, { “id”: 11, “name”: “key\_Cyclone”, “description”: “Auto Created”, “kind”: “ssh”, “cloud”: false }] }, “created”: “2023-03-03T22:12:37.534216Z”, “modified”: “2023-03-03T22:13:05.705932Z”, “name”: “cyclone\_config\_server\_qa”, “description”: “clean, install and start config server in cf”, “job\_type”: “run”, “inventory”: 3, “project”: null, “playbook”: “”, “scm\_branch”: “”, “forks”: 0, “limit”: “”, “verbosity”: 0, “extra\_vars”: “{"ansible\_become\_method": "su", "ansible\_become\_user": "root", "selected\_host": "cytools-as-a1p.sys.comcast.net", "selected\_groups": "cytools-as-a1p.sys.comcast.net", "no\_log": true, "release\_ver": "22.9.0", "selected\_env": "int-as-g8", "selected\_roles": "upgrade"}”, “job\_tags”: “”, “force\_handlers”: false, “skip\_tags”: “”, “start\_at\_task”: “”, “timeout”: 0, “use\_fact\_cache”: false, “organization”: 7, “unified\_job\_template”: null, “launch\_type”: “manual”, “status”: “failed”, “execution\_environment”: null, “failed”: true, “started”: null, “finished”: “2023-03-03T22:13:05.705260Z”, “canceled\_on”: null, “elapsed”: 0.0, “job\_args”: “”, “job\_cwd”: “”, “job\_env”: {}, “job\_explanation”: “Job cannot start because Credential key\_Cyclone does not provide one or more required fields (vault\_password). Task failed pre-start check.”, “execution\_node”: “”, “controller\_node”: “awx-85dcf5f44b-8z974”, “result\_traceback”: “”, “event\_processing\_finished”: true, “launched\_by”: { “id”: 3, “name”: “rboina200”, “type”: “user”, “url”: “[/api/v2/users/3/](https://tpx-neteng.apps.apa.comcast.net/api/v2/users/3/)” }, “work\_unit\_id”: null, “job\_template”: null, “passwords\_needed\_to\_start”: , “allow\_simultaneous”: false, “artifacts”: {}, “scm\_revision”: “”, “instance\_group”: null, “diff\_mode”: false, “job\_slice\_number”: 0, “job\_slice\_count”: 1, “webhook\_service”: “”, “webhook\_credential”: null, “webhook\_guid”: “”, “host\_status\_counts”: {}, “playbook\_counts”: { “play\_count”: 0, “task\_count”: 0 }, “custom\_virtualenv”: null }

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [March 8, 2023, 7:46pm UTC](https://forum.ansible.com/t/job-finishes-without-any-output/37715/6 "2023-03-08T19:46:36Z")

</div>

see “job\_explanation”

“job\_explanation”: “Job cannot start because Credential key\_Cyclone does not provide one or more required fields (vault\_password). Task failed pre-start check.”,

I would address that ^

AWX Team
