]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: chown the prometheus data dir during redeploy 45046/head
authorMichael Fritch <mfritch@suse.com>
Fri, 4 Feb 2022 18:11:05 +0000 (11:11 -0700)
committerMichael Fritch <mfritch@suse.com>
Tue, 15 Feb 2022 17:11:43 +0000 (10:11 -0700)
commit29d35183d6a4fde6bdd8812e846be93f6348babc
tree65927a92055cbad35d293c0037c9151070a3c954
parentc361b5f35e635195b31dfdc10969716082383158
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