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 1916456

Summary: Update Dep warnings for katello-agent in UI
Product: Red Hat Satellite Reporter: Chris Roberts <chrobert>
Component: katello-agentAssignee: Chris Roberts <chrobert>
Status: CLOSED ERRATA QA Contact: Gaurav Talreja <gtalreja>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.9.0CC: zhunting
Target Milestone: 6.9.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-katello-3.18.1.5-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-21 14:10:49 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 Chris Roberts 2021-01-14 20:02:58 UTC
Description of problem:
In prep for 7.0 katello-agent being removed, this bz is created to update the warnings for katello-agent in the UI and API.

Remove specific Katello version (and probably 'Katello' usage altogether)
backport to 6.9 (create a bz for that) / 3.18

Comment 1 Bryan Kearney 2021-01-20 15:49:47 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/31641 has been resolved.

Comment 3 Gaurav Talreja 2021-03-05 09:23:16 UTC
Verified.

Tested on: Satellite 6.9.0 Snap 15
Version: tfm-rubygem-katello-3.18.1.9-1.el7sat.noarch
         katello-3.18.1-3.el7sat.noarch

Steps::
- Updated warnings are present for katello-agent in UI after navigating to - Hosts -> Content hosts: 
a) Select host for Bulk action - manage errata
b) Select host for Bulk action - manage packages
c) content_host -> packages ( Actions, Installed, Applicable )
d) content_host -> errata
e) register content host


- Updated warnings are present for katello-agent for API calls in the production.log:

a) host bulk actions - example I used for install content
# curl --header "Accept:application/json,version=2" --header "Content-Type:application/json" --request PUT --user username:password --insecure --data '{"host_id":"<id>","organization_id":"<ord_id>","content_type":"package","included":{"search":"<hostname of content_host>"},"content":["<package_list>"]}'  https://<satellite_hostname>/api/hosts/bulk/install_content


b) host packages - example I used for remove
# curl --header "Accept:application/json,version=2" --header "Content-Type:application/json" --request PUT --user username:password --insecure --data '{"host_id":"<host_id>","packages":["<package_name>"]}' https://<satellite_hostname>/api/hosts/<host_id>/packages/remove


- Updated warnings are present for katello-agent for CLI in the production.log:

a) With host-collection:
   Create host collection 
     # hammer host-collection create --host-ids <id> --organization-id <org_id> --name <hc_name>
   Create bulk action
     # hammer host-collection package remove --packages <list of packages> --organization-id <id>

b) With host packages:
    # hammer host package upgrade --host-id <id> --packages <list of packages>

Observation:
Updated DEPRECATION WARNING: "Katello-agent is deprecated and will be removed in a future release."

Comment 6 errata-xmlrpc 2021-04-21 14:10:49 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 (Satellite 6.9 Satellite Tools Release), 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/RHBA-2021:1314