From c1b280f0807d21901baa90391049e6fdc99c7575 Mon Sep 17 00:00:00 2001 From: Travis Rhoden Date: Tue, 17 Mar 2015 15:01:16 -0400 Subject: [PATCH] Make missing RGW bootstrap key non-fatal Signed-off-by: Travis Rhoden --- ceph_deploy/gatherkeys.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ceph_deploy/gatherkeys.py b/ceph_deploy/gatherkeys.py index c2f9ebb..bd85662 100644 --- a/ceph_deploy/gatherkeys.py +++ b/ceph_deploy/gatherkeys.py @@ -69,7 +69,11 @@ def gatherkeys(args): _hosts=args.mon, ) if not r: - raise exc.KeyNotFoundError(keyring, args.mon) + if what in ['osd', 'mds']: + raise exc.KeyNotFoundError(keyring, args.mon) + else: + LOG.warning(("No RGW bootstrap key found. Will not be able to " + "deploy RGW daemons")) @priority(40) -- 2.47.3