Bug 772838

Summary: Entitlement certificate serial numbers couldn't dispaly via katello CLI
Product: [Retired] Subscription Asset Manager Reporter: yu zheng <yuzheng>
Component: katelloAssignee: Bryan Kearney <bkearney>
Status: CLOSED CURRENTRELEASE QA Contact: SAM QE List <sam-qe-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0.0CC: khong
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-27 00:21:34 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: 703617    

Description yu zheng 2012-01-10 05:12:19 UTC
Description of problem:
After registering a system and subscribing to some subscriptions, headpin system subscriptions command couldn't display entitlement certificate serial numbers.

Version-Release number of selected component (if applicable):
katello-headpin-all-0.1.122-2.el6.noarch
katello-headpin-0.1.122-2.el6.noarch
katello-cli-headpin-0.1.13-2.el6.noarch
katello-cli-common-0.1.32-2.el6.noarch

How reproducible:
always

Steps to Reproduce:
1.Register a system to SAM.
# headpin -u admin -p admin system register --name=testname --org=org1 --environment=env1
Successfully registered system [ testname ]

2.Consume a subscription.
# headpin -u admin -p admin system subscribe --org=org1 --name=testname --pool=8ac2851934b491950134b49feb28003b
Successfully subscribed System [ testname ]

3.List certificate serial numbers.
# headpin -u admin -p admin system subscriptions --org=org1 --name=sam-120106095640.redhat.com --serials

Actual results:
Serial parameter cannot be used with available

Expected results:
Entitlement certificate serial numbers should display successfully.

Comment 1 Bryan Kearney 2012-02-17 17:04:06 UTC
This was fixed as part of 782775. The short answer is that the --serials option is no longer present.