# awx: how to cancel job

**URL:** <https://forum.ansible.com/t/awx-how-to-cancel-job/28427>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [August 27, 2018, 10:24am UTC](https://forum.ansible.com/t/awx-how-to-cancel-job/28427 "2018-08-27T10:24:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![christian.tremel](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@christian.tremel](https://forum.ansible.com/u/christian.tremel)\
**Post date:** [August 27, 2018, 10:24am UTC](https://forum.ansible.com/t/awx-how-to-cancel-job/28427/1 "2018-08-27T10:24:55Z")

</div>

i have a playbook job running over 67 hours and im unable to cancel it, so everything is blocked in awx. i already pushed the cancel button in the ui multiple times but no go. so how to i cancel or remove this job?

---

<div class="post-metadata">

**Author:** ![rpetrell](https://avatars.discourse-cdn.com/v4/letter/r/b4bc9f/32.png) [@rpetrell](https://forum.ansible.com/u/rpetrell)\
**Post date:** [August 27, 2018, 1:20pm UTC](https://forum.ansible.com/t/awx-how-to-cancel-job/28427/2 "2018-08-27T13:20:26Z")

</div>

Christian,

Can you share some details about your AWX install? [https://github.com/ansible/awx/issues/new?template=bug\_report.md](https://github.com/ansible/awx/issues/new?template=bug_report.md)

---

<div class="post-metadata">

**Author:** ![christian.tremel](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@christian.tremel](https://forum.ansible.com/u/christian.tremel)\
**Post date:** [August 27, 2018, 1:33pm UTC](https://forum.ansible.com/t/awx-how-to-cancel-job/28427/3 "2018-08-27T13:33:54Z")

</div>

oh, of course.

- AWX version:1.0.6.43
- AWX install method: local rpm install ([https://github.com/MrMEEE/awx-build](https://github.com/MrMEEE/awx-build))
- Ansible version: 2.6.2
- Operating System: RedHat EL 7.4
- Web Browser: Firefox

---

<div class="post-metadata">

**Author:** ![rpetrell](https://avatars.discourse-cdn.com/v4/letter/r/b4bc9f/32.png) [@rpetrell](https://forum.ansible.com/u/rpetrell)\
**Post date:** [August 27, 2018, 1:41pm UTC](https://forum.ansible.com/t/awx-how-to-cancel-job/28427/4 "2018-08-27T13:41:34Z")

</div>

Christian,

The local RPM install method you referenced isn’t really a supported install method for awx; we’ve seen odd issues like this in the past. If you install the latest awx using one of the methods described at [https://github.com/ansible/awx/blob/devel/INSTALL.md](https://github.com/ansible/awx/blob/devel/INSTALL.md), do you still encounter the problem? I also know that from 1.0.6.43 → 1.0.7 we resolved several issues that could cause unreliable cancellation like you’ve described - it’s possible that updating might fix things for you:

[https://github.com/ansible/awx/commit/ffdd7f162bca9369b6e0c779ee39f0ab811893f3](https://github.com/ansible/awx/commit/ffdd7f162bca9369b6e0c779ee39f0ab811893f3)  
[https://github.com/ansible/awx/commit/41fe9e1caf0d171f2d2da9c5be84332654a2c2e1](https://github.com/ansible/awx/commit/41fe9e1caf0d171f2d2da9c5be84332654a2c2e1)

---

<div class="post-metadata">

**Author:** ![christian.tremel](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@christian.tremel](https://forum.ansible.com/u/christian.tremel)\
**Post date:** [August 27, 2018, 1:59pm UTC](https://forum.ansible.com/t/awx-how-to-cancel-job/28427/5 "2018-08-27T13:59:30Z")

</div>

hmm…ok, will try out the new version.

---

<div class="post-metadata">

**Author:** ![Chris\_Shultz](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/chris_shultz/32/5176_2.png) [@Chris\_Shultz](https://forum.ansible.com/u/Chris_Shultz)\
**Post date:** [September 25, 2018, 8:15pm UTC](https://forum.ansible.com/t/awx-how-to-cancel-job/28427/6 "2018-09-25T20:15:41Z")

</div>

Depending what your job is hanging on you may be able to kill the process and have it move on (i.e. kill the ssh session, which will fail the job but get around the “uncancleable” nature), you may want to go back and set the default timeout in awx to something more reasonable than the eternity it is set to by default to avoid the problem in the future.
