| Summary: | Katello not correctly parsing (some?) error messages returned from candlepin | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Corey Welton <cwelton> |
| Component: | API | Assignee: | Ivan Necas <inecas> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Jitendra Yejare <jyejare> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.0.1 | CC: | inecas |
| Target Milestone: | Unspecified | ||
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: |
client:
subscription-manager-0.96.8-1.git.0.125eb68.el6.x86_64
python-rhsm-0.96.10-1.git.1.de18258.el6.noarch
server:
katello-0.1.71-1.git.3.020bc22.fc14.noarch
|
|
| Last Closed: | 2012-08-22 17:54:56 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 747354 | ||
Fixed in commit 879bc605a45e5d7e8a1a7f4a8fc263a78ef474ad Verified, katello-0.1.84-1.git.26.51fa1e1.fc14.noarch getting rid of 6.0.0 version since that doesn't exist |
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.