On Tue, Apr 21, 2020 at 5:24 AM Wyllys Ingersoll <wyllys.ingersoll@xxxxxxxxxxxxxx> wrote: > > Im trying to understand how to configure the ceph-mgr restful plugin module for Mimic (13.2.8). > > Some docs (maybe out of date) seem to indicate that the base url for the api is "/api/v0.1", but ours seems to be using just "/api". The current docs for mimic are here, https://docs.ceph.com/docs/mimic/mgr/restful/ They show the base as '/' and https://github.com/ceph/ceph/blob/mimic/qa/workunits/rest/test_mgr_rest_api.py#L50 and https://github.com/ceph/ceph/blob/mimic/src/pybind/mgr/restful/module.py#L314-L319 tend to confirm this. > > There used to be a configuration parameter "restapi_base_url", but apparently that is not supported anymore. This appears to have been abandoned when the restful api server was moved to a manager module. > > My question - What is the base URL for the mgr restful module and is it configurable? '/' and, at this point AFAICT no, it is not configurable. > > There are some packages (such as the elasticsearch metricbeat ceph module) that have hard coded "/api/v0.1" as the base URL and wont work with newer ceph releases if that URL doesn't work. If you would like this behaviour to be available please open a tracker for it. > > thanks, > Wyllys Ingersoll > > _______________________________________________ > Dev mailing list -- dev@xxxxxxx > To unsubscribe send an email to dev-leave@xxxxxxx -- Cheers, Brad _______________________________________________ Dev mailing list -- dev@xxxxxxx To unsubscribe send an email to dev-leave@xxxxxxx