]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-create-keys: add missing argument comma 11822/head
authorPatrick Donnelly <pdonnell@redhat.com>
Sun, 18 Sep 2016 20:26:29 +0000 (16:26 -0400)
committerNathan Cutler <ncutler@suse.com>
Tue, 8 Nov 2016 09:02:37 +0000 (10:02 +0100)
The arguments "get" and "client.admin" were being concatenated into
"getclient.admin".

Found using ceph-ansible + strace:

    13031 execve("/usr/bin/ceph", ["ceph", "--cluster=ceph", "--name=mon.", "--keyring=/var/lib/ceph/mon/ceph-ceph-mon0/keyring", "auth", "getclient.admin"], ["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "LANG=en_US.UTF-8", "CLUSTER=ceph", "TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES=134217728", "CEPH_AUTO_RESTART_ON_UPGRADE=no"] <unfinished ...>

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 482022233d845b75876b04ca23fb137281a9f6ab)

src/ceph-create-keys

index 0e1884013ec2adc2f5a5758e05c533b3d7b0f7f9..8031b2fb257cc152521329e04d187fe003c215f0 100755 (executable)
@@ -109,7 +109,7 @@ def get_key(cluster, mon_id):
                 returncode = subprocess.call(
                     args=args_prefix + [
                         'auth',
-                        'get'
+                        'get',
                         'client.admin',
                         ],
                     stdout=f,