Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-11692

node_exporter scrapeconfig must include full fqdn

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • rhos-18.0.4
    • rhos-18.0 Feature Release 1 (Nov 2024)
    • telemetry-operator
    • None
    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • ?
    • ?
    • ?
    • None
    • CloudOps 2024 Sprint 24
    • Important

      Thanks to https://github.com/openstack-k8s-operators/telemetry-operator/pull/527, the ScrapeConfig for node_exporter carries the "hostname" label.

      However, for Watcher this is not enough, we would like to replace this with a label called "fqdn" that holds the full fqdn name of the node in the appropiate network.

      The fqdn can be retrieved from OpenStackDataPlaneNodeSet status section:

      allHostnames:
          edpm-compute-0:
            ctlplane: edpm-compute-0.ctlplane.example.com
            internalapi: edpm-compute-0.internalapi.example.com
            storage: edpm-compute-0.storage.example.com
            tenant: edpm-compute-0.tenant.example.com
          edpm-compute-1:
            ctlplane: edpm-compute-1.ctlplane.example.com
            internalapi: edpm-compute-1.internalapi.example.com
            storage: edpm-compute-1.storage.example.com
            tenant: edpm-compute-1.tenant.example.com 

      The label should containe the appropiate fqdn depending of the "dataplaneNetwork" the user has chosen.

       

              rhn-engineering-jlarriba Juan Larriba
              rhn-engineering-jlarriba Juan Larriba
              rhos-dfg-cloudops
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: