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.
Description of problem:
If a user uses subscription-manager to try and subscribe to a nonexistent pool in katello, the error returned appears to be raw json, versus the properly formatted error message itself. Modifying /etc/rhsm/rhsm.conf to point to the candlepin server itself results in a a correct error message.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. Assure there are (valid) subscription pools in Katello.
2. Register a system to katello
3. Attempt to subscribe to a pool using an /invalid/ pool id... i.e., 'subscription-manager subscribe --pool=ff808081321b487e01321b5a94640010'
4. View results
Actual results:
{"displayMessage":"Subscription pool ff808081321b487e01321b5a94640010 does not exist."}
Expected results:
Subscription pool ff808081321b487e01321b5a94640010 does not exist.
Additional info:
To reiterate, if user modifies rhsm.conf to point to the appropriate respective endpoint and port for the underlying candlepin, the proper error message appears.
Description of problem: If a user uses subscription-manager to try and subscribe to a nonexistent pool in katello, the error returned appears to be raw json, versus the properly formatted error message itself. Modifying /etc/rhsm/rhsm.conf to point to the candlepin server itself results in a a correct error message. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Assure there are (valid) subscription pools in Katello. 2. Register a system to katello 3. Attempt to subscribe to a pool using an /invalid/ pool id... i.e., 'subscription-manager subscribe --pool=ff808081321b487e01321b5a94640010' 4. View results Actual results: {"displayMessage":"Subscription pool ff808081321b487e01321b5a94640010 does not exist."} Expected results: Subscription pool ff808081321b487e01321b5a94640010 does not exist. Additional info: To reiterate, if user modifies rhsm.conf to point to the appropriate respective endpoint and port for the underlying candlepin, the proper error message appears.