Bug 876422

Summary: When set a wrong service-level, the output is not friendly
Product: [Community] Candlepin Reporter: xingge <gxing>
Component: candlepinAssignee: candlepin-bugs
Status: CLOSED DUPLICATE QA Contact: Eric Sammons <esammons>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 0.9CC: alikins, bkearney, ldai, liliu
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-15 18:24:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 771481    

Description xingge 2012-11-14 04:23:23 UTC
Description of problem:
When set a wrong service-level, the output is not friendly.

Version-Release number of selected component (if applicable):
subscription-manager-1.1.5-1.el6.x86_64
python-rhsm-1.1.4-1.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1.register the system against the stage candlepin
2.set a wrong service-level with cmd:
#subscription-manager service-level --set=aaa

  
Actual results:
The output is:
Service level {0} is not available to consumers of organization 6752574

Expected results:
The output should be:
Service level aaa is not available to consumers of organization 6752574

Additional info:

Comment 2 Adrian Likins 2012-11-14 19:22:09 UTC
That error message is coming from candlepin, so reassigning there.

Comment 3 Bryan Kearney 2012-11-15 18:24:34 UTC

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