Skip to content

Commit

Permalink
ceph-create-keys: add missing argument comma
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
batrick committed Sep 18, 2016
1 parent e1667dc commit 4820222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ceph-create-keys
Expand Up @@ -109,7 +109,7 @@ def get_key(cluster, mon_id):
returncode = subprocess.call(
args=args_prefix + [
'auth',
'get'
'get',
'client.admin',
],
stdout=f,
Expand Down

0 comments on commit 4820222

Please sign in to comment.