Bug 2255949
Summary: | 'Enable repository sets' in Errata tile of Host's Overview page in Satellite Web UI for RHEL 6 hosts even when repositories are enabled. | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Akshay Kapse <akapse> |
Component: | Hosts - Content | Assignee: | Ian Ballou <iballou> |
Status: | CLOSED ERRATA | QA Contact: | visawant |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.15.0 | CC: | ahumbe, iballou, jlenz, pcreech, rlavi, visawant, zhunting |
Target Milestone: | 6.15.0 | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2024-04-23 17:16:41 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
Akshay Kapse
2023-12-27 02:59:07 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? 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. 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? 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. 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. PR is out -- ready for testing Upstream bug assigned to iballou Upstream bug assigned to iballou Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/37106 has been resolved. 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 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 |