From: Michael Fritch Date: Tue, 3 Dec 2019 14:41:59 +0000 (-0700) Subject: ceph-daemon: use uid/gid 0 when creating tempfiles X-Git-Tag: v15.1.0~674^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=caf38142d64e230537fe9c7827a16da20af7aa93;p=ceph-ci.git ceph-daemon: use uid/gid 0 when creating tempfiles skip extraction of the uid/gid since `ceph-volume` runs as root Signed-off-by: Michael Fritch --- diff --git a/src/ceph-daemon/ceph-daemon b/src/ceph-daemon/ceph-daemon index 9164fe38838..f4dafd264a8 100755 --- a/src/ceph-daemon/ceph-daemon +++ b/src/ceph-daemon/ceph-daemon @@ -1342,7 +1342,7 @@ def command_ceph_volume(): if args.fsid: make_log_dir(args.fsid) - (uid, gid) = extract_uid_gid() + (uid, gid) = (0, 0) # ceph-volume runs as root mounts = get_container_mounts(args.fsid, 'osd', None) tmp_config = None