Bug 1379619

Summary: [rfe]inform which proxy is used when the http_proxy environment variable is defined and proxy is configured in tool config
Product: Red Hat Enterprise Linux 7 Reporter: Stefan Nemeth <snemeth>
Component: redhat-support-toolAssignee: Vikas Rathee <vrathee>
Status: CLOSED ERRATA QA Contact: Miroslav HradĂ­lek <mhradile>
Severity: low Docs Contact:
Priority: low    
Version: 7.5CC: bnater, cww, daniele, dkutalek, jkejda, mkyral, salmy, snemeth
Target Milestone: rcKeywords: FutureFeature
Target Release: ---Flags: vrathee: needinfo? (snemeth)
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: redhat-support-tool-0.9.10-1.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-10 18:44:54 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: 1420851, 1464262    

Description Stefan Nemeth 2016-09-27 08:46:54 UTC
Description of problem:

If the http_proxy environment variable is defined in system, redhat-support-tool will ignore proxy setting in /etc/redhat-support-tool.conf

Version-Release number of selected component (if applicable):
redhat-support-tool-0.9.7-6.el7.noarch

How reproducible:
100%

Steps to Reproduce:
1. define proxy as environmental variable
2. define different proxy in /etc/redhat-support-tool.conf
3.

Actual results:
proxy from global variable is taken with no info which proxy is used

Expected results:
warning message about used proxy

Additional info:

Comment 6 Vikas Rathee 2017-09-29 09:22:55 UTC
Hi Stefan,

How about always showing an Info message whenever http_proxy environment variable is set and being used by redhat-support-tool instead of just showing it when proxy_url is also set in redhat-support-tool.conf . 

IMHO its a better user experience rather than just showing it when http_proxy overrides proxy_url defined in configuration file.

The message might look like :

Info : Using proxy_url as defined in http_proxy environment variable: http://PROXY_SERVER:PORT


Please let me know your thoughts on the same.

Comment 15 errata-xmlrpc 2018-04-10 18:44: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.

https://access.redhat.com/errata/RHBA-2018:1002