Project

General

Profile

Actions

Documentation #25193

open

http://docs.ceph.com/docs/master/mgr/restful/ various mind slips

Added by Peter Gervai almost 6 years ago. Updated over 3 years ago.

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

0%

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

Description

1)

ceph config set mgr mgr/restful/$name/server_addr $IP
ceph config set mgr mgr/restful/$name/server_port $PORT

That's possibly
ceph config-key set mgr/restful/$name/server_addr $IP
...
 

2)
RESTful module requires authentication, which is missing from the doc. I believe it's related to


ceph restful create-key <keyname>
ceph restful list-keys

and alike.

Actions #1

Updated by John Spray almost 6 years ago

  • Assignee set to Boris Ranto

The "config set" ones are correct for mimic and master. I believe the luminous version of the docs has the older "config-key" variants.

Boris: it's not clear to me whether the docs on authentication are just incomplete or also inaccurate?

Actions #2

Updated by Boris Ranto almost 6 years ago

Unfortunately, there are no docs on how to create the user/password pair in the docs. There is only an example of how to pass user/password that were previously created.

Actions #3

Updated by Peter Gervai almost 6 years ago

re config vs config-key:

Lumi seems to have config for non-presistent and config-key for persistent config, former without the possibility to actually list the keys. I'm really puzzled how it's supposed to be used, then. :-)

re user/password generation:

Not that it's overly complex: the command above actually creates the key/password pair and there's nothing really more to say about it. A one-sentence mention in the doc would probably suffice.

Actions #4

Updated by John Spray almost 6 years ago

Lumi seems to have config for non-presistent and config-key for persistent config, former without the possibility to actually list the keys. I'm really puzzled how it's supposed to be used, then. :-)

The instructions for Luminous are here: http://docs.ceph.com/docs/luminous/mgr/restful/

Actions #5

Updated by Sebastian Wagner over 3 years ago

  • Priority changed from Normal to Low
Actions

Also available in: Atom PDF