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 #1

Updated by Dan Mick over 10 years ago

The only difference I see there is quoting on the caps mon value, not spaces. Is that what you meant to say?

Actions #2

Updated by Rishabh Kumar over 7 years ago

Hi, I wish to fix this inconsistency. Any suggestions what should be the output? (with or without quoting)

Actions

Also available in: Atom PDF