]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
Make missing RGW bootstrap key non-fatal 267/head
authorTravis Rhoden <trhoden@redhat.com>
Tue, 17 Mar 2015 19:01:16 +0000 (15:01 -0400)
committerTravis Rhoden <trhoden@redhat.com>
Tue, 17 Mar 2015 19:01:16 +0000 (15:01 -0400)
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
ceph_deploy/gatherkeys.py

index c2f9ebb4156fafc4f0d90cf59d2f8a427a2fb6a5..bd856628e4da0eb0027493da78eaa061c5cc0eb4 100644 (file)
@@ -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)