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

Watcher does not find the node_exporter target in prometheus after adding podman_exporter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • rhos-18.0.7
    • rhos-18.0 FR 2 (Mar 2025)
    • openstack-watcher
    • None
    • Workload Evolution Sprint 1, Workload Evolution Sprint 2
    • 2
    • Critical

      To Reproduce Steps to reproduce the behavior:

      1. Deploy RHOSO with at least two compute nodes and telemetry enabled.
      2. Deploy Watcher
      3. Create several VMs and make sure all of them run in the same compute node.
      4. Create an ongoing audit with the goal Workload Balancing and the Strategy Workload stabilization and create high load in the instances in one of the compute nodes.
      5. The audit creates just empty actionplans.

      Expected behavior

      • The audit should create an action plan to move the VM with high usage to an empty node.

      Found Behavior

      • Watcher will fail to execute any audit with a strategy which require host metrics.

      Known workaround

      • No workaround

      Additional context

      Example logs:

      2025-03-17 14:00:02.496 1 DEBUG observabilityclient.prometheus_client [None req-9bbd6640-10da-46fa-9aaa-d947fcff5f4f - - - - - -] Querying prometheus with query: 100 - (avg by (instance)(rate(node_cpu_seconds_total{mode='idle',instance='192.168.122.102:9882'}[600s])) * 100) query

      Note port 9882 is the podman exporter.

      As per conversation with cloudops team, having fqdn label in all the targets running in a compute node is the expected behaviour in order to easily identify it, and we should not expect fqdn to be useful to identify targets for a specific host and exporter type.

              amoralej1@redhat.com Alfredo Moralejo Alonso
              amoralej1@redhat.com Alfredo Moralejo Alonso
              rhos-workloads-evolution
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: