Bug 852001
Summary: | Can not register the system with option "--org" | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | xingge <gxing> | ||||
Component: | subscription-manager | Assignee: | Bryan Kearney <bkearney> | ||||
Status: | CLOSED ERRATA | QA Contact: | Entitlement Bugs <entitlement-bugs> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 5.9 | CC: | bkearney, jsefler, ldai | ||||
Target Milestone: | beta | ||||||
Target Release: | 5.9 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: |
Cause:
subscription-manager identity was reporting a database id for the "org id" that was then being misinterpreted by the user as an "org key".
Consequence:
the user would try to register with --org option passing in an unknown value
Fix:
changed the value reported by subscription-manager identity to actually report the org key as the "org id".
Result:
user can now register using the reported org id value
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-01-08 03:59:56 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: | 771748 | ||||||
Attachments: |
|
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux release for currently deployed products. This request is not yet committed for inclusion in a release. fixed in master at c27a5df05bdaa7dd985165c9bbbb5ff1631da0ef The value displayed for the org id has been changed from the schema id to the org's key value. The key is more useful to the user than the id. The key value is what should be supplied as the value for the --org option when registering. Verifying Version... [root@rhsm-accept-rhel5 ~]# rpm -q subscription-manager subscription-manager-1.0.17-1.el5 [root@rhsm-accept-rhel5 ~]# subscription-manager config --server.hostname subscription.rhn.stage.redhat.com --server.port 443 --server.prefix /subscription [root@rhsm-accept-rhel5 ~]# subscription-manager orgs --username=stage_test_12Password: +-------------------------------------------+ stage_test_12 Organizations +-------------------------------------------+ Name: stage_test_12 User Key: 6655634 [root@rhsm-accept-rhel5 ~]# subscription-manager register --username=stage_test_12 --org=6655634 Password: The system has been registered with id: e7eccf8b-7bc8-49f8-adc9-6f9532b82a89 [root@rhsm-accept-rhel5 ~]# subscription-manager identity Current identity is: e7eccf8b-7bc8-49f8-adc9-6f9532b82a89 name: rhsm-accept-rhel5.usersys.redhat.com org name: stage_test_12 User org id: 6655634 Movingto 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, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-0033.html |
Created attachment 607171 [details] rhsm.log when bug happened