-
Bug
-
Resolution: Done-Errata
-
Normal
-
6.12.5
-
False
-
-
False
-
NEW
-
900
-
Phoenix
-
-
-
Sprint 135, Sprint 136, Sprint 137, Sprint 138, Sprint 139, Sprint 140, Sprint 141
-
Moderate
-
Automated
-
No
Description of problem:
While performing the below hammer command to enable(override) the repository from satellite 6.12.5 for a particular host is disabling all the repositories on the host.
- hammer host subscription content-override --content-label rhel-8-for-x86_64-baseos-rpms --value 1 --host host1.example.com
The same command worked fine when I tested on satellite versions 6.11 and 6.14
The issue is only with the hammer cli tool on the satellite 6.12 version
Version-Release number of selected component (if applicable): satellite 6.12.5
How reproducible:
100 % reproducible
Steps to Reproduce:
1. register a host to the satellite server
2. enable and sync some repositories on the satellite
3. now enable the repository from satellite cli for the particular host.
- hammer host subscription content-override --content-label <repo-label> --value 1 --host <hostname>
- hammer host subscription content-override --content-label rhel-8-for-x86_64-baseos-rpms --value 1 --host node3.example.com
Actual results:
- yum repolist
Updating Subscription Management repositories.
YUM version: 4.7.0
cachedir: /var/cache/dnf
Total packages: 0
Expected results:
[On client cli]
yum repolist
Updating Subscription Management repositories.
repo id repo name
rhel-8-for-x86_64-appstream-rpms Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)
rhel-8-for-x86_64-baseos-rpms Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)
Additional info: It works fine with a satellite GUI.
- links to
-
RHBA-2024:140284 Important: Satellite 6.16.0 release