Bug 2023257
| Summary: | [RFE]: Disallow manual subscription attachment in SCA mode | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Rehana <redakkan> |
| Component: | subscription-manager | Assignee: | Jiri Hnidek <jhnidek> |
| Status: | CLOSED ERRATA | QA Contact: | Red Hat subscription-manager QE Team <rhsm-qe> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 9.0 | CC: | candlepin-bugs, cdonnell, jhnidek, nmoumoul, redakkan, rhsm-qe, zpetrace |
| Target Milestone: | rc | Keywords: | EasyFix, FutureFeature, Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | subscription-manager-1.29.23-1.el9 | Doc Type: | Enhancement |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 2017795 | Environment: | |
| Last Closed: | 2022-05-17 15:58:19 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: | 2017774, 2017795, 2182768 | ||
| Bug Blocks: | |||
|
Comment 2
Zdenek Petracek
2021-12-13 13:18:11 UTC
Version: [root@kvm-01-guest06 ~]# subscription-manager version server type: This system is currently not registered. subscription management server: 3.2.22-1 subscription management rules: 5.41 subscription-manager: 1.29.23-1.el9 Registering: [root@kvm-01-guest06 ~]# subscription-manager register Registering to: subscription.rhsm.stage.redhat.com:443/subscription Username: zpetracePH03 Password: The system has been registered with ID: ee8137ee-a8b1-4288-b3c8-86a44944e85b The registered system name is: kvm-01-guest06.lab.eng.brq.redhat.com [root@kvm-01-guest06 ~]# subscription-manager status +-------------------------------------------+ System Status Details +-------------------------------------------+ Overall Status: Disabled Content Access Mode is set to Simple Content Access. This host has access to content, regardless of subscription status. System Purpose Status: Disabled Final verification 1: [root@kvm-01-guest06 ~]# subscription-manager list --available | grep Pool Pool ID: 8a99f9ac7b5ee892017bc59cbab16930 Pool ID: 8a99f9ac7b5ee892017bc59f5c236932 Pool ID: 8a99f9ad7bca8239017bdf952e2e051d Pool ID: 8a99f9ad7bca8239017bdf952e77051f Pool ID: 8a99f9ad7bca8239017bdf954e010521 [root@kvm-01-guest06 ~]# subscription-manager attach --pool=8a99f9ad7bca8239017bdf952e2e051d Ignoring request to attach. It is disabled for org "13281785" because of the content access mode setting. [root@kvm-01-guest06 ~]# subscription-manager list --consumed No consumed subscription pools were found. --> PASSED Final-verification 2: [root@kvm-01-guest06 ~]# subscription-manager register --org=13281785 --activationkey=activationkey1 The system has been registered with ID: a3db61fe-3654-4c52-a2d0-5b4adee002da The registered system name is: kvm-01-guest06.lab.eng.brq.redhat.com [root@kvm-01-guest06 ~]# subscription-manager status +-------------------------------------------+ System Status Details +-------------------------------------------+ Overall Status: Disabled Content Access Mode is set to Simple Content Access. This host has access to content, regardless of subscription status. System Purpose Status: Disabled [root@kvm-01-guest06 ~]# subscription-manager list --available | grep Pool Pool ID: 8a99f9ac7b5ee892017bc59cbab16930 Pool ID: 8a99f9ac7b5ee892017bc59f5c236932 Pool ID: 8a99f9ad7bca8239017bdf952e2e051d Pool ID: 8a99f9ad7bca8239017bdf952e77051f Pool ID: 8a99f9ad7bca8239017bdf954e010521 [root@kvm-01-guest06 ~]# subscription-manager attach --pool=8a99f9ad7bca8239017bdf952e2e051d Ignoring request to attach. It is disabled for org "13281785" because of the content access mode setting. [root@kvm-01-guest06 ~]# subscription-manager list --consumed No consumed subscription pools were found. --> PASSED 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 (new packages: subscription-manager), 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/RHBA-2022:3984 |