Bug 2097672
| Summary: | [RFE] Improve the error message to users that we ignore attach/auto-attach requests when SCA is enabled. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | 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: | unspecified | ||
| Version: | 8.7 | CC: | candlepin-bugs, jhnidek, jsefler, redakkan, rhsm-qe, rjerrido, zpetrace |
| Target Milestone: | rc | Keywords: | EasyFix, FutureFeature, Triaged |
| Target Release: | 8.8 | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | subscription-manager-1.28.33-1.el8 | Doc Type: | Enhancement |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 2094942 | Environment: | |
| Last Closed: | 2023-05-16 09:07:12 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: | 2094942 | ||
| Bug Blocks: | 2097670 | ||
|
Comment 2
John Sefler
2022-10-05 22:06:20 UTC
Pre-testing another build... [root@kvm-01-guest06 ~]# rpm -q subscription-manager subscription-manager-1.28.32+16.gff72d27f7-1.git.0.34075f9.x86_64 [root@kvm-01-guest06 ~]# rpm -q --changelog subscription-manager | egrep "2094942|2097672" - 2097672: Fixed expected message for manual attach case (jajerome) - 2097672: [1.28] Improve warning message (auto-attach in SCA mode) - 2097672: [RFE][1.28] Improve the message, when SCA is enabled ^^^^^^^ Note that the changelog is referencing the depends-on rhel-9.2 target bug 2097672 rather than this rhel-8.8 target bug 2094942. (It's the same fix for both releases) CASE register with --auto-attach: [root@kvm-01-guest06 ~]# subscription-manager register --username=stage_rhsmqe_scauser01 --auto-attach --serverurl=subscription.rhsm.stage.redhat.com Registering to: subscription.rhsm.stage.redhat.com:443/subscription Password: The system has been registered with ID: 0ee4a388-baf9-4065-8e61-477244399b10 The registered system name is: kvm-01-guest06.lab.eng.rdu2.redhat.com Ignoring the request to auto-attach. Attaching subscriptions is disabled for organization "13267661" because Simple Content Access (SCA) is enabled. Verified: Tested CASE attach --auto: [root@kvm-01-guest06 ~]# subscription-manager attach --auto Ignoring the request to auto-attach. Attaching subscriptions is disabled for organization "13267661" because Simple Content Access (SCA) is enabled. Verified: Tested Case attach --pool=ID: [root@kvm-01-guest06 ~]# subscription-manager list --available --pool-only | head -1 2c9456e0825caaa901825e635735039f [root@kvm-01-guest06 ~]# subscription-manager attach --pool=2c9456e0825caaa901825e635735039f Ignoring the request to attach. Attaching subscriptions is disabled for organization "13267661" because Simple Content Access (SCA) is enabled. Verified: Tested Verified: Tested all three cases report an improved message that "Attaching subscriptions is disabled...because Simple Content Access (SCA) is enabled." (In reply to John Sefler from comment #3) > [root@kvm-01-guest06 ~]# rpm -q --changelog subscription-manager | egrep "2094942|2097672" > - 2097672: Fixed expected message for manual attach case (jajerome) > - 2097672: [1.28] Improve warning message (auto-attach in SCA mode) > - 2097672: [RFE][1.28] Improve the message, when SCA is enabled > > ^^^^^^^ Note that the changelog is referencing the depends-on rhel-9.2 target bug 2097672 rather than this rhel-8.8 target bug 2094942. (It's the same fix for both releases) Please disregard that Note from comment #3. The note is wrong; my eyes are failing. I reviewed the test results and therefore moving the status to VERIFIED 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 (subscription-manager bug fix and enhancement update), 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-2023:2984 |