Project

General

Profile

Actions

Cleanup #2376

closed

ceph-authtool -C option doesn't work

Added by Greg Farnum about 12 years ago. Updated about 12 years ago.

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

0%

Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

ubuntu@plana73:/tmp/cephtest/binary/usr/local/bin$ ./ceph-authtool bootstrap-mon -C
Option -C requires an argument.

It's supposed to be equivalent to --create-keyring, but it definitely isn't.
Actions #1

Updated by Greg Farnum about 12 years ago

Also:

ubuntu@plana73:/tmp/cephtest/binary/usr/local/bin$ ./ceph-authtool bootstrap-mon -C --name=mon. --add-key='AQAJe6FPQBADNBAA84v6PyMLKmJn6hMFvX7Few=='
added entity client.admin auth auth(auid = 18446744073709551615 key=AQAJe6FPQBADNBAA84v6PyMLKmJn6hMFvX7Few== with 0 caps)

versus
ubuntu@plana73:/tmp/cephtest/binary/usr/local/bin$ ./ceph-authtool bootstrap-mon --create-keyring
creating bootstrap-mon
ubuntu@plana73:/tmp/cephtest/binary/usr/local/bin$ ./ceph-authtool bootstrap-mon --name=mon. --add-key='AQAJe6FPQBADNBAA84v6PyMLKmJn6hMFvX7Few=='
added entity mon. auth auth(auid = 18446744073709551615 key=AQAJe6FPQBADNBAA84v6PyMLKmJn6hMFvX7Few== with 0 caps)

?

Actions #2

Updated by Sage Weil about 12 years ago

  • Status changed from New to In Progress
  • Assignee set to Sage Weil

I broke this.. -C is short for --cluster. reverting and pushing to stable.

Actions #3

Updated by Sage Weil about 12 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF