awx icon indicating copy to clipboard operation
awx copied to clipboard

Surveys break upgrading from .289 to .301

Open mkempster22 opened this issue 8 years ago • 7 comments

ISSUE TYPE
  • Bug Report
COMPONENT NAME
  • UI / API ?
SUMMARY

After upgrading from 1.0.2.289 to .301 trying to launch any job with a survey or edit the survey receives an error: "Failed to get job template details. GET returned status: undefined"

Possible relation to #704

ENVIRONMENT
  • AWX version: 1.0.2.301
  • AWX install method: docker on linux
  • Ansible version: 2.4.0/2.4.2
  • Operating System: RHEL 7
  • Web Browser: Chrome & IE
STEPS TO REPRODUCE

Upgrade AWX to .301 Existing surveys will now be broken. Surveys have been created on versions .289 and below

EXPECTED RESULTS

Survey should launch or be editable as normal

ACTUAL RESULTS

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

ADDITIONAL INFORMATION

I have tried this a few different times by recovering to a .289 backup. Also note that if you launch a workflow with a node that has a broken survey in it it will get stuck in running mode with no extra info and won't be able to be removed via GUI or API or any other means

mkempster22 avatar Dec 21 '17 13:12 mkempster22

I just noticed some problems with adding new surveys to job templates.

Adding new surveys to job templates doesn't appear to work.

cwegener avatar Dec 26 '17 13:12 cwegener

Tested on:

.301 .303 .307 .315 .322

Same issues with Job templates and the work flow editor not launching ( #891 )

mkempster22 avatar Jan 02 '18 08:01 mkempster22

Been looking into all the issues getting similar issues. Looks like there were some big changes to .300+ (API related) that has broken a lot of functionality around the WebUI such as launching jobs with any sort of prompts, jobs getting stuck at pending and the workflow editor not launching.

mkempster22 avatar Jan 03 '18 10:01 mkempster22

I guess #891 and #894 are related, I experience the same on 1.0.2.303

shortsteps avatar Jan 03 '18 16:01 shortsteps

The same on my Box:

ENVIRONMENT

  • AWX version: AWX 1.0.2.322
  • AWX install method: docker on linux
  • Ansible version: 2.4.2.0
  • Operating System: Debian 9
  • Web Browser: Chrome

quenck avatar Jan 05 '18 15:01 quenck

Looks like it's finally working in 1.0.2.327! Workflow editing is also working

ewithak avatar Jan 05 '18 18:01 ewithak

Confirmed, working on 1.0.2.327

quenck avatar Jan 05 '18 20:01 quenck