This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2268428 - Reruning job does not prefill values
Summary: Reruning job does not prefill values
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Remote Execution
Version: Nightly
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: stream
Assignee: satellite6-bugs
QA Contact: Satellite QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-03-07 13:28 UTC by Ladislav Vasina
Modified: 2024-06-06 17:25 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-06-06 17:25:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker   SAT-23841 0 None Migrated None 2024-06-06 17:25:31 UTC

Description Ladislav Vasina 2024-03-07 13:28:17 UTC
Description of problem:
When you try to rerun the job on Satellite it prefills the "Job category", "Job template" and host on which it should run the desired job correctly (from the job you want to rerun), but the inputs of that job are not prefilled.


Version-Release number of selected component (if applicable):
Satellite stream #49
satellite-6.16.0-0.2.stream.el8sat.noarch
foreman-3.10.0-0.10.develop.20240215085533git08097fb.el8sat.noarch
Red Hat Enterprise Linux release 8.9 (Ootpa)

How reproducible:
Every time

Steps to Reproduce:
1. Navigate to the Job invocation page
2. Select i.e. Commands job template
3. Select the host on which to run the job in the "Target host and inputs" step and fill i.e "ls" to the command input field
4. Run the job
5. Wait for it to end
6. Click rerun
7. Observe the Run job page

Actual results:
The run job page is not prefilled with all the values from the job that is being rerun.

Expected results:
The run job page is prefilled with all the values from the job that is being rerun.

Additional info:

Comment 1 Adam Ruzicka 2024-03-11 08:36:49 UTC
Could you please check again on stream snap 50? I'm failing to reproduce it there, although I recall seeing this in one or two previous snaps. Chances are this was caused by the webpack bump and that this got resolved in the meantime in one of the followup fixes.

Comment 2 Ladislav Vasina 2024-03-11 09:20:07 UTC
Still not working for me on snap 50 sadly.

Comment 4 Adam Ruzicka 2024-03-11 10:05:50 UTC
Notes:
- seems to work on firefox
- doesn't seem to work on chrome-based browsers
  - Once or twice it started working after a refresh

Comment 7 Adam Ruzicka 2024-05-27 13:18:42 UTC
Same as https://bugzilla.redhat.com/show_bug.cgi?id=2274384 , this seems to have had the same root cause as https://bugzilla.redhat.com/show_bug.cgi?id=2274159 and the fix from that BZ along with the additional fixes mentioned in https://bugzilla.redhat.com/show_bug.cgi?id=2274159#c2 seem to have resolved this one as well. Because this one manifested itself in a quite specific way, we'll fast forward this for verification instead of just closing it directly or as a duplicate to make sure we haven't missed anything.

Comment 8 Lukáš Hellebrandt 2024-05-27 13:19:49 UTC
Verified with Sat stream snap 60.0.

1) Run a Rex job
2) Click rerun
3) Repeatedly, get to this page using the rerun button or F5 or CTRL+R

Tried with Firefox and Chrome on Fedora.

Tried under normal conditions and with artificially slowed down network:

# slow down
sudo tc qdisc add dev tun0 root netem delay 500ms
# make normal again
sudo tc qdisc del dev tun0 root netem

Comment 9 Eric Helms 2024-06-06 17:25:32 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.

Due to differences in account names between systems, some fields were not replicated.  Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "SAT-" followed by an integer.  You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.


Note You need to log in before you can comment on or make changes to this bug.