Bug 789221

Summary: [ALL LANG] [RHSM CLI]config module_ config Server port with balnk or incorrect text produces traceback.
Product: Red Hat Enterprise Linux 5 Reporter: Lijun Li <lijli>
Component: subscription-managerAssignee: William Poteat <wpoteat>
Status: CLOSED ERRATA QA Contact: Entitlement Bugs <entitlement-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.8CC: aalam, alikins, awood, bkearney, fsharath, jsefler, lijli, qe-i18n-bugs
Target Milestone: rcKeywords: i18n
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
No documentation needed.
Story Points: ---
Clone Of: 744654 Environment:
Last Closed: 2013-01-08 03:48:54 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: 744654    
Bug Blocks: 771748    
Attachments:
Description Flags
config module_ config Server port with balnk or incorrect text produces traceback none

Comment 1 Lijun Li 2012-02-10 06:05:56 UTC
Created attachment 560780 [details]
config module_ config Server port with balnk or incorrect text produces traceback

Comment 3 Sharath Dwaral 2012-06-20 21:05:46 UTC
Version

RHEL 5.9

# rpm -qa | grep subscription-manager
subscription-manager-migration-1.0.4-1.git.0.0fe81f8.el5
subscription-manager-1.0.4-1.git.0.0fe81f8.el5
subscription-manager-migration-data-1.11.1.1-1.git.2.c7fbafe.el5
subscription-manager-gui-1.0.4-1.git.0.0fe81f8.el5
subscription-manager-firstboot-1.0.4-1.git.0.0fe81f8.el5

# rpm -qa | grep python-rhsm
python-rhsm-1.0.2-1.git.1.4659671.el5

Actual Results:

# subscription-manager config --server.port=8433        (valid)       
# subscription-manager config --server.port=10.16.120   (invalid)
# subscription-manager config --server.port=            (blank)

# subscription-manager config --server.insecure=1       (valid)
# subscription-manager config --server.insecure=45      (invalid)
# subscription-manager config --server.insecure=        (blank)

>It accepts a valid, invalid of a blank value
>When run repeatedly it does not throw a traceback

Expected Result:
Should not produce traceback.

>Moving bug to Verified State

Comment 4 RHEL Program Management 2012-06-20 21:07:30 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 5 RHEL Program Management 2012-06-20 21:09:35 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 8 errata-xmlrpc 2013-01-08 03:48:54 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-2013-0033.html