-
Bug
-
Resolution: Unresolved
-
Major
-
rhos-18.0 Feature Release 1 (Nov 2024)
-
None
-
2
-
False
-
-
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.