Bug 1756350

Summary: Collect "http_proxy" and "https_proxy" env.variables on Satellite6
Product: Red Hat Enterprise Linux 7 Reporter: Sayan Das <saydas>
Component: sosAssignee: Pavel Moravec <pmoravec>
Status: CLOSED ERRATA QA Contact: Miroslav HradĂ­lek <mhradile>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.7CC: agk, bmr, jjansky, mhradile, plambri, sbradley
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: sos-3.9-2.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-29 20:55:10 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:

Description Sayan Das 2019-09-27 12:58:56 UTC
Description of problem:

No "http_proxy_var" and "https_proxy_var" output available inside latest sosreport for any satellite server based on RHEL 7.7

Version-Release number of selected component (if applicable):
RHEL 7.7

How reproducible:
100% 

Steps to Reproduce:
1. Have a satellite 6 installed on RHEl 7.7
2. yum install sos -y
3. sosreport

Actual results:
No "http_proxy_var" and "https_proxy_var" output available inside sosreport.

Expected results:
To have "http_proxy_var" and "https_proxy_var" output collected inside sos_commands/proxy or sos_commands/foreman directory


Additional info:
Earlier these two files was available inside sos_commands/foreman/foreman-debug

Comment 2 Pavel Moravec 2019-09-27 14:24:50 UTC
The env.vars will be collected in "environment" file in sosreport's root directory (until --no-env-vars cmdline option is used), like:

# export http_proxy="foo:bar"
# export https_proxy="qux:123"
# sosreport -o foreman --batch --build --log-size=1
..
sosreport build tree is located at : /var/tmp/sosreport-pmoravec-sat65-on-rhev-2019-09-27-xococfe
..
# cat /var/tmp/sosreport-pmoravec-sat65-on-rhev-2019-09-27-xococfe/environment
https_proxy=qux:123
http_proxy=foo:bar
#

Comment 7 errata-xmlrpc 2020-09-29 20:55:10 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 (sos bug fix and enhancement update), 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/RHEA-2020:4034