From: Sage Weil Date: Wed, 13 Feb 2013 00:26:14 +0000 (-0800) Subject: ceph-create-keys: create mds bootstrap key X-Git-Tag: v0.56.5~5^2~81 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f97f49b1e7ca8555c945b93fbc8241f5fa620dd8;p=ceph.git ceph-create-keys: create mds bootstrap key Signed-off-by: Sage Weil (cherry picked from commit 809143f16c70483ba5bb429dea812d31b67f2b49) --- diff --git a/src/ceph-create-keys b/src/ceph-create-keys index 438e51d30767..272bb3ec6ef0 100755 --- a/src/ceph-create-keys +++ b/src/ceph-create-keys @@ -190,6 +190,7 @@ def main(): wait_for_quorum(cluster=args.cluster, mon_id=args.id) get_key(cluster=args.cluster, mon_id=args.id) + bootstrap_key( cluster=args.cluster, type_='osd', @@ -203,6 +204,17 @@ def main(): ), ) + bootstrap_key( + cluster=args.cluster, + type_='mds', + caps=dict( + mon=[ + r'allow command auth get-or-create * osd allow\ * mds allow mon allow\ rwx', + 'allow command mon getmap', + ], + ), + ) + if __name__ == '__main__': main()