From 787a78e8b1d8e5d92ee447b970ec8b79baa46f0b Mon Sep 17 00:00:00 2001 From: Tommi Virtanen Date: Thu, 30 Aug 2012 10:16:52 -0400 Subject: upstart, ceph-create-keys: Make client.admin key generation automatic. This should help simplify Chef etc deployments. Now (when using the Upstart jobs), when a ceph-mon is started, ceph-create-admin-key is triggered. If /etc/ceph/$cluster.client.admin.keyring already exists, it does nothing; otherwise, it waits for ceph-mon to reach quorum, and then does a "ceph auth get-or-create" to create the key, and writes it atomically to disk. The equivalent code can be removed from the Chef cookbook once this is in. Signed-off-by: Tommi Virtanen --- debian/ceph.install | 1 + 1 file changed, 1 insertion(+) (limited to 'debian') diff --git a/debian/ceph.install b/debian/ceph.install index 9674dbc88d6..da097b24c86 100644 --- a/debian/ceph.install +++ b/debian/ceph.install @@ -8,6 +8,7 @@ usr/bin/ceph-osd usr/bin/ceph-debugpack sbin/ceph-disk-prepare usr/sbin/ sbin/ceph-disk-activate usr/sbin/ +sbin/ceph-create-keys usr/sbin/ sbin/mkcephfs usr/lib/ceph/ceph_common.sh usr/lib/rados-classes/* -- cgit v1.2.1