Hide Forgot
Description of problem: If I use proxy server for registering a system no proxy settings are stored in a configuration file /etc/rhsm/rhsm.conf. Version-Release number of selected component (if applicable): How reproducible: Each time. Steps to Reproduce: 1. open page 'Subscriptions' in cockpit app 2. unregister system if it is registered 3. click 'Register' button 4. check 'Use proxy server' 5. fill fields for proxy connection 6. fill fields for subscription 7. click 'Register' button 8. check values in /etc/rhsm/rhsm.conf (proxy_hostname, proxy_username) Actual results: No settings stored in the file. Expected results: The settings should be stored and offered each time I do register. Additional info:
Note: this *may* be fixed simply by using our new D-Bus services. (Dev should verify).
It seems that it is necessary to explicitly save proxy settings using D-Bus method Set() from path /com/redhat/RHSM1/Config.
Created attachment 1368518 [details] Proxy details used while registering
Marking bug as failed_qa as I do not see the proxy details used while registering via cockpit being saved into rhsm.conf [root@bkr-hv01-guest15 ~]# rpm -qa | grep cockpit cockpit-ws-154-2.el7.x86_64 cockpit-doc-154-2.el7.x86_64 cockpit-bridge-154-2.el7.x86_64 cockpit-154-2.el7.x86_64 cockpit-pcp-154-2.el7.x86_64 cockpit-system-154-2.el7.noarch subscription-manager-cockpit-1.20.8-1.el7.noarch [root@bkr-hv01-guest15 ~]# cat /etc/rhsm/rhsm.conf | grep proxy # an http proxy server to use proxy_hostname = # port for http proxy server proxy_port = # user name for authenticating to an http proxy, if needed proxy_user = # password for basic http proxy auth, if needed proxy_password = # host/domain suffix blacklist for proxy, if needed no_proxy =
Moving bug to verified as I see the proxy details used while registering via cockpit being saved into rhsm.conf Verifying version: [root@bkr-hv03-guest18 ~]# rpm -qa | grep cockpit cockpit-160-2.el7.x86_64 cockpit-bridge-160-2.el7.x86_64 subscription-manager-cockpit-1.20.10-1.el7.noarch cockpit-system-160-2.el7.noarch cockpit-ws-160-2.el7.x86_64 Before registering: [root@bkr-hv03-guest18 ~]# cat /etc/rhsm/rhsm.conf | grep proxy # an http proxy server to use proxy_hostname = # port for http proxy server proxy_port = # user name for authenticating to an http proxy, if needed proxy_user = # password for basic http proxy auth, if needed proxy_password = # host/domain suffix blacklist for proxy, if needed no_proxy = After Registering: [root@bkr-hv03-guest18 ~]# cat /etc/rhsm/rhsm.conf | grep proxy # an http proxy server to use proxy_hostname =auto-services.usersys.redhat.com # port for http proxy server proxy_port =3129 # user name for authenticating to an http proxy, if needed proxy_user = # password for basic http proxy auth, if needed proxy_password = # host/domain suffix blacklist for proxy, if needed no_proxy =
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:0681