Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-52924

host-metering service does not honor the proxy mentioned in /etc/rhsm/rhsm.conf file

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • rhel-7.9
    • host-metering
    • rhel-sst-cloudexperience
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • x86_64
    • None

      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

      1. Create a RHEL7 system which is behind the proxy.
      2. Add proxy details in /etc/rhsm/rhsm.conf  file.
      3. register the system using subscription-manager
      4. 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.

              major@redhat.com Major Hayden
              rhn-support-shivagup Shivam Gupta
              Felix Kolwa Felix Kolwa
              Sophie Shmulevich Sophie Shmulevich
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: