Skip to content

Commit 34ce97d

Browse files
committed
Add missing libvirt mount to kepler
Kepler needs libvirt mount to fetch names assigned by Nova Also, remove a few flags of unwanted metrics.
1 parent 29d213f commit 34ce97d

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

roles/edpm_telemetry_power_monitoring/templates/kepler.json.j2

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,9 @@
77
"recreate": true,
88
"environment": {
99
"ENABLE_GPU": "true",
10-
"ENABLE_MSR": "true",
1110
"ENABLE_PROCESS_METRICS": "true",
1211
"EXPOSE_ESTIMATED_IDLE_POWER_METRICS": "true",
13-
"EXPOSE_CONTAINER_METRICS": "true",
1412
"EXPOSE_VM_METRICS": "true",
15-
"EXPOSE_HW_COUNTER_METRICS": "true",
16-
"EXPOSE_IRQ_COUNTER_METRICS": "true",
17-
"EXPOSE_BPF_METRICS": "true",
18-
"EXPOSE_COMPONENT_POWER": "true",
1913
"LIBVIRT_METADATA_URI": "http://openstack.org/xmlns/libvirt/nova/1.1"
2014
},
2115
{% if edpm_telemetry_power_monitoring_healthcheck %}
@@ -25,13 +19,8 @@
2519
},
2620
{% endif %}
2721
"volumes": [
28-
"/lib/modules:/lib/modules:ro",
29-
"/usr/src:/usr/src",
22+
"/run/libvirt:/run/libvirt:shared,ro",
3023
"/sys/:/sys/",
31-
"/proc:/proc",
32-
"/etc:/etc"
33-
],
34-
"cap_add": [
35-
"ALL"
24+
"/proc:/proc"
3625
]
3726
}

0 commit comments

Comments
 (0)