Bug 1862772
Summary: | Default repositories are not enabled, after registering a client with an Activation Key, to an org with Simple Content Access Mode in Red Hat Satellite 6 | |||
---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | anerurka | |
Component: | Candlepin | Assignee: | satellite6-bugs <satellite6-bugs> | |
Status: | CLOSED ERRATA | QA Contact: | Lai <ltran> | |
Severity: | medium | Docs Contact: | ||
Priority: | high | |||
Version: | 6.8.0 | CC: | ahumbe, dhjoshi, dleroux, ktordeur, pcreech, redakkan, rjerrido, rkarimpa | |
Target Milestone: | 6.8.0 | Keywords: | PrioBumpGSS, Triaged | |
Target Release: | Unused | |||
Hardware: | All | |||
OS: | All | |||
Whiteboard: | ||||
Fixed In Version: | candlepin-3.1.19-1 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1868383 (view as bug list) | Environment: | ||
Last Closed: | 2020-10-27 13:04:55 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: | ||||
Bug Depends On: | 1868383 | |||
Bug Blocks: |
Steps to test 1. Create an org with Simple Content Access 2. Enabled repos rhel7 and rhel7 tools repos 3. sync the 2 repos 4. Create a cv and add the 2 repos 5. Publish cv 6. Create an activation key with the 2 repos 7. Add the subscriptions and override the tools repo to enable 8. Check that the rhel7 repo is enabled by default 9. Spin up a contenthost and register to satellite using the ak 10. run 'subscription-manager repos' on contenthost Expected result 8. rhel7 repo should be enabled by default. No override. 10. Rhel7 repo and rhel7 tools repo should show up as enabled. Actual result 8. rhel7 repo is shown as enabled by default. No override message. 10. rhel7 repo and rhel7 tools repo shows up as enabled. Repo ID: rhel-7-server-rpms Repo Name: Red Hat Enterprise Linux 7 Server (RPMs) Repo URL: <> Enabled: 1 Repo ID: rhel-7-server-satellite-tools-6.7-rpms Repo Name: Red Hat Satellite Tools 6.7 (for RHEL 7 Server) (RPMs) Repo URL: <> Enabled: 1 Verified on 6.8.0 snap 14 *** Bug 1859601 has been marked as a duplicate of this bug. *** 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.8 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-2020:4366 |
Description of problem: "Only Overridden Repositories" are enabled when after registering a client with an Activation Key. Default Repositories such as "Red Hat Enterprise Linux 7 Server (RPMs)" which are enabled by default in a Repository-Set are "not" enabled over client. Version-Release number of selected component (if applicable): Red Hat Satellite v.6.8 Beta [Snap 9.0] Client : subscription-manager-rhsm-certificates-1.24.26-3.el7_8.x86_64 subscription-manager-plugin-container-1.24.26-3.el7_8.x86_64 subscription-manager-rhsm-1.24.26-3.el7_8.x86_64 subscription-manager-1.24.26-3.el7_8.x86_64 How reproducible: Steps to Reproduce: 1. Org with a Simple Content Access Mode. 2. Content View with the RHEL7 repo 3. Activation Key 3.1 Content View with the mentioned repo 3.2 Inside Repository-Set enable Red Hat Satellite Tools repo [Enabled (overridden)] 3.3 Ensure that "Red Hat Enterprise Linux 7 Server (RPMs)" is enabled by default. 4. Register a client to Red Hat Satellite with an Activation Key Actual results: Client is registered with status "Not Subscribed" ===== # subscription-manager register --org="RedHat" --activationkey="rhel7" The system has been registered with ID: xxxx-xxxx-xxxx-xxxx-xxxx The registered system name is: client.example.com Installed Product Current Status: Product Name: Red Hat Enterprise Linux Server Status: Not Subscribed ===== >>> Default repository is not enabled and only overridden repo is enabled. ===== rhel-7-server-satellite-tools-6.7-rpms | 2.1 kB 00:00:00 (1/3): rhel-7-server-satellite-tools-6.7-rpms/x86_64/group | 124 B 00:00:01 (2/3): rhel-7-server-satellite-tools-6.7-rpms/x86_64/updateinfo | 7.4 kB 00:00:01 (3/3): rhel-7-server-satellite-tools-6.7-rpms/x86_64/primary | 22 kB 00:00:01 rhel-7-server-satellite-tools-6.7-rpms 71/71 repo id repo name status !rhel-7-server-satellite-tools-6.7-rpms/x86_64 Red Hat Satellite Tools 6.7 (for RHEL 7 Server) (RPMs) 71 repolist: 71 ===== - Manually enabling repository works fine, but not enabled by default, after registration. # subscription-manager repos --enable=rhel-7-server-rpms Expected results: All the repositories enabled in the repository set should be enabled, including default Additional info: It may or may not be related to client being registered with status "not subscribed"