Bug 1463289 - RHSM proxy settings not removed from rhsm.conf if changed in ui
Summary: RHSM proxy settings not removed from rhsm.conf if changed in ui
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: GA
: cfme-future
Assignee: Gregg Tanzillo
QA Contact: luke couzens
URL:
Whiteboard: black:webui
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-20 14:06 UTC by luke couzens
Modified: 2018-12-11 16:54 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-12-11 16:54:41 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description luke couzens 2017-06-20 14:06:10 UTC
Description of problem:RHSM proxy settings not removed from rhsm.conf


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


How reproducible:100%


Steps to Reproduce:
1.provision appliance
2.nav to configuration-settings-region-Red Hat Updates
3.edit subscription
4.add valid rhsm creds
5.check validation is successful
6.ssh to appliance
7. run
/sbin/iptables -A OUTPUT -p tcp --dport 80 -j DROP
/sbin/iptables -A OUTPUT -p tcp --dport 443 -j DROP
8.check validation again (should fail)
9.add proxy settings
10.check validation is successful again
11.save settings
12.edit settings
13.remove proxy settings
14.validate again

Actual results:Validation is still successful even though we are supposedly not using proxy settings now.


Expected results:Validation should fail until we reopen the closed ports.


Additional info:

Comment 2 luke couzens 2018-02-15 18:18:33 UTC
This is still an issue on 5.9.0.21

Also for better reproducing steps simply configure rhsm with a proxy, validate and save settings. Edit setting again and try to validate/save after unchecking proxy settings. Validation fails.

Work around, if you remove all the proxy info from /etc/rhsm/rhsm.conf then validate/save it works correctly.


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