Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
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"
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"