Red Hat Bugzilla – 1859601 – activation key mapped to a CV requires to force 'Enable (overridden)' repositories, when in Organization Environment Access ( Simple Content Access)
Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
----------------------
When running a Satellite in Simple Content Access mode.
After having synchronized repositories and created a CV and activation key
if the Repository Sets (under activation key) are left to their defaults, registering a host with the satellite won't enable ANY repo, even some are listed as 'Enabled' in the GUI.
On the other end, if the repos are forced to 'Enabled (overridden)' in the activation key, then registering a system with the satellite will get these repositories enabled
Version-Release number of selected component (if applicable):
-------------------------------------------------------------
Satellite 6.7.1 ( on my specific environment )
candlepin-selinux-2.9.25-1.el7sat.noarch
candlepin-2.9.25-1.el7sat.noarch
How reproducible:
-----------------
Every time and this is documented in length under case #02707433
Steps to Reproduce:
1. Sync repositories
2. Create CV with above repositories
3. Create an activation key which matches the CV created in step 2,
the activation key should match the proper Release Version
and Environment as well.
4. Do not attach any subscription to the activation key
5. Leave the Repository Sets to it's defaults.
6. Register a system with the satellite using the activation key
Actual results:
# subscription-manager register --org="Vandelay" --activationkey="ak7"
The system has been registered with ID: eb8f4457-3e91-4785-bc08-369f4169f361
The registered system name is: serva.nleroux.ca
Installed Product Current Status:
Product Name: Red Hat Enterprise Linux Server
Status: Not Subscribed
# yum repolist
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is registered with an entitlement server, but is not receiving updates. You can use subscription-manager to assign subscriptions.
repolist: 0
Expected results:
###### Whereas if the list of Repository Sets are forced to "Enabled (overridden)", the repositories WILL be enabled when registering the system with the activation key.
All same steps as above, but this time:
[root@serva ~]# yum repolist
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is registered with an entitlement server, but is not receiving updates. You can use subscription-manager to assign subscriptions.
rhel-7-server-extras-rpms | 2.0 kB 00:00
rhel-7-server-optional-rpms | 1.8 kB 00:00
rhel-7-server-rh-common-rpms | 2.1 kB 00:00
rhel-7-server-rpms | 2.0 kB 00:00
rhel-7-server-satellite-tools-6.7-rpms | 2.1 kB 00:00
(1/15): rhel-7-server-extras-rpms/x86_64/group | 124 B 00:00
(2/15): rhel-7-server-extras-rpms/x86_64/updateinfo | 236 kB 00:00
(3/15): rhel-7-server-extras-rpms/x86_64/primary | 396 kB 00:00
(4/15): rhel-7-server-optional-rpms/x86_64/group | 22 kB 00:00
(5/15): rhel-7-server-rh-common-rpms/x86_64/group | 124 B 00:00
(6/15): rhel-7-server-rh-common-rpms/x86_64/updateinfo | 34 kB 00:00
(7/15): rhel-7-server-rh-common-rpms/x86_64/primary | 68 kB 00:00
(8/15): rhel-7-server-optional-rpms/x86_64/updateinfo | 2.7 MB 00:00
(9/15): rhel-7-server-optional-rpms/x86_64/primary | 5.9 MB 00:00
(10/15): rhel-7-server-rpms/x86_64/group | 631 kB 00:00
(11/15): rhel-7-server-satellite-tools-6.7-rpms/x86_64/gro | 124 B 00:00
(12/15): rhel-7-server-rpms/x86_64/updateinfo | 3.7 MB 00:00
(13/15): rhel-7-server-satellite-tools-6.7-rpms/x86_64/upd | 7.4 kB 00:00
(14/15): rhel-7-server-satellite-tools-6.7-rpms/x86_64/pri | 22 kB 00:00
(15/15): rhel-7-server-rpms/x86_64/primary | 45 MB 00:01
rhel-7-server-extras-rpms 1303/1303
rhel-7-server-optional-rpms 21328/21328
rhel-7-server-rh-common-rpms 243/243
rhel-7-server-rpms 29225/29225
Additional info:
case 02707433 documents this bug
Description of problem: ---------------------- When running a Satellite in Simple Content Access mode. After having synchronized repositories and created a CV and activation key if the Repository Sets (under activation key) are left to their defaults, registering a host with the satellite won't enable ANY repo, even some are listed as 'Enabled' in the GUI. On the other end, if the repos are forced to 'Enabled (overridden)' in the activation key, then registering a system with the satellite will get these repositories enabled Version-Release number of selected component (if applicable): ------------------------------------------------------------- Satellite 6.7.1 ( on my specific environment ) candlepin-selinux-2.9.25-1.el7sat.noarch candlepin-2.9.25-1.el7sat.noarch How reproducible: ----------------- Every time and this is documented in length under case #02707433 Steps to Reproduce: 1. Sync repositories 2. Create CV with above repositories 3. Create an activation key which matches the CV created in step 2, the activation key should match the proper Release Version and Environment as well. 4. Do not attach any subscription to the activation key 5. Leave the Repository Sets to it's defaults. 6. Register a system with the satellite using the activation key Actual results: # subscription-manager register --org="Vandelay" --activationkey="ak7" The system has been registered with ID: eb8f4457-3e91-4785-bc08-369f4169f361 The registered system name is: serva.nleroux.ca Installed Product Current Status: Product Name: Red Hat Enterprise Linux Server Status: Not Subscribed # yum repolist Loaded plugins: product-id, search-disabled-repos, subscription-manager This system is registered with an entitlement server, but is not receiving updates. You can use subscription-manager to assign subscriptions. repolist: 0 Expected results: ###### Whereas if the list of Repository Sets are forced to "Enabled (overridden)", the repositories WILL be enabled when registering the system with the activation key. All same steps as above, but this time: [root@serva ~]# yum repolist Loaded plugins: product-id, search-disabled-repos, subscription-manager This system is registered with an entitlement server, but is not receiving updates. You can use subscription-manager to assign subscriptions. rhel-7-server-extras-rpms | 2.0 kB 00:00 rhel-7-server-optional-rpms | 1.8 kB 00:00 rhel-7-server-rh-common-rpms | 2.1 kB 00:00 rhel-7-server-rpms | 2.0 kB 00:00 rhel-7-server-satellite-tools-6.7-rpms | 2.1 kB 00:00 (1/15): rhel-7-server-extras-rpms/x86_64/group | 124 B 00:00 (2/15): rhel-7-server-extras-rpms/x86_64/updateinfo | 236 kB 00:00 (3/15): rhel-7-server-extras-rpms/x86_64/primary | 396 kB 00:00 (4/15): rhel-7-server-optional-rpms/x86_64/group | 22 kB 00:00 (5/15): rhel-7-server-rh-common-rpms/x86_64/group | 124 B 00:00 (6/15): rhel-7-server-rh-common-rpms/x86_64/updateinfo | 34 kB 00:00 (7/15): rhel-7-server-rh-common-rpms/x86_64/primary | 68 kB 00:00 (8/15): rhel-7-server-optional-rpms/x86_64/updateinfo | 2.7 MB 00:00 (9/15): rhel-7-server-optional-rpms/x86_64/primary | 5.9 MB 00:00 (10/15): rhel-7-server-rpms/x86_64/group | 631 kB 00:00 (11/15): rhel-7-server-satellite-tools-6.7-rpms/x86_64/gro | 124 B 00:00 (12/15): rhel-7-server-rpms/x86_64/updateinfo | 3.7 MB 00:00 (13/15): rhel-7-server-satellite-tools-6.7-rpms/x86_64/upd | 7.4 kB 00:00 (14/15): rhel-7-server-satellite-tools-6.7-rpms/x86_64/pri | 22 kB 00:00 (15/15): rhel-7-server-rpms/x86_64/primary | 45 MB 00:01 rhel-7-server-extras-rpms 1303/1303 rhel-7-server-optional-rpms 21328/21328 rhel-7-server-rh-common-rpms 243/243 rhel-7-server-rpms 29225/29225 Additional info: case 02707433 documents this bug