Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 2256170

Summary: [RFE] To introduce an option to apply selected errata via Ansible
Product: Red Hat Satellite Reporter: Sahil Bhasin <sabhasin>
Component: Errata ManagementAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.15.0CC: aruzicka, dsinglet, iballou, jlenz, rlavi
Target Milestone: UnspecifiedKeywords: FutureFeature
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-02-14 13:39:45 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 Sahil Bhasin 2023-12-29 09:38:22 UTC
Description of problem:

1. Proposed title of this feature request.

To introduce an option to apply selected errata via Ansible 

2. What is the nature and description of the request?

To add an option to apply the selected errata via ansible in the below path:
Satellite WebUI --> Hosts --> Content Hosts --> Client.example.com --> Errata --> Select errata --> Apply via ansible.

3. Why does the customer need this? (List the business requirements here)

Current Behaviour: 

As of now, there is no option to select Apply via ansible. The only available options are Apply via remote execution or Apply via customized remote execution. 

If we select apply via customized remote execution and we change the job category such as Katello via Ansible and Job Template as "Install Errata - Katelli Ansible Default" then under the errata details the selected errata ID is not visible. 

Similarly, if the same thing happens while using the legacy form then under "Errata search query" Errata ID is present but the selected host is missing. So to avoid this if we get directly an option to Apply via ansible it will be more convenient for customers to apply the selected errata host-wise. 

4. How would the customer like to achieve this? (List the functional requirements here)

To add an option to apply the selected errata via ansible in the below path:
Satellite WebUI --> Hosts --> Content Hosts --> Client.example.com --> Errata --> Select errata --> Apply via ansible.

5. For each functional requirement listed, specify how Red Hat and the customer 
can test to confirm the requirement is successfully implemented.

We should be able to apply the selected errata via ansible from the below path:
Satellite WebUI --> Hosts --> Content Hosts --> Client.example.com --> Errata --> Select errata --> Apply via ansible.


6. Is there already an existing RFE upstream or in Red Hat Bugzilla?

No.

Comment 1 Ian Ballou 2024-01-10 23:00:17 UTC
The content hosts part of the UI is considered legacy. Everything will soon go through the actual Host details page.

That said, we do have support for running customized remote execution jobs using the "Katello via Ansible" job category.

There is a BZ relating to this though: https://bugzilla.redhat.com/show_bug.cgi?id=2256136

Sahil, do you have any thoughts on marking this BZ as a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=2256136 ?

Comment 2 Jeremy Lenz 2024-01-23 21:24:06 UTC
In https://bugzilla.redhat.com/show_bug.cgi?id=2256136 we added Ansible default job templates for the web UI. I think the solution there will also cover this RFE.

Comment 3 Dana Singleterry 2024-02-14 13:39:45 UTC

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

Comment 4 Red Hat Bugzilla 2024-06-14 04:25:12 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days