Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1452737

Summary: GUI: New "Bypass the HTTP proxy for specific hosts/domains" option in proxy configuration window is not saving the value for no_proxy parameter in rhsm.conf
Product: Red Hat Enterprise Linux 7 Reporter: Rehana <redakkan>
Component: subscription-managerAssignee: Jiri Hnidek <jhnidek>
Status: CLOSED ERRATA QA Contact: John Sefler <jsefler>
Severity: medium Docs Contact:
Priority: high    
Version: 7.4CC: jhnidek, jstavel, khowell, redakkan, skallesh
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: subscription-manager-1.19.15-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 19:24:36 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:
Attachments:
Description Flags
proxy
none
noproxy_setting_from_GUI none

Description Rehana 2017-05-19 14:18:59 UTC
Description of problem:
Observed that the value given for "Bypass the HTTP proxy for specific hosts/domains" option in the "proxy configuration" window from GUI is not saving the value

Version-Release number of selected component (if applicable):
]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 2.1.0-1
subscription management rules: 5.23
subscription-manager: 1.19.14-1.el7
python-rhsm: 1.19.6-1.el7


How reproducible:
always

Steps to Reproduce:
1.Launch subscription-manager-gui 
2.try to set proxy from "configure proxy" dialog
3.Enter the proxy server details and enter the hostname to bypass the proxy
4. Save 

Actual results:
no value updated for" no_proxy "in rhsm.conf, though the proxy details are saved in the rhsm.cong

Expected results:
it should update the proxy  and no proxy details

Additional info:

Comment 1 Rehana 2017-05-19 14:20:27 UTC
attaching screen shot from GUI (PFA.proxy) and List the proxy config in cli

[root@sentinel ~]# subscription-manager config --list | grep proxy
   no_proxy = []
   proxy_hostname = auto-services.usersys.redhat.com
   proxy_password = []
   proxy_port = 3129
   proxy_user = []
[root@sentinel ~]#

Comment 2 Rehana 2017-05-19 14:21:18 UTC
Created attachment 1280434 [details]
proxy

Comment 4 Rehana 2017-05-25 09:14:14 UTC
Verifying on :
===========

# subscription-manager version
server type: This system is currently not registered.
subscription management server: 2.1.0-1
subscription management rules: 5.23
subscription-manager: 1.19.15-1.el7
python-rhsm: 1.19.6-1.el7

# rpm -qa subscription-manager --changelog | grep 1452737
- 1452737: Enable saving no_proxy settings from GUI (jhnidek)

before setting proxy details from GUI :
=========================================

[root@ibm-x3250m3-01 ~]# subscription-manager config --list | grep proxy
   no_proxy = []
   proxy_hostname = []
   proxy_password = []
   proxy_port = []
   proxy_user = []


set the proxy details from GUI (PFA :noproxy_setting_from_GUI.png)

After setting the details from gui :
=====================================

[root@ibm-x3250m3-01 ~]# subscription-manager config --list | grep proxy
   no_proxy = redhat.com,foo.com
   proxy_hostname = auto-services.usersys.redhat.com
   proxy_password = []
   proxy_port = 3129
   proxy_user = []

Marking the bug as verified!!

Comment 5 Rehana 2017-05-25 09:14:51 UTC
Created attachment 1282169 [details]
noproxy_setting_from_GUI

Comment 6 errata-xmlrpc 2017-08-01 19:24:36 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-2017:2083