-
Bug
-
Resolution: Done
-
Major
-
None
-
rhel-7.9
What were you trying to do that didn't work?
host-metering.service should use the proxy setting mentioned in the /etc/rhsm/rhsm.conf file to upload the data to Red Hat through the telemetry.
host-metering.service does not use the proxy setting mentioned in the /etc/rhsm/rhsm.conf file and trying to connect to the Red Hat server directly.
Please provide the package NVR for which bug is seen:
host-metering
How reproducible: always
Steps to reproduce
- Create a RHEL7 system which is behind the proxy.
- Add proxy details in /etc/rhsm/rhsm.conf file.
- register the system using subscription-manager
- Try to start the host-metering service.
Expected results
host-metering.service should use the proxy setting mentioned in the /etc/rhsm/rhsm.conf file as like rhsmcertd service is using to connect to Red Hat.
Actual results
host-metering service requires a proxy drop-in file "/etc/systemd/system/host-metering.service.d/proxy.conf" to use the proxy.