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:
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.