From 0ee79e1a544aaf8be6463b1a12fbd7b87b50c007 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 7 Nov 2019 21:43:37 -0600 Subject: [PATCH] ceph-daemon: add explicit pull at bootstrap start This is less confusing for users since the pull can be slow and the uid/gid check is a weird thing to hang on for a long time. Signed-off-by: Sage Weil --- src/ceph-daemon | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ceph-daemon b/src/ceph-daemon index 99d38b36aeacb..15033700482a6 100755 --- a/src/ceph-daemon +++ b/src/ceph-daemon @@ -842,6 +842,9 @@ def command_bootstrap(): if ret: raise RuntimeError('Failed to ping %s' % mon_ip) + logger.info('Pulling latest %s container...' % args.image) + call_throws([podman_path, 'pull', args.image]) + logger.info('Extracting ceph user uid/gid from container image...') (uid, gid) = extract_uid_gid() -- 2.39.5