Bug 1425766
| Summary: | [RFE] Indicate that system is currently granted access to org/environment-level content | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Shwetha Kallesh <skallesh> | |
| Component: | subscription-manager | Assignee: | William Poteat <wpoteat> | |
| Status: | CLOSED ERRATA | QA Contact: | John Sefler <jsefler> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 7.5 | CC: | csnyder, jhnidek, khowell, redakkan, rjerrido, skallesh | |
| Target Milestone: | pre-dev-freeze | Keywords: | FutureFeature, Reopened | |
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1568018 (view as bug list) | Environment: | ||
| Last Closed: | 2018-10-30 10:36:03 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: | ||||
| Bug Blocks: | 1544891, 1568018 | |||
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available. The official life cycle policy can be reviewed here: http://redhat.com/rhel/lifecycle This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL: https://access.redhat.com/ Still a valid request for subscription-manager generally. We'll look at it for RHEL7. *** Bug 1547072 has been marked as a duplicate of this bug. *** Verification:
[root@localhost ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 2.5.4-1
subscription management rules: 5.26
subscription-manager: 1.21.5-2.el7
[root@localhost ~]# subscription-manager register --force
Unregistering from: shwetha-candlepin.usersys.redhat.com:8443/candlepin
The system with UUID a983c830-0781-4571-8b3f-e3023b92d896 has been unregistered
All local data removed
Registering to: shwetha-candlepin.usersys.redhat.com:8443/candlepin
Username: admin
Password:
Organization: snowwhite
The system has been registered with ID: f00bd205-e0e9-489e-889a-fcaa21d67610
The registered system name is: localhost.localdomain
[root@localhost ~]# subscription-manager repos --list
+----------------------------------------------------------+
Available Repositories in /etc/yum.repos.d/redhat.repo
+----------------------------------------------------------+
Repo ID: awesomeos-ia64-only-content
Repo Name: awesomeos-ia64-only-content
Repo URL: https://cdn.redhat.com/snowwhite/path/to/awesomeos/all
Enabled: 0
Repo ID: awesomeos-i386-only-content
Repo Name: awesomeos-i386-only-content
Repo URL: https://cdn.redhat.com/snowwhite/path/to/awesomeos/all
Enabled: 0
Repo ID: snowy-content-label
Repo Name: snowy-content
Repo URL: https://cdn.redhat.com/snowwhite/snowy/foo/path
Enabled: 0
Repo ID: never-enabled-content
Repo Name: never-enabled-content
Repo URL: https://cdn.redhat.com/snowwhite/foo/path/never
Enabled: 0
Repo ID: awesomeos-all
Repo Name: awesomeos-all
Repo URL: https://cdn.redhat.com/snowwhite/path/to/awesomeos/all
Enabled: 0
Repo ID: awesomeos-ppc-only-content
Repo Name: awesomeos-ppc-only-content
Repo URL: https://cdn.redhat.com/snowwhite/path/to/awesomeos/all
Enabled: 0
Repo ID: awesomeos-x86_64-only-content
Repo Name: awesomeos-x86_64-only-content
Repo URL: https://cdn.redhat.com/snowwhite/path/to/awesomeos/all
Enabled: 0
Repo ID: awesomeos-ppc64
Repo Name: awesomeos-ppc64
Repo URL: https://cdn.redhat.com/snowwhite/path/to/awesomeos/ppc64
Enabled: 0
Repo ID: awesomeos-s390x
Repo Name: awesomeos-s390x
Repo URL: https://cdn.redhat.com/snowwhite/path/to/awesomeos/s390x
Enabled: 0
Repo ID: awesomeos-ia64
Repo Name: awesomeos-ia64
Repo URL: https://cdn.redhat.com/snowwhite/path/to/awesomeos/ia64
Enabled: 0
Repo ID: awesomeos-i686
Repo Name: awesomeos-i686
Repo URL: https://cdn.redhat.com/snowwhite/path/to/awesomeos/i686
Enabled: 0
Repo ID: awesomeos-x86_64
Repo Name: awesomeos-x86_64
Repo URL: https://cdn.redhat.com/snowwhite/path/to/awesomeos/x86_64
Enabled: 0
Repo ID: awesomeos-ppc64-only-content
Repo Name: awesomeos-ppc64-only-content
Repo URL: https://cdn.redhat.com/snowwhite/path/to/awesomeos/all
Enabled: 0
Repo ID: awesomeos-s390x-only-content
Repo Name: awesomeos-s390x-only-content
Repo URL: https://cdn.redhat.com/snowwhite/path/to/awesomeos/all
Enabled: 0
Repo ID: awesomeos-x86_64-i386-content
Repo Name: awesomeos-x86_64-i386-content
Repo URL: https://cdn.redhat.com/snowwhite/path/to/awesomeos/all
Enabled: 0
Repo ID: content-label-empty-gpg
Repo Name: content-emptygpg
Repo URL: https://cdn.redhat.com/snowwhite/foo/path
Enabled: 0
Repo ID: awesomeos-i386
Repo Name: awesomeos-i386
Repo URL: https://cdn.redhat.com/snowwhite/path/to/awesomeos/i386
Enabled: 0
Repo ID: awesomeos-x86
Repo Name: awesomeos-x86
Repo URL: https://cdn.redhat.com/snowwhite/path/to/awesomeos/$releasever/x86
Enabled: 0
Repo ID: awesomeos
Repo Name: awesomeos
Repo URL: https://cdn.redhat.com/snowwhite/path/to/$basearch/$releasever/awesomeos
Enabled: 0
Repo ID: awesomeos-ppc
Repo Name: awesomeos-ppc
Repo URL: https://cdn.redhat.com/snowwhite/path/to/awesomeos/ppc
Enabled: 0
Repo ID: content-label
Repo Name: content
Repo URL: https://cdn.redhat.com/snowwhite/foo/path
Enabled: 0
Repo ID: snowy-never-enabled-content
Repo Name: snowy-never-enabled-content
Repo URL: https://cdn.redhat.com/snowwhite/snowy/foo/path/never
Enabled: 0
Repo ID: content-label-no-gpg
Repo Name: content-nogpg
Repo URL: https://cdn.redhat.com/snowwhite/foo/path
Enabled: 0
[root@localhost ~]# subscription-manager list --consumed
No consumed subscription pools were found.
[root@localhost ~]# subscription-manager status
+-------------------------------------------+
System Status Details
+-------------------------------------------+
Overall Status: Invalid
Content Access Mode is set to Organization/Environment Access. This host has access to content, regardless of subscription status.
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, 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-2018:3153 |
Description of problem: Indicate that system is currently granted access to org/environment-level content Version-Release number of selected component (if applicable): [root@dell-per210-01 ~]# subscription-manager version server type: This system is currently not registered. subscription management server: 2.0.25-1 subscription management rules: 5.20 subscription-manager: 1.18.10-1.el6 python-rhsm: 1.18.6-1.el6 How reproducible: Steps to Reproduce: [root@dell-per210-01 ~]# curl -X PUT -k -u admin:admin -d '{"contentAccessMode":"org_environment"}' -H "Content-Type: application/json" "https://shwetha-workstation.usersys.redhat.com:8443/candlepin/owners/snowwhite" | python -mjson.tool % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 127 469 0 469 0 39 278 23 --:--:-- 0:00:01 --:--:-- 975 { "autobindDisabled": null, "contentAccessMode": "org_environment", "contentAccessModeList": "org_environment", "contentPrefix": null, "created": "2017-02-17T10:35:09+0000", "defaultServiceLevel": null, "displayName": "Snow White", "href": "/owners/snowwhite", "id": "8ac6a39f5a4ba3af015a4ba3c8730003", "key": "snowwhite", "logLevel": null, "parentOwner": null, "updated": "2017-02-17T11:19:46+0000", "upstreamConsumer": null } [root@dell-per210-01 ~]# subscription-manager register --force The system with UUID 13c50319-3a39-4712-a81d-49432388196f has been unregistered Registering to: shwetha-workstation.usersys.redhat.com:8443/candlepin Username: admin Password: Organization: snowwhite The system has been registered with ID: bc8c8779-5427-4405-9a0e-8b24330a562c [root@dell-per210-01 ~]# subscription-manager repos --list +----------------------------------------------------------+ Available Repositories in /etc/yum.repos.d/redhat.repo +----------------------------------------------------------+ Repo ID: awesomeos-ia64-only-content Repo Name: awesomeos-ia64-only-content Repo URL: https://cdn.redhat.com/snowwhite/path/to/awesomeos/all Enabled: 0 Repo ID: awesomeos-i386-only-content Repo Name: awesomeos-i386-only-content Repo URL: https://cdn.redhat.com/snowwhite/path/to/awesomeos/all Enabled: 0 Repo ID: snowy-content-label Repo Name: snowy-content Repo URL: https://cdn.redhat.com/snowwhite/snowy/foo/path Enabled: 0 Repo ID: never-enabled-content Repo Name: never-enabled-content Repo URL: https://cdn.redhat.com/snowwhite/foo/path/never Enabled: 0 Repo ID: awesomeos-all Repo Name: awesomeos-all Repo URL: https://cdn.redhat.com/snowwhite/path/to/awesomeos/all Enabled: 0 Repo ID: awesomeos-ppc-only-content Repo Name: awesomeos-ppc-only-content Repo URL: https://cdn.redhat.com/snowwhite/path/to/awesomeos/all Enabled: 0 Repo ID: awesomeos-x86_64-only-content Repo Name: awesomeos-x86_64-only-content Repo URL: https://cdn.redhat.com/snowwhite/path/to/awesomeos/all Enabled: 0 Repo ID: awesomeos-ppc64 Repo Name: awesomeos-ppc64 Repo URL: https://cdn.redhat.com/snowwhite/path/to/awesomeos/ppc64 Enabled: 0 Repo ID: awesomeos-s390x Repo Name: awesomeos-s390x Repo URL: https://cdn.redhat.com/snowwhite/path/to/awesomeos/s390x Enabled: 0 Repo ID: awesomeos-ia64 Repo Name: awesomeos-ia64 Repo URL: https://cdn.redhat.com/snowwhite/path/to/awesomeos/ia64 Enabled: 0 Repo ID: awesomeos-i686 Repo Name: awesomeos-i686 Repo URL: https://cdn.redhat.com/snowwhite/path/to/awesomeos/i686 Enabled: 0 Repo ID: awesomeos-x86_64 Repo Name: awesomeos-x86_64 Repo URL: https://cdn.redhat.com/snowwhite/path/to/awesomeos/x86_64 Enabled: 0 Repo ID: awesomeos-ppc64-only-content Repo Name: awesomeos-ppc64-only-content Repo URL: https://cdn.redhat.com/snowwhite/path/to/awesomeos/all Enabled: 0 Repo ID: awesomeos-s390x-only-content Repo Name: awesomeos-s390x-only-content Repo URL: https://cdn.redhat.com/snowwhite/path/to/awesomeos/all Enabled: 0 Repo ID: awesomeos-x86_64-i386-content Repo Name: awesomeos-x86_64-i386-content Repo URL: https://cdn.redhat.com/snowwhite/path/to/awesomeos/all Enabled: 0 Repo ID: content-label-empty-gpg Repo Name: content-emptygpg Repo URL: https://cdn.redhat.com/snowwhite/foo/path Enabled: 0 Repo ID: awesomeos-i386 Repo Name: awesomeos-i386 Repo URL: https://cdn.redhat.com/snowwhite/path/to/awesomeos/i386 Enabled: 0 Repo ID: awesomeos-x86 Repo Name: awesomeos-x86 Repo URL: https://cdn.redhat.com/snowwhite/path/to/awesomeos/$releasever/x86 Enabled: 0 Repo ID: awesomeos Repo Name: awesomeos Repo URL: https://cdn.redhat.com/snowwhite/path/to/$basearch/$releasever/awesomeos Enabled: 0 Repo ID: awesomeos-ppc Repo Name: awesomeos-ppc Repo URL: https://cdn.redhat.com/snowwhite/path/to/awesomeos/ppc Enabled: 0 Repo ID: content-label Repo Name: content Repo URL: https://cdn.redhat.com/snowwhite/foo/path Enabled: 0 Repo ID: snowy-never-enabled-content Repo Name: snowy-never-enabled-content Repo URL: https://cdn.redhat.com/snowwhite/snowy/foo/path/never Enabled: 0 Repo ID: content-label-no-gpg Repo Name: content-nogpg Repo URL: https://cdn.redhat.com/snowwhite/foo/path Enabled: 0 [root@dell-per210-01 ~]# subscription-manager list --consumed +-------------------------------------------+ Consumed Subscriptions +-------------------------------------------+ Subscription Name: Content Access Provides: Content Access SKU: content_access Contract: Account: Serial: 3532449175399493811 Pool ID: Not Available Provides Management: No Active: True Quantity Used: 1 Service Level: Service Type: Status Details: Subscription is current Subscription Type: Starts: 02/21/2017 Ends: 02/21/2018 System Type: Physical [root@dell-per210-01 ~]# subscription-manager status +-------------------------------------------+ System Status Details +-------------------------------------------+ Overall Status: Invalid Awesome OS Modifier Bits: - Not supported by a valid subscription. Awesome OS for S390 Bits: - Not supported by a valid subscription. Awesome OS for All Arch (all per arch content) Bits: - Not supported by a valid subscription. Awesome OS for x86 Bits: - Not supported by a valid subscription. RAM Limiting Product: - Not supported by a valid subscription. Actual results: [root@dell-per210-01 ~]# subscription-manager status +-------------------------------------------+ System Status Details +--------------------- Expected results: some suggestions in the etherpad starting from line no 48 http://etherpad.corp.redhat.com/goldenTicket Additional info: