Project

General

Profile

Actions

Cleanup #6766

open

keyring leading spaces

Added by John Wilkins over 10 years ago. Updated over 7 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Description

A keyring generated with ceph-deploy has no leading spaces. A keyring generated with ceph-authtool does have leading spaces. This is probably not a bug, but it seems like they should generate consistent output.

john@osd-host:~/reference-cluster$ cat ceph.mon.keyring
[mon.]
key = AQC4xoNSAAAAABAAyCMzDHtwPaEG9IKoI6cW6w==
caps mon = allow *
john@osd-host:~/reference-cluster$ cat /tmp/ceph.mon.keyring
[mon.]
key = AQBayINS+NOFNRAAnb3ZP9YkagBWJhWvLiosCQ==
caps mon = "allow *"
john@osd-host:~/reference-cluster$

Actions

Also available in: Atom PDF