Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 883121 - Migration from RHN classic fails to find organization
Summary: Migration from RHN classic fails to find organization
Keywords:
Status: CLOSED DUPLICATE of bug 880710
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Subscription Management
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: candlepin-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: 883123
TreeView+ depends on / blocked
 
Reported: 2012-12-03 20:12 UTC by Og Maciel
Modified: 2014-01-27 13:26 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 883123 (view as bug list)
Environment:
Last Closed: 2012-12-12 21:17:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
production.log tb (8.31 KB, text/x-log)
2012-12-03 20:12 UTC, Og Maciel
no flags Details

Description Og Maciel 2012-12-03 20:12:41 UTC
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"

Comment 3 Bryan Kearney 2012-12-12 21:17:40 UTC

*** This bug has been marked as a duplicate of bug 880710 ***

Comment 4 Mike McCune 2013-08-16 17:58:47 UTC
getting rid of 6.0.0 version since that doesn't exist


Note You need to log in before you can comment on or make changes to this bug.