]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: chown the prometheus data dir during redeploy
authorMichael Fritch <mfritch@suse.com>
Fri, 4 Feb 2022 18:11:05 +0000 (11:11 -0700)
committerAdam King <adking@redhat.com>
Tue, 3 May 2022 00:48:33 +0000 (20:48 -0400)
commit8a123a3419edda7a8baa0a75715fd267532fd7bd
treece297d646d2ccbea508c7fbcdd5b2b3030202b44
parent6a032b33b78427df3c01615ae50317050f7542a3
cephadm: chown the prometheus data dir during redeploy

some builds of prometheus run with a uid 65534 (nobody) where other
builds of prometheus run with a uid of 0 (root)

Fixes: https://tracker.ceph.com/issues/54159
Signed-off-by: Michael Fritch <mfritch@suse.com>
(cherry picked from commit 21fb80aaab0b333d997d8241e17cf9749a37e065)
src/cephadm/cephadm
src/cephadm/tests/test_cephadm.py