Documentation #25193
openhttp://docs.ceph.com/docs/master/mgr/restful/ various mind slips
0%
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.
Updated by John Spray over 5 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?
Updated by Boris Ranto over 5 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.
Updated by Peter Gervai over 5 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.
Updated by John Spray over 5 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/
Updated by Sebastian Wagner about 3 years ago
- Priority changed from Normal to Low