Bug 820170

Summary: [RFE]Subscription-manager release –list command should display “not supported” msg for older candlepin.
Product: Red Hat Enterprise Linux 5 Reporter: spandey
Component: subscription-managerAssignee: William Poteat <wpoteat>
Status: CLOSED CURRENTRELEASE QA Contact: Entitlement Bugs <entitlement-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.9CC: jmolet, jsefler, kbanerje, sdharane, skallesh, spandey
Target Milestone: rcKeywords: QA-Closed
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-09 17:46:27 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: 771748    

Description spandey 2012-05-09 10:20:06 UTC
Description of problem:


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


How reproducible:


subscription-manager-0.99.16-1.git.2.4a2634a.el6_2.x86_64
subscription-manager-migration-0.99.16-1.git.2.4a2634a.el6_2.x86_64
subscription-manager-firstboot-0.99.16-1.git.2.4a2634a.el6_2.x86_64
subscription-manager-gnome-0.99.16-1.git.2.4a2634a.el6_2.x86_64
subscription-manager-migration-data-1.12.1.8-1.git.0.c91a246.el6_2.noarch

Steps to verify : 
Registered client to older candlepin i used (10.65.201.177).
execute following command on client console.

subscription-manager release –list

Expected Result :
Following message should display on  console. 
ERROR: The 'release' command is not supported by the server.

Actual Result : 
[root@sachbeta1 ~]# subscription-manager release --list
[root@sachbeta1 ~]# echo $?
0

Working fine with release , and release –set 
[root@sachbeta1 ~]# subscription-manager release 
ERROR: The 'release' command is not supported by the server.
[root@sachbeta1 ~]# subscription-manager release --set=2303030303003
ERROR: The 'release' command is not supported by the server.

Comment 1 William Poteat 2012-05-17 11:53:41 UTC
master commit 999959c3c7906f09664cf2ccb7b97c412be71aad

Comment 2 spandey 2012-06-21 11:03:42 UTC
Verified using following rpm 

subscription-manager-migration-data-1.11.1.1-1.git.2.c7fbafe.el5
subscription-manager-gui-1.0.4-1.git.0.5943ee7.el5
subscription-manager-migration-1.0.4-1.git.0.5943ee7.el5
subscription-manager-firstboot-1.0.4-1.git.0.5943ee7.el5
subscription-manager-1.0.4-1.git.0.5943ee7.el5


displaying proper message 
[root@dhcp201-115 ~]# subscription-manager release --list
Error: The 'release' command is not supported by the server.

Resolving defect as verified

Comment 3 Bryan Kearney 2013-01-09 17:46:27 UTC
Batch change of verified bugs which must have missed making the errata.