]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: chown the prometheus data dir during redeploy 44905/head
authorMichael Fritch <mfritch@suse.com>
Fri, 4 Feb 2022 18:11:05 +0000 (11:11 -0700)
committerMichael Fritch <mfritch@suse.com>
Mon, 7 Feb 2022 17:02:29 +0000 (10:02 -0700)
commit21fb80aaab0b333d997d8241e17cf9749a37e065
tree0070e52b45173ed7277e624f183853bf2c19426a
parent80ae7c307e92763f14f573a8882df41a5c84a21b
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>
src/cephadm/cephadm
src/cephadm/tests/test_cephadm.py