From 32cdbca0ec264df9ce8818f40370bec3c54872a5 Mon Sep 17 00:00:00 2001 From: Yadnesh Kulkarni Date: Mon, 18 Nov 2024 06:06:58 -0500 Subject: [PATCH] Add missing libvirt mount to kepler Kepler needs libvirt mount to fetch names assigned by Nova Also, remove a few flags of unwanted metrics. --- .../templates/kepler.json.j2 | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/roles/edpm_telemetry_power_monitoring/templates/kepler.json.j2 b/roles/edpm_telemetry_power_monitoring/templates/kepler.json.j2 index c9050e41e..4e2a82151 100644 --- a/roles/edpm_telemetry_power_monitoring/templates/kepler.json.j2 +++ b/roles/edpm_telemetry_power_monitoring/templates/kepler.json.j2 @@ -7,15 +7,9 @@ "recreate": true, "environment": { "ENABLE_GPU": "true", - "ENABLE_MSR": "true", "ENABLE_PROCESS_METRICS": "true", "EXPOSE_ESTIMATED_IDLE_POWER_METRICS": "true", - "EXPOSE_CONTAINER_METRICS": "true", "EXPOSE_VM_METRICS": "true", - "EXPOSE_HW_COUNTER_METRICS": "true", - "EXPOSE_IRQ_COUNTER_METRICS": "true", - "EXPOSE_BPF_METRICS": "true", - "EXPOSE_COMPONENT_POWER": "true", "LIBVIRT_METADATA_URI": "http://openstack.org/xmlns/libvirt/nova/1.1" }, {% if edpm_telemetry_power_monitoring_healthcheck %} @@ -25,13 +19,8 @@ }, {% endif %} "volumes": [ - "/lib/modules:/lib/modules:ro", - "/usr/src:/usr/src", + "/run/libvirt:/run/libvirt:shared,ro", "/sys/:/sys/", - "/proc:/proc", - "/etc:/etc" - ], - "cap_add": [ - "ALL" + "/proc:/proc" ] }