Bug #36953
closedConfigured tags are gone when re-running an Ansible job
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2245050
Description of problem:
- When re-running a job the advanced field "tags" are not re-added to the new job
- The Include/Exclude option is also reset
- The "advanced fields" options are not visible in the "Preview templates" tab
Version-Release number of selected component (if applicable):
- Satellite 6.12
- Satellite 6.13
How reproducible:
- Everytime
Steps to Reproduce:
1. Goto Hosts => Job Templates
2. Run the job "Run Command - Ansible Default"
3. Select a host and select any command, example "pwd"
4. In the "advanced fields" add a tag "test" and select "include" as tags_flag
5. Run the job
6. After a successfull run press the "Rerun" button
7. The configured tag "test" is now gone
Actual results:
- Tags are not properly copied when re-running a job
Expected results:
- Options from "advanced fields" should be carried over when re-running a job
Additional info:
- The missing tags may cause problems when re-running jobs on failed hosts.
- A re-run may be triggered by another admin user who was not aware that tags may be required
Updated by The Foreman Bot about 1 year ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman_remote_execution/pull/852 added
Updated by Girija Soni about 1 year ago
- Subject changed from Configured tags are gone when re-running an Ansible job to Configured tags are gone when re-running an Ansible job
- Assignee set to Girija Soni
Updated by The Foreman Bot about 1 year ago
- Fixed in Releases foreman_remote_execution-12.0.1 added
Updated by The Foreman Bot about 1 year ago
- Pull request https://github.com/theforeman/foreman_remote_execution/pull/856 added
Updated by Girija Soni about 1 year ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_plugin|3ab48081adafb4501e2927376d294a93723ab5e9.
Updated by The Foreman Bot about 1 year ago
- Pull request deleted (
https://github.com/theforeman/foreman_remote_execution/pull/852, https://github.com/theforeman/foreman_remote_execution/pull/856)
Updated by The Foreman Bot about 1 year ago
- Pull request https://github.com/theforeman/foreman_remote_execution/pull/857 added