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 2242384 - Satellite 6.13 Remote Execution "Run Job" button not present with correct Roles applied
Summary: Satellite 6.13 Remote Execution "Run Job" button not present with correct Rol...
Keywords:
Status: CLOSED DUPLICATE of bug 2255026
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Remote Execution
Version: 6.13.4
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Satellite QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-10-05 19:33 UTC by Benjamin Kielhold
Modified: 2024-02-12 13:28 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-02-12 13:28:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 36836 0 Normal New Checking authorized_for(hash_for_new_job_invocation_path) doesn't work since the rex wizard was made default 2023-10-16 15:23:14 UTC
Red Hat Issue Tracker SAT-20632 0 None None None 2023-10-05 19:35:53 UTC
Red Hat Knowledge Base (Solution) 7038757 0 None None None 2023-10-11 16:09:10 UTC

Description Benjamin Kielhold 2023-10-05 19:33:34 UTC
Description of problem:
-----------------------
Creating a user with the correct Role requirements for Remote Execution ("Remote Execution Manager" "Remote Execution User") Does not allow for the user to see the "Run Job" button via the Satellite UI. 


Version-Release number of selected component (if applicable):
-------------------------------------------------------------
Tested on Satellite version 6.13.4.1


How reproducible:
-----------------
100%


Steps to Reproduce:
-------------------
1. Create a User in the Red Hat Satellite.
2. Add the Roles, "Remote Execution Manager" and/or "Remote Execution User" to the newly created User from Step 1.
3. Enter all required fields per user creation and click Submit.
4. Impersonate that user as an Admin or logout and login as the newly created user.
5. Navigate to ~~ Monitor -> Jobs 
6. Only button present is the "?Documentation" button


Actual results:
---------------
User is unable to see the `Run Job` button and therefore, unable to execute jobs per the guidance of the documentation.


Expected results:
-----------------
Attaching the Roles should allow for the user the ability to see the `Run Job` button and follow on, execute jobs per the Satellite UI.


Additional info:
----------------
Workaround: If the user is given `Administrator` permission/Role, then they are able to see the, `Run Job` button and click it for job invocation.

Tested on Satellite 6.12.z, this works as expected when adding required Remote Execution Roles to the user.

Reference(s):
12.3. Permissions for Remote Execution
https://access.redhat.com/documentation/en-us/red_hat_satellite/6.13/html/managing_hosts/configuring_and_setting_up_remote_jobs_managing-hosts#permissions-for-remote-execution_managing-hosts

Comment 1 Adam Ruzicka 2023-10-06 07:17:54 UTC
As a workaround, you can always go to Hosts > All Hosts, select the hosts first and then click schedule a job in the actions dropdown

Comment 5 Adam Ruzicka 2024-02-09 12:24:29 UTC
This seems to be a duplicate of (or at least have the same root cause as) BZ2255026. The changes done to resolve it are on the smaller side of things and we could probably backport them to both 6.14.z and 6.13.z if there will be any. Should we keep this BZ for the Z-streams or close it as a dupe and then do the Z-stream dance around the other BZ?

[1] - https://bugzilla.redhat.com/show_bug.cgi?id=2255026

Comment 6 Ron Lavi 2024-02-12 13:28:21 UTC
Closing in favor of https://bugzilla.redhat.com/show_bug.cgi?id=2255026 which seems to fix the issue based on Comment 5 and is Verified in 6.15.0,
and it is being proposed to 6.14.z

*** This bug has been marked as a duplicate of bug 2255026 ***


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