Bug 854985
| Summary: | subscription-manager register for a system fails using the activation key | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Subscription Asset Manager | Reporter: | Tazim Kolhar <tkolhar> | ||||
| Component: | katello | Assignee: | Tom McKay <tomckay> | ||||
| Status: | CLOSED ERRATA | QA Contact: | SAM QE List <sam-qe-list> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 1.2 | CC: | cwelton, esammons, omaciel | ||||
| Target Milestone: | rc | Keywords: | Triaged | ||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 854987 854996 (view as bug list) | Environment: | |||||
| Last Closed: | 2013-02-21 19:17:47 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: | 854996 | ||||||
| Attachments: |
|
||||||
|
Description
Tazim Kolhar
2012-09-06 12:50:25 UTC
With the following I am unable to reproduce this issue.
katello-common-1.1.9-1.git.148.307e03b.fc16.noarch
subscription-manager-0.99.19.4-1.el6_3.x86_64
# subscription-manager register --name "localhost-12345" --org "ACME_Corporation" --activationkey "activation123" --force
The system has been registered with id: c42390fe-d591-49d3-8285-2863fb741fad
--------------------------------------------------------------------------------
Current Subscriptions for System [ None ]
--------------------------------------------------------------------------------
EntitlementId: 8a8b67c7399c16d101399cb637470099
Serial Id: 307978499133253422
PoolName: Red Hat Enterprise Linux Server, Premium (8 sockets) (Up to 4 guests)
Consumed: 2
Quantity: 1
Sla: Premium
ContractNumber: 3123709
Provided products: Red Hat Beta, Red Hat Enterprise Linux Server
Please test again with katello-common >= 1.1.9-1.git.148.307e03b.fc16.noarch and let me know if your results differ. If you continue to see failure, please share what version of subscription-manager is being used. Tazim, I am curious about the error message itself: Invalid username or password. To create a login, please visit https://www.redhat.com/wapps/ugc/register.html I don't think katello/headpin would show this. Could the system you are running on be mistakenly attempting to register to "RHN classic?" This is not an area I am familiar with. Please include your /etc/rhsm/rhsm.conf file Created attachment 611334 [details]
/etc/rhsm/rhsm.conf attached
Hi Eric, Tom :
re-tested again with following packages :
#katello-common-1.1.9-1.git.148.307e03b.fc16.noarch
#subscription-manager-0.96.17-1.el6.x86_64
# subscription-manager register --name 'localhost-12345' --org ACME_Corporation --activationkey act_key --force
The system has been registered with id: 01e85675-98d1-4ff0-85ce-bf8a9195129c
was able to register the system using the activation key created .
*Details of the system registered
# headpin -u admin -p admin system list --org ACME_Corporation
--------------------------------------------------------------------------------
Systems List For Org [ ACME_Corporation ]
Name Uuid Ipv4 Address Service Level
--------------------------------------------------------------------------------
localhost-12345 01e85675-98d1-4ff0-85ce-bf8a9195129c None
*Details of the activation key used to register the system
# headpin -u admin -p admin activation_key list --org ACME_Corporation
--------------------------------------------------------------------------------
Activation Key List
Id Name Description Usage Environment Id System Template Id
--------------------------------------------------------------------------------
1 act_key None 1 2 None
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/RHSA-2013-0544.html |