Bug 744504 - [ALL LANG] [RHSM CLI] facts module - Run facts update with incorrect proxy url produces traceback.
Summary: [ALL LANG] [RHSM CLI] facts module - Run facts update with incorrect proxy u...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: subscription-manager
Version: 6.2
Hardware: Unspecified
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Bryan Kearney
QA Contact: Entitlement Bugs
URL:
Whiteboard:
Depends On:
Blocks: 738066 756082
TreeView+ depends on / blocked
 
Reported: 2011-10-09 06:05 UTC by Lijun Li
Modified: 2012-06-20 13:03 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-20 13:03:43 UTC
Target Upstream Version:


Attachments (Terms of Use)
Run facts update with incorrect proxy url produces traceback (47.48 KB, image/png)
2011-10-09 06:05 UTC, Lijun Li
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0804 0 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2012-06-19 19:51:31 UTC

Description Lijun Li 2011-10-09 06:05:00 UTC
Created attachment 527069 [details]
Run facts update with incorrect proxy url produces traceback

Description of problem:
Run facts update with incorrect proxy url produces traceback

Version-Release number of selected component (if applicable):
subscription-manager-0.96.12-1.el6


How reproducible:
100%%

Steps to Reproduce:
1.Run subscription-manager CLI in terminal
(Run via wrong PROXY)
$ sudo subscription-manager facts --update --proxy=wrong_PROXY_URL

Ex. sudo subscription-manager facts --update --proxy=squid.test.com:3128

  
Actual results:
Run facts update with incorrect proxy url produces traceback


Expected results:
Should no traceback, it's better to have a warning message to say that the proxy url is incorrect than traceback.

Additional info:

Comment 2 A S Alam 2011-10-10 03:31:50 UTC
is this issue exist in English locale (en_US)?

Comment 3 Lijun Li 2011-10-10 06:26:33 UTC
(In reply to comment #2)
> is this issue exist in English locale (en_US)?

It not exist in English locale (en_US), I reproduced it in zh_CN locale.

Comment 6 Bryan Kearney 2012-02-23 20:44:00 UTC
This appears to be working in master now.

[root@bkearney ~]# subscription-manager facts --update --proxy=squid.test.com:3128
Error updating system data, see /var/log/rhsm/rhsm.log for more details.
[root@bkearney ~]# 

[root@bkearney ~]# LANG=zh_CN subscription-manager facts --update --proxy=squid.test.com:3128
更新系统数据出错,详情请查看 /var/log/rhsm/rhsm.log。
[root@bkearney ~]#

Comment 7 Shwetha Kallesh 2012-02-26 07:55:17 UTC
Moving the bug to verified.

RPM used:
[root@dhcp201-162 ~]# rpm -qa | grep subscription-manager
subscription-manager-0.99.8-1.el6.x86_64
subscription-manager-migration-0.99.8-1.el6.x86_64
subscription-manager-firstboot-0.99.8-1.el6.x86_64
subscription-manager-migration-data-1.12-1.el6.noarch
subscription-manager-gnome-0.99.8-1.el6.x86_64
subscription-manager-debuginfo-0.99.8-1.el6.x86_64



[root@dhcp201-162 ~]# LANG=zh_CN.UTF-8 subscription-manager facts --update --proxy=squid.test.com:3128
更新系统数据出错,详情请查看 /var/log/rhsm/rhsm.log。

Comment 9 errata-xmlrpc 2012-06-20 13:03:43 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-2012-0804.html


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