| Summary: | [activation_key update] better message on subscription not found | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Garik Khachikyan <gkhachik> |
| Component: | katello-agent | Assignee: | Tomas Strachota <tstrachota> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Garik Khachikyan <gkhachik> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 6.0.0 | CC: | mkoci |
| Target Milestone: | Unspecified | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | katello-0.1.231-1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-08-22 18:23:13 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Fixed in katello-0.1.231-1. Better formatting of exception messages coming from subsystems added. # VERIFIED the scenario on description now returns better formatted message like: --- Pool with id sds could not be found --- checked on katello: --- katello-0.1.237-1.git.7.752d8de.el6.noarch katello-cli-0.1.54-1.git.79.17c365f.el6.noarch |
Description of problem: Recent version of Katello returns Candlepin message when there is subscription not found on a try adding something non-existing to the activation key. --- RestClient::ResourceNotFound: Candlepin::Pool: 404 Resource Not Found {"displayMessage":"Pool with id sds could not be found"} (GET /candlepin/pools/sds) --- Version-Release number of selected component (if applicable): katello-cli-0.1.44-1.git.0.4cb9288.el6.noarch katello-0.1.198-1.git.5.5f27de3.el6.noarch candlepin-0.5.8-1.el6.noarch How reproducible: always Steps to Reproduce: 1.make an activation key 2.do activation_key update --add_subscription sds --name ak1 3. Actual results: error described above Expected results: better message Additional info: