Bug 1033690

Summary: Error: The 'override' command is not supported by the server.
Product: Red Hat Enterprise Linux 7 Reporter: John Sefler <jsefler>
Component: subscription-managerAssignee: Michael Stead <mstead>
Status: CLOSED CURRENTRELEASE QA Contact: John Sefler <jsefler>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: ckozak, mstead
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: 2014-06-13 12:22:36 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:
Bug Depends On:    
Bug Blocks: 863175    

Description John Sefler 2013-11-22 15:49:05 UTC
Description of problem:
Error: The 'override' command is not supported by the server.
This message should say 'repo-override', not 'override'.

This will occur when attempting to use the repo-override module while registered to an older candlepin server than does not support repo-overrides


Version-Release number of selected component (if applicable):
[root@jsefler-7 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: Unknown
subscription-manager: 1.10.7-1.git.0.15d737b.el7
python-rhsm: 1.10.7-1.git.0.b7645ce.el7


How reproducible:


Steps to Reproduce:
Currently, the candlepin server in stage does not support repo-overrides...
[root@jsefler-7 ~]# subscription-manager register --username rhel7beta --serverurl=subscription.rhn.stage.redhat.com:443/subscription --force 
Password: 
The system has been registered with ID: 6abca2f8-03ac-40b1-85c0-2fee084a6067 
[root@jsefler-7 ~]# subscription-manager repo-override --list
Error: The 'override' command is not supported by the server.
[root@jsefler-7 ~]# 



Actual results:
Error: The 'override' command is not supported by the server.

Expected results:
Error: The 'repo-override' command is not supported by the server.

Additional info:

Comment 1 Michael Stead 2013-11-27 12:56:18 UTC
Patch waiting on review:

https://github.com/candlepin/subscription-manager/pull/830

Comment 2 Michael Stead 2013-11-28 13:25:00 UTC
Available in:

subscription-manager-1.10.8-1+

Comment 4 John Sefler 2013-12-06 16:51:09 UTC
Verifying Version...
[root@jsefler-7 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: Unknown   <== currently 0.8.28 in stage
subscription-manager: 1.10.8-1.el7
python-rhsm: 1.10.8-1.el7

[root@jsefler-7 ~]# subscription-manager register --username=rhel7beta --serverurl=subscription.rhn.stage.redhat.com:443/subscription --auto-attach
Password: 
The system has been registered with ID: 4739ecdf-4070-448a-941e-f582bbb7dffd 
Installed Product Current Status:
Product Name: Red Hat Enterprise Linux 7 Server High Touch Beta
Status:       Subscribed

[root@jsefler-7 ~]# subscription-manager repo-override --list
Error: The 'repo-override' command is not supported by the server.
[root@jsefler-7 ~]# 


VERIFIED: error string changed to 'repo-override'

Comment 5 Ludek Smid 2014-06-13 12:22:36 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.