awx
awx copied to clipboard
Cannot relaunch a job with the prompted job_slice_count value
Please confirm the following
- [X] I agree to follow this project's code of conduct.
- [X] I have checked the current issues for duplicates.
- [X] I understand that AWX is open source software provided for free and that I might not receive a timely response.
Bug Summary
When the job_slice_count is configured to be prompted on launch and user tries relaunch this job template job, it will receive the
Bad Request (400) received - {'detail': 'Cannot relaunch sliced workflow job after slice count has changed.'}
AWX version
4.3.0
Select the relevant components
- [ ] UI
- [X] API
- [ ] Docs
- [ ] Collection
- [ ] CLI
- [ ] Other
Installation method
docker development environment
Modifications
no
Ansible version
No response
Operating system
No response
Web browser
No response
Steps to reproduce
- Create Job Template. make sure the Job Slices is marked as "Prompt on launch".
- Launch job template with job_slic_count > 2 value
- Wait unit job completion.
- Select the resulting workflow job and click Relaunch.
Expected results
Api returned 400:
Bad Request (400) received - {'detail': 'Cannot relaunch sliced workflow job after slice count has changed.'}
Actual results
Job should be relaunched with the initially prompted number for slices.
Additional information
No response