Bug #5305
closedceph-deploy gatherkeys fails (ceph-create-keys)
0%
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)
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 <glowell@inktank.com>
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 <gary.lowell@inktank.com>