From 399a524e0038063921baa2f2fa8d6730d85fb6f2 Mon Sep 17 00:00:00 2001 From: gshaibi Date: Wed, 6 Nov 2024 15:45:40 +0200 Subject: [PATCH 1/2] fix: update directory permissions for GPU metrics export --- internal/status-exporter/export/fs/exporter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/status-exporter/export/fs/exporter.go b/internal/status-exporter/export/fs/exporter.go index de7f9ca..ae280de 100644 --- a/internal/status-exporter/export/fs/exporter.go +++ b/internal/status-exporter/export/fs/exporter.go @@ -54,7 +54,7 @@ func (e *FsExporter) export(nodeTopology *topology.NodeTopology) { log.Printf("Exporting pod %s gpu stats to filesystem", podUuid) path := fmt.Sprintf("/runai/proc/pod/%s/metrics/gpu/%d", podUuid, gpuIdx) - if err := os.MkdirAll(path, 0644); err != nil { + if err := os.MkdirAll(path, 0755); err != nil { log.Printf("Failed creating directory for pod %s: %s", podUuid, err.Error()) } From 378c8488bf7b4591e4c0c4c492c3170e71348c3f Mon Sep 17 00:00:00 2001 From: gshaibi Date: Wed, 6 Nov 2024 15:46:56 +0200 Subject: [PATCH 2/2] . --- .circleci/config.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 754d0cf..28f2f97 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,7 +9,6 @@ commands: steps: - setup_remote_docker: docker_layer_caching: true - version: 20.10.14 install_project_dependencies: steps: - checkout