Skip to content

Commit

Permalink
[bugfix] RUN-23423 update directory permissions for GPU metrics export (
Browse files Browse the repository at this point in the history
  • Loading branch information
gshaibi authored Nov 6, 2024
1 parent d72a73a commit 832f4d4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ commands:
steps:
- setup_remote_docker:
docker_layer_caching: true
version: 20.10.14
install_project_dependencies:
steps:
- checkout
Expand Down
2 changes: 1 addition & 1 deletion internal/status-exporter/export/fs/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}

Expand Down

0 comments on commit 832f4d4

Please sign in to comment.