Bug 733873

Summary: subscription-manager import --help should not use proxy options
Product: Red Hat Enterprise Linux 6 Reporter: John Sefler <jsefler>
Component: subscription-managerAssignee: Chris Duryee <cduryee>
Status: CLOSED ERRATA QA Contact: John Sefler <jsefler>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.2CC: cduryee, jmolet, 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: 2011-12-06 17:23:45 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: 682238    

Description John Sefler 2011-08-28 04:08:52 UTC
Description of problem:
The help options for subscription-manager import indicates that a proxy server may be useful during import.  This is not true.  The proxy options are not used during import since the certificate specified during the import is simply a path to a local file that contains the entitlement cert and its key concatenated together into one file. 


[root@jsefler-onprem-62server ~]# subscription-manager import --help
Usage: subscription-manager import [OPTIONS]

Import certificates which were provided outside of the tool

Options:
  -h, --help            show this help message and exit
  --proxy=PROXY_URL     proxy url in the form of proxy_hostname:proxy_port
  --proxyuser=PROXY_USER
                        user for http proxy with basic authentication
  --proxypassword=PROXY_PASSWORD
                        password for http proxy with basic authentication
  --certificate=CERTIFICATE_FILES
                        certificate file to import


^^^ REMOVE THOSE proxy options.


Version-Release number of selected component (if applicable):
[root@jsefler-onprem-62server ~]# rpm -q subscription-manager
subscription-manager-0.96.7-1.git.10.586c3c4.el6.x86_64

Comment 1 Chris Duryee 2011-09-21 14:05:47 UTC
588a2a6 master 0.97.2+
945da1  RHEL6.2 0.96.12+

Comment 3 John Sefler 2011-09-24 02:05:57 UTC
Verifying Version....
[root@jsefler-onprem-62server ~]# rpm -q subscription-manager
subscription-manager-0.96.11-1.git.7.15fc9d2.el6.x86_64


[root@jsefler-onprem-62server ~]# subscription-manager import --help
Usage: subscription-manager import [OPTIONS]

Import certificates which were provided outside of the tool

Options:
  -h, --help            show this help message and exit
  --certificate=CERTIFICATE_FILE
                        certificate file to import (for multiple imports,
                        specify this option more than once)

moving to VERIFIED

Comment 4 errata-xmlrpc 2011-12-06 17:23:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2011-1695.html