From caf38142d64e230537fe9c7827a16da20af7aa93 Mon Sep 17 00:00:00 2001 From: Michael Fritch Date: Tue, 3 Dec 2019 07:41:59 -0700 Subject: [PATCH] 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 --- src/ceph-daemon/ceph-daemon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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