All of lore.kernel.org
 help / color / mirror / Atom feed
* Single MDS cephx key
@ 2017-09-26 23:09 Travis Nielsen
  2017-09-27 10:01 ` John Spray
  0 siblings, 1 reply; 7+ messages in thread
From: Travis Nielsen @ 2017-09-26 23:09 UTC (permalink / raw)
  To: Ceph Development

Is it possible to use the same cephx key for all instances of MDS or do
they each require their own? Mons require the same keyring so I tried
following the same pattern by creating a keyring with "mds.", but the MDS
is complaining about not being authorized when it tries to start. Am I
missing something or is this not possible for MDS keys? If I create a
unique key for each MDS instance it works fine, but it would simplify my
scenario if I could use the same key. I'm running on Luminous.

The key was generated with this:
ceph auth get-or-create-key mds. osd allow * mds allow mon allow profile
mds



The keyring contents are:
[mds.]
key = AQD62spZw3zRGhAAkHHVokP3BDf8PEy4+vXGMg==


I run the following with that keyring:
ceph-mds --foreground --name=mds.mymds -i mymds

And I see the error:
2017-09-26 22:55:55.973047 7fb004459200 -1 mds.mds81c2n ERROR: failed to
authenticate: (22) Invalid argument



Thanks,
Travis



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-10-02 16:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-26 23:09 Single MDS cephx key Travis Nielsen
2017-09-27 10:01 ` John Spray
2017-09-27 14:49   ` Travis Nielsen
2017-09-27 16:36   ` Travis Nielsen
2017-09-27 16:45     ` John Spray
2017-09-27 17:01       ` Travis Nielsen
2017-10-02 16:14         ` Xiaoxi Chen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.