Bug 883121
Summary: | Migration from RHN classic fails to find organization | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Og Maciel <omaciel> | ||||
Component: | Subscription Management | Assignee: | candlepin-bugs | ||||
Status: | CLOSED DUPLICATE | QA Contact: | Katello QA List <katello-qa-list> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 6.0.1 | CC: | bkearney | ||||
Target Milestone: | Unspecified | ||||||
Target Release: | Unused | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 883123 (view as bug list) | Environment: | |||||
Last Closed: | 2012-12-12 21:17: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: | |||||||
Bug Blocks: | 883123 | ||||||
Attachments: |
|
*** This bug has been marked as a duplicate of bug 880710 *** getting rid of 6.0.0 version since that doesn't exist |
Created attachment 657000 [details] production.log tb Description of problem: The issue here seems to be that subscription-manager uses the organization "key" to register a client but the organization is not being found by the org name or key. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: * Register a client to RHN "classic" * Install katello/sam and configure it * Create a new Org: SAM QE with environments: Library > DEV > QE > GA. * Import a valid manifest into the SAM QE org * Now try to register this same client to a running instance of katello/headpin Actual results: The migration script will prompt the user to provide the org Name. However, when I do use "SAM QE" I get a message stating "No such org". If I use the organization label ("SAM_QE") I then get "Unable to connect to certificate server: Couldn't find organization 'SAM_QE'. See /var/log/rhsm/rhsm.log for more details." Expected results: Additional info: # subscription-manager orgs --username admin --password admin +-------------------------------------------+ admin Organizations +-------------------------------------------+ Name: SAM QE Key: SAM_QE Name: ACME_Corporation Key: ACME_Corporation # subscription-manager environments --org "SAM QE" --username admin --password admin +-------------------------------------------+ Environments +-------------------------------------------+ Name: GA Description: Name: QE Description: Name: DEV Description: # rhn-migrate-classic-to-rhsm --serverurl=qetello05.usersys.redhat.com/sam/api Red Hat account: qa Password: System Engine Username: admin Password: Org: SAM QE No such org: SAM QE # rhn-migrate-classic-to-rhsm --serverurl=qetello03.usersys.redhat.com/sam/api Red Hat account: qa Password: System Engine Username: admin Password: Org: SAM_QE Unable to connect to certificate server: Couldn't find organization 'SAM_QE'. See /var/log/rhsm/rhsm.log for more details. # rhn-migrate-classic-to-rhsm --serverurl=qetello03.usersys.redhat.com/sam/api Red Hat account: qa Password: System Engine Username: admin Password: Org: "SAM QE" No such org: "SAM QE"