Bug 820170 - [RFE]Subscription-manager release –list command should display “not supported” msg for older candlepin.
Summary: [RFE]Subscription-manager release –list command should display “not supported...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: William Poteat
QA Contact: Entitlement Bugs
URL:
Whiteboard:
Depends On:
Blocks: 771748
TreeView+ depends on / blocked
 
Reported: 2012-05-09 10:20 UTC by spandey
Modified: 2015-04-23 23:57 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-09 17:46:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.