Bug 1201224

Summary: auto-attach with an invalid servicelevel does NOT show a concise info
Product: Red Hat Satellite Reporter: qianzhan
Component: RegistrationAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DEFERRED QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: NightlyCC: bbuckingham, bkearney, cduryee, tomckay, xdmoon
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-13 20:12:55 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:

Description qianzhan 2015-03-12 11:14:59 UTC
Description of problem:
auto-attach with an invalid servicelevel does NOT show a concise info

Version-Release number of selected component (if applicable):

Nightly SAM6.1
subscription-manager: 1.13.22-1.el7
python-rhsm: 1.13.10-1.el7

How reproducible:
always

Steps to Reproduce:
1.Register and auto-attach with an invalid servicelevel.
[root@dhcp-128-77 ~]# subscription-manager register --username=admin --password=123qwe --servicelevel=foo --auto-attach
Organization: Default_Organization
The system has been registered with ID: 648a2210-3cda-4864-87dc-a81088dcd11c 
Task 28170b4b-24ca-42d8-9b0d-2300cfd87a29: Katello::Errors::CandlepinError: Service level 'foo' is not available to units of organization Default_Organization.
[root@dhcp-128-77 ~]# 


Actual results:
As step 1.

Expected results:
It would be conciser to remove this part:"Task 28170b4b-24ca-42d8-9b0d-2300cfd87a29: Katello::Errors::CandlepinError:" 

Additional info:

Comment 1 RHEL Program Management 2015-03-12 11:33:19 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 qianzhan 2015-03-20 03:27:17 UTC
Conciser info is also need when setting a wrong service level:

[root@dhcp-128-77 ~]# subscription-manager service-level --set=w
Task c86a6767-d830-4612-9bab-4b0297bc7ea8: Katello::Errors::CandlepinError: Service level 'w' is not available to units of organization Default_Organization.

Comment 4 Bryan Kearney 2016-07-08 20:32:47 UTC
Per 6.3 planning, moving out non acked bugs to the backlog

Comment 6 Bryan Kearney 2017-03-13 20:12:55 UTC
I do not see this bug being addressed in the near term. If you believe closing this is an issue, please feel free to re-open with additional information.