Bug 1702753
| Summary: | subscription-manager cockpit: registration via cockpit to an org with "contentAccessMode"="org_environment" is broken | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Shwetha Kallesh <skallesh> | |
| 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: | 7.7 | CC: | csnyder, jhnidek, jsefler, redakkan, wpoteat | |
| Target Milestone: | rc | Keywords: | Triaged | |
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1703148 (view as bug list) | Environment: | ||
| Last Closed: | 2020-09-29 19:22:40 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: | 1703148 | |||
| Bug Blocks: | ||||
| Attachments: | ||||
|
Description
Shwetha Kallesh
2019-04-24 16:41:24 UTC
Created attachment 1679362 [details] System is registered successfully via cockpit to an org with content_Access_mode set to org_environment [root@hpe-dl380pgen8-02-vm-15 ~]# curl --stderr /dev/null --insecure --user admin:admin --request PUT --data '{"contentAccessMode":"org_environment"}' --header 'accept: application/json' --header 'content-type: application/json' https://10.70.35.0:8443/candlepin/owners/snowwhite { "created" : "2020-04-16T10:29:37+0000", "updated" : "2020-04-16T11:50:48+0000", "id" : "8ac6a38071828911017182896e8d0002", "key" : "snowwhite", "displayName" : "Snow White", "parentOwner" : null, "contentPrefix" : null, "defaultServiceLevel" : null, "upstreamConsumer" : null, "logLevel" : null, "autobindDisabled" : false, "autobindHypervisorDisabled" : false, "contentAccessMode" : "org_environment", "contentAccessModeList" : "entitlement,org_environment", "lastRefreshed" : "2020-04-16T10:34:17+0000", "href" : "/owners/snowwhite" } Created attachment 1679387 [details]
Ignoring request for auto-attach is now displayed after system is registered via cockpit
Moving bug to verified
[root@hpe-dl380pgen8-02-vm-15 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 3.1.9-1
subscription management rules: 5.39
subscription-manager: 1.24.32
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 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-2020:3866 |