]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
vstart: add volume client keys to keyring 30943/head
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 15 Oct 2019 17:43:35 +0000 (10:43 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Tue, 15 Oct 2019 17:55:34 +0000 (10:55 -0700)
Otherwise, ceph-fuse cannot find them!

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/vstart.sh

index 2cbf9f42248a79ee3494cb66724e048b9f97c82c..d231dda3651c555b8a64c86e922c892a6cea91d2 100755 (executable)
@@ -1032,12 +1032,11 @@ EOF
 
            # wait for volume module to load
            while ! ceph_adm fs volume ls ; do sleep 1 ; done
-
             local fs=0
             for name in a b c d e f g h i j k l m n o p
             do
                 ceph_adm fs volume create ${name}
-                ceph_adm fs authorize ${name} "client.fs_${name}" / rwp
+                ceph_adm fs authorize ${name} "client.fs_${name}" / rwp >> "$keyring_fn"
                 fs=$(($fs + 1))
                 [ $fs -eq $CEPH_NUM_FS ] && break
             done