# upgrade from 1.0.1.35 to 1.0.2.303 broke the execution of any job template.

**URL:** <https://forum.ansible.com/t/upgrade-from-1-0-1-35-to-1-0-2-303-broke-the-execution-of-any-job-template/26414>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [January 4, 2018, 2:55pm UTC](https://forum.ansible.com/t/upgrade-from-1-0-1-35-to-1-0-2-303-broke-the-execution-of-any-job-template/26414 "2018-01-04T14:55:04Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cesar\_Sanchez2](https://avatars.discourse-cdn.com/v4/letter/c/f6c823/32.png) [@Cesar\_Sanchez2](https://forum.ansible.com/u/Cesar_Sanchez2)\
**Post date:** [January 4, 2018, 2:55pm UTC](https://forum.ansible.com/t/upgrade-from-1-0-1-35-to-1-0-2-303-broke-the-execution-of-any-job-template/26414/1 "2018-01-04T14:55:04Z")

</div>

Hi guys.

I tried the upgrade of AWX using the docker images from 1.0.1.35 to 1.0.2.303, and now. I can’t execute any job template.

Unfortunately, I read Matt comment , where the team released significative changes that could break the upgrade, after the fact, so, my question is: is there any other way of recovering my templates to a good state than starting from scratch and re-doing everything?

Thanks,

-Cesar

---

<div class="post-metadata">

**Author:** ![Cesar\_Sanchez2](https://avatars.discourse-cdn.com/v4/letter/c/f6c823/32.png) [@Cesar\_Sanchez2](https://forum.ansible.com/u/Cesar_Sanchez2)\
**Post date:** [January 4, 2018, 3:57pm UTC](https://forum.ansible.com/t/upgrade-from-1-0-1-35-to-1-0-2-303-broke-the-execution-of-any-job-template/26414/2 "2018-01-04T15:57:31Z")

</div>

Additionally, the job template execution via the tower-cli works.

It only fails via the browser, with an error:

Failed to get job template details. GET returned status: undefined

Also, adding/editing a survey fails with the same error.

-Cesar

---

<div class="post-metadata">

**Author:** ![jmitchel](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jmitchel/32/10148_2.png) [@jmitchel](https://forum.ansible.com/u/jmitchel)\
**Post date:** [January 4, 2018, 6:36pm UTC](https://forum.ansible.com/t/upgrade-from-1-0-1-35-to-1-0-2-303-broke-the-execution-of-any-job-template/26414/3 "2018-01-04T18:36:49Z")

</div>

Hey Cesar,  
Open up the browser debugger and see if there’s any more info about the REST call that failed (in Chrome: network tab, look for the requests in red, and open their response tab). Please paste that info here.

If you can execute through the CLI it is most likely not an upgrade issue (most likely upgrade issue is database schema changes, and if that was the case, you would probably not be able to run JTs any way), and is more likely a bug, probably with the UI code.

---

<div class="post-metadata">

**Author:** ![Cesar\_Sanchez2](https://avatars.discourse-cdn.com/v4/letter/c/f6c823/32.png) [@Cesar\_Sanchez2](https://forum.ansible.com/u/Cesar_Sanchez2)\
**Post date:** [January 4, 2018, 6:59pm UTC](https://forum.ansible.com/t/upgrade-from-1-0-1-35-to-1-0-2-303-broke-the-execution-of-any-job-template/26414/4 "2018-01-04T18:59:04Z")

</div>

Hey John…

I don’t get any failed api call.

1. a GET request is issued:  
GET /api/v2/job\_templates/352/launch/ and the response is 200

The response:  
can\_start\_without\_user\_input false  
passwords\_needed\_to\_start   
ask\_variables\_on\_launch true  
ask\_tags\_on\_launch true  
ask\_diff\_mode\_on\_launch false  
ask\_skip\_tags\_on\_launch true  
ask\_job\_type\_on\_launch false  
ask\_limit\_on\_launch true  
ask\_verbosity\_on\_launch true  
ask\_inventory\_on\_launch true  
ask\_credential\_on\_launch true  
survey\_enabled false  
variables\_needed\_to\_start   
credential\_needed\_to\_start false  
inventory\_needed\_to\_start true  
job\_template\_data {…}  
id 352  
description  
name TEST JOB  
defaults {…}  
job\_tags  
extra\_vars  
verbosity 0  
job\_type run  
diff\_mode false  
skip\_tags  
limit  
inventory {…}  
id null  
name null  
credentials

1. an OPTIONS request is issued:

OPTIONS /api/v2/job\_templates/352/launch/

1. a GET request is issued:  
GET /api/v2/credential\_types/

The response contains all the credential types… (Amazon Web Services, … )

And then, the attached screenshot modal appears.

Thanks,

-Cesar

> **(attachments)**
>
> ![Screenshot-2018-1-4 Ansible AWX TEMPLATES.png](https://us1.discourse-cdn.com/ansible/original/2X/6/63246d4bca3d348f7e118ba8738eac5d2f217830.png)

---

<div class="post-metadata">

**Author:** ![jmitchel](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jmitchel/32/10148_2.png) [@jmitchel](https://forum.ansible.com/u/jmitchel)\
**Post date:** [January 4, 2018, 9:00pm UTC](https://forum.ansible.com/t/upgrade-from-1-0-1-35-to-1-0-2-303-broke-the-execution-of-any-job-template/26414/5 "2018-01-04T21:00:34Z")

</div>

This is strange.

There are a few [places](https://github.com/ansible/awx/search?utf8=%E2%9C%93&q=%22Failed+to+get+job+template+details.+GET+returned+status%22&type=) in the code that would spit out this error, and they all are output in a catch block directly after a Rest call returns a failure response or some sort of error is thrown directly as a result of the call…there doesn’t seem to be any other code between the rest call and getting into that catch block, so I can’t think of what else it might be. Are they any filters set in your debugger? Is there no red text in the JS console at all?

---

<div class="post-metadata">

**Author:** ![Cesar\_Sanchez2](https://avatars.discourse-cdn.com/v4/letter/c/f6c823/32.png) [@Cesar\_Sanchez2](https://forum.ansible.com/u/Cesar_Sanchez2)\
**Post date:** [January 4, 2018, 9:52pm UTC](https://forum.ansible.com/t/upgrade-from-1-0-1-35-to-1-0-2-303-broke-the-execution-of-any-job-template/26414/6 "2018-01-04T21:52:25Z")

</div>

Hey John.

That’s my debugger snapshot whenever I press on the rocket to launch a job template…

Thanks,

-Cesar

> **(attachments)**
>
> ![screenshot.jpg](https://us1.discourse-cdn.com/ansible/original/2X/1/1d31a12621ed8dc4d4cddad6f84703c0d401b009.jpeg)

---

<div class="post-metadata">

**Author:** ![mkempster22uu](https://avatars.discourse-cdn.com/v4/letter/m/e0b2c6/32.png) [@mkempster22uu](https://forum.ansible.com/u/mkempster22uu)\
**Post date:** [January 5, 2018, 8:41am UTC](https://forum.ansible.com/t/upgrade-from-1-0-1-35-to-1-0-2-303-broke-the-execution-of-any-job-template/26414/7 "2018-01-05T08:41:20Z")

</div>

For reference here are github issues related to this:

[https://github.com/ansible/awx/issues/875](https://github.com/ansible/awx/issues/875) - Surveys breaking with GET returned status: ‘undefined’  
[https://github.com/ansible/awx/issues/891](https://github.com/ansible/awx/issues/891) - Workflow editor not working

---

<div class="post-metadata">

**Author:** ![Cesar\_Sanchez2](https://avatars.discourse-cdn.com/v4/letter/c/f6c823/32.png) [@Cesar\_Sanchez2](https://forum.ansible.com/u/Cesar_Sanchez2)\
**Post date:** [January 7, 2018, 9:30pm UTC](https://forum.ansible.com/t/upgrade-from-1-0-1-35-to-1-0-2-303-broke-the-execution-of-any-job-template/26414/8 "2018-01-07T21:30:14Z")

</div>

This issue got resolved with image version 1.0.2.327.

Thanks guys.

-Cesar
