Project

General

Profile

Actions

Bug #5305

closed

ceph-deploy gatherkeys fails (ceph-create-keys)

Added by Anonymous almost 11 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

glowell@gary-ubuntu-01:~/ceph-deploy$ sudo /usr/sbin/ceph-create-keys --cluster=ceph -i gary-ubuntu-01
INFO:ceph-create-keys:Key exists already: /etc/ceph/ceph.client.admin.keyring
Traceback (most recent call last):
File "/usr/sbin/ceph-create-keys", line 220, in <module>
main()
File "/usr/sbin/ceph-create-keys", line 211, in main
type_='osd',
TypeError: bootstrap_key() takes exactly 3 arguments (2 given)

Actions #1

Updated by Anonymous almost 11 years ago

  • Subject changed from ceph-create-keys fails to ceph-deploy gatherkeys fails (ceph-create-keys)
  • Status changed from New to Resolved

When invoked with ceph-deploy ceph-create-keys fails silently and the only indication of a problem is that the subsquent ceph-deploy gatherkeys failes.

The issue was that a change to the way monitor capabilities is handled was incomplete in ceph-create-keys. The cap parameter was removed everwhere except for the function definition. This was fixed with the following commit:

commit 0948624f3ebf4e42c0918fde12fd2ea5b25121a7
Author: Gary Lowell <>
Date: Tue Jun 11 08:25:36 2013 -0700

ceph-create-keys: Remove unused caps parameter on bootstrap_key()

The caps parameter was removed except for one place.

Signed-off-by: Gary Lowell <>

Actions

Also available in: Atom PDF