Bug 982370

Summary: sub-man subscribe throws error when used to subscribe more than one pool
Product: Red Hat Enterprise Linux 5 Reporter: Sharath Dwaral <fsharath>
Component: subscription-managerAssignee: candlepin-bugs
Status: CLOSED DUPLICATE QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.10CC: ckozak, jgalipea, jmolet, jsefler, redakkan, skallesh, spandey
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-08 20:20:05 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: 840995    
Attachments:
Description Flags
error log none

Description Sharath Dwaral 2013-07-08 20:13:13 UTC
Created attachment 770653 [details]
error log

Description of problem:
subscribe command throws an error when used to subscribe more than one pool at the same time

Version-Release number of selected component (if applicable):
# rpm -qa | egrep "subscription-manager|python-rhsm"
subscription-manager-firstboot-1.8.11-1.git.51.c749cd2.el5
python-rhsm-1.8.13-1.git.0.85d7af5.el5
python-rhsm-debuginfo-1.8.12-1.el5
subscription-manager-1.8.11-1.git.51.c749cd2.el5
subscription-manager-migration-data-1.11.3.1-1.git.1.78afd75.el5
subscription-manager-debuginfo-1.8.11-1.el5
subscription-manager-gui-1.8.11-1.git.51.c749cd2.el5
subscription-manager-migration-1.8.11-1.git.51.c749cd2.el5

How reproducible:
Always

Steps to Reproduce:

1. Register to candlepin server

2. Subscribe to multiple pools

# subscription-manager subscribe --pool 8a90f8333fbce2a8013fbce4339a0937 --pool 8a90f8333fbce2a8013fbce432b108e9
Successfully attached a subscription for: Awesome OS Modifier
Successfully attached a subscription for: Awesome OS Server Basic
'SubscribeCommand' object has no attribute 'sorter'

# echo $?
255

Actual results:
stdout: 'SubscribeCommand' object has no attribute 'sorter' in standard out and stderr: 255

Expected results:
stdout: should not display the above error message
stderr: should be 0

Additional info:

Comment 1 Carter Kozak 2013-07-08 20:20:05 UTC
This was fixed this morning.

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