Bug 2203183

Summary: [RFE] QoL improvements to the new Run job wizard
Product: Red Hat Satellite Reporter: Jan Senkyrik <jsenkyri>
Component: Remote ExecutionAssignee: Maria <magaphon>
Status: CLOSED ERRATA QA Contact: Pavel Novotny <pnovotny>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.13.0CC: aruzicka, pnovotny, torkil
Target Milestone: 6.14.0Keywords: FutureFeature, Triaged, UserExperience
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rubygem-foreman_remote_execution-10.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-08 14:19:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Senkyrik 2023-05-11 13:01:37 UTC
Description of problem:
Satellite 6.13 introduced a wizard for running jobs.

It can be quite tedious when doing a re-run as you have to go through the entire wizard again. It remembers the values from the initial run which is good but one has to click on 'Next' five times to re-run the job. Also on 'Advanced fields' page you might need to scroll down to find the 'Next' button.

The legacy form (while harder on the eyes) allowed user to re-run the job right away by clicking 'Submit'.

An option to do a re-run with single click would be nice.


How to reproduce:
- Start a job, you will get redirected to job invocation page
- On job invocation page click on 'Rerun'

Comment 3 Pavel Novotny 2023-07-12 15:35:10 UTC
Verified in 6.14 snap 5.

foreman-3.7.0-2.el8sat.noarch
rubygem-foreman_remote_execution-10.0.1-1.el8sat.noarch
satellite-6.14.0-2.el8sat.noarch


The Run job dialog now has two new buttons `Run on selected hosts` and `Skip to review`.

When all mandatory fields are filled in, these buttons become enabled.

`Run on selected hosts` immediately schedules the job on the selected hosts.

`Skip to review` takes user to the `Review details` step.

 

When Re-running the job, `Run on selected hosts` executes the job with the previously selected hosts and parameters.

Comment 6 errata-xmlrpc 2023-11-08 14:19:23 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Satellite 6.14 security and bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2023:6818