Bug 1126724

Summary: help message for serverurl and baseurl
Product: Red Hat Enterprise Linux 6 Reporter: Shwetha Kallesh <skallesh>
Component: subscription-managerAssignee: candlepin-bugs
Status: CLOSED ERRATA QA Contact: John Sefler <jsefler>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.6CC: bkearney, fsharath, jesusr
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: help text contained hard coded port 443. Consequence: help incorrectly displayed 443 port regardless of what the user had configured as the port. Fix: Change the help text to use 'port' instead of a hard coded 443 value. Result: User will now see hostname:port which indicates that it is to use appropriate values for both hostname and port.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-14 07:48:03 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: 1014343    

Description Shwetha Kallesh 2014-08-05 07:20:27 UTC
Description of problem:
help message for serverurl and baseurl should be modified

Version-Release number of selected component (if applicable):
[root@dhcp-0-177 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 0.9.22-1
subscription management rules: 5.11
subscription-manager: 1.12.11-1.git.0.93a5161.el6
python-rhsm: 1.12.5-1.git.0.744254e.el6

How reproducible:


Steps to Reproduce:

[root@dhcp-0-177 ~]# subscription-manager register --help | grep url -A1
  --serverurl=SERVER_URL
                        server URL in the form of https://hostname:443/prefix
--                                                                 ^^ should be changed to port 
  --baseurl=BASE_URL    base URL for content in form of
                        https://hostname:443/prefix
                                         ^^ should be changed to port 

[root@dhcp-0-177 ~]# subscription-manager service-level --help | grep url -A1
  --serverurl=SERVER_URL
                        server URL in the form of https://hostname:443/prefix
                                                                   ^^ should be changed to port 


[root@dhcp-0-177 ~]# 


Actual results:


Expected results:


Additional info:

Comment 2 Bryan Kearney 2014-08-08 14:33:57 UTC
Fixed in 

commit ab7ee41deb2610c56ec34863e9c0e8aff47fc78b
Author: Bryan Kearney <bkearney>
Date:   Wed Aug 6 14:53:43 2014 -0400

    1126724: Use port instead of 443 for the url help text

Comment 4 Sharath Dwaral 2014-08-15 13:29:59 UTC
Version:

# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.9.23-1
subscription management rules: 5.11
subscription-manager: 1.12.12-1.el6
python-rhsm: 1.12.5-1.el6

Verification:

# subscription-manager register --help | grep url -A1
  --serverurl=SERVER_URL
                        server URL in the form of https://hostname:port/prefix
                                                                   ^^^^
  --baseurl=BASE_URL    base URL for content in form of
                        https://hostname:port/prefix
                                         ^^^^
# subscription-manager service-level --help | grep url -A1
  --serverurl=SERVER_URL
                        server URL in the form of https://hostname:port/prefix
                                                                   ^^^^

VERIFIED

Comment 5 errata-xmlrpc 2014-10-14 07:48:03 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-2014-1384.html