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 2255949 - 'Enable repository sets' in Errata tile of Host's Overview page in Satellite Web UI for RHEL 6 hosts even when repositories are enabled.
Summary: 'Enable repository sets' in Errata tile of Host's Overview page in Satellite ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hosts - Content
Version: 6.15.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: 6.15.0
Assignee: Ian Ballou
QA Contact: visawant
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-12-27 02:59 UTC by Akshay Kapse
Modified: 2024-04-23 17:16 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-04-23 17:16:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 37106 0 Normal Ready For Testing Add python-setuptools as an installation dependency for EL6 katello-host-tools 2024-01-25 18:45:01 UTC
Red Hat Issue Tracker SAT-22143 0 None None None 2023-12-27 03:00:06 UTC
Red Hat Product Errata RHSA-2024:2010 0 None None None 2024-04-23 17:16:42 UTC

Description Akshay Kapse 2023-12-27 02:59:07 UTC
Description of problem:
- Errata tile in Host's Overview page on Satellite Web UI for RHEL 6 is blank with "No installed packages and/or enabled repositories have been reported by subscription-manager."

Version-Release number of selected component (if applicable):
- 6.15

How reproducible:
- Easily

Steps to Reproduce:
1. Register RHEL 6 host.
2. Check Host Overview tab for Errata tile.
3. Check enabled repositories:
# yum repolist
repo id                                       repo name                                                                  status
rhel-6-server-els-rpms                        Red Hat Enterprise Linux 6 Server - Extended Life Cycle Support (RPMs)     21,451
rhel-6-server-els-satellite-client-6-rpms     Red Hat Satellite Client 6 (for RHEL 6 Server - ELS) (RPMs)                    20
repolist: 21,471


Try restarting services:
# service rhsmcertd restart
Stopping rhsmcertd...                                      [  OK  ]
Starting rhsmcertd...                                      [  OK  ]
# subscription-manager refresh
1 local certificate has been deleted.
All local data refreshed

Still Highlighted 'Enable repository sets'.

Actual results:
- 'No installed packages and/or enabled repositories have been reported by subscription-manager.'
Highlighted 'Enable repository sets'

Expected results:
- Should show correct information as for other RHEL releases.

Additional info:

Comment 3 Jeremy Lenz 2024-01-02 16:42:41 UTC
This looks like Satellite isn't getting package profile uploads from the host. I would assume that in addition to Errata, the Packages tab is also blank.

Does installing katello-host-tools on the host fix it?

Failing that, is it possible to upgrade subscription-manager on the host?

Comment 4 Akshay Kapse 2024-01-03 01:37:06 UTC
Hello,

Package katello-host-tools is installed on the host but still there is no reporting.

I can see details in 'Packages' tab.
If clicked on tab 'Repository Sets' then it shows enabled repositories too but on 'Errata' tile it says 'Enable Repository Sets'
and 'Errata' tab is also empty.

Comment 5 Jeremy Lenz 2024-01-03 14:38:33 UTC
If Satellite knew that katello-host-tools is installed, the error message should be "No installed packages and/or enabled repositories have been reported by katello-host-tools." Seems like we're having problems uploading the enabled repositories and/or installed package list.

What is the result of running 'katello-enabled-repos-upload --force' or 'katello-package-upload --force' ?

Is the issue only with a single host, or with all rhel6 hosts?

Comment 8 Ian Ballou 2024-01-19 22:54:08 UTC
katello-enabled-repos-upload is not needed to get the package profile pushed to Satellite -- it is done by subscription-manager when a yum command (like install) is run. You'll see the issue go away if you `yum install` something.

Once I installed some package, all of the errata were correctly reported on my RHEL 6 client.

On top of that, I was able to enable the RHEL 6 repositories via the UI.

---

I was able to run `katello-enabled-repos-upload --force` once I did the following:


yum install python-setuptools


I suppose the fix here would be to make python-setuptools a requirement of katello-host-tools for EL6 only.

Patrick, what would it take to get python-setuptools added as a dependency for EL6 katello-host-tools? Is that reasonably possible?

Otherwise we can mark this as a documentation issue for EL6.

Comment 9 Patrick Creech 2024-01-23 15:59:09 UTC
The technical aspect of updating, it shouldn't be difficult to add a requirement on that in the spec file.  Someone will need to update the katello-host-tools spec upstream so we can ingest it properly.

Comment 15 Ian Ballou 2024-01-25 18:45:20 UTC
PR is out -- ready for testing

Comment 16 Bryan Kearney 2024-01-25 20:02:53 UTC
Upstream bug assigned to iballou

Comment 17 Bryan Kearney 2024-01-25 20:02:55 UTC
Upstream bug assigned to iballou

Comment 18 Bryan Kearney 2024-01-30 16:02:51 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/37106 has been resolved.

Comment 19 visawant 2024-02-14 15:47:02 UTC
Verified 
Satellite 6.15.0 snap 9
katello-host-tools-4.2.3-5.el6sat.noarch.rpm


Pre-requisites:
---------------
1. Make sure Client repos for RHEL-6 are enabled to install katello-host-tools package on rhel-6 content host
rhel-6-server-els-rpms
rhel-6-server-els-satellite-client-6-rpm


Steps performed:
---------------
1. Register RHEL 6 Host
2. Install katello-host-tools package on client
# yum install katello-host-tools
# katello-enabled-repos-upload --force

3. Check enabled repositories:
# yum repolist
rhel-6-server-els-satellite-client-6-rpms              Red Hat Satellite Client 6 (for RHEL 6 Server - ELS) (RPMs)
rhel-6-server-extras-rpms                              Red Hat Enterprise Linux 6 Server - Extras (RPMs) 
OR
# subscription-manager repos

4. Check Host Overview tab for Errata tile.

5. If any message "All up to date" it means package profile upload

6. If don't see any errata then just try to downgrade some of packages
# yum downgrade crda cpio cloud-init

Comment 22 errata-xmlrpc 2024-04-23 17:16:41 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 (Important: Satellite 6.15.0 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/RHSA-2024:2010


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