Bug 1916456
| Summary: | Update Dep warnings for katello-agent in UI | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Chris Roberts <chrobert> |
| Component: | katello-agent | Assignee: | Chris Roberts <chrobert> |
| Status: | CLOSED ERRATA | QA Contact: | Gaurav Talreja <gtalreja> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.9.0 | CC: | zhunting |
| Target Milestone: | 6.9.0 | Keywords: | 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
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/31641 has been resolved. 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."
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 |