From: Sage Weil Date: Fri, 8 Nov 2019 03:43:37 +0000 (-0600) Subject: ceph-daemon: add explicit pull at bootstrap start X-Git-Tag: v15.1.0~984^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0ee79e1a544aaf8be6463b1a12fbd7b87b50c007;p=ceph.git 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 --- diff --git a/src/ceph-daemon b/src/ceph-daemon index 99d38b36aeac..15033700482a 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()