Feature #35949
openFeature #40907: mgr/dashboard: REST API improvements
mgr/dashboard: Add pass-through MON-commands to REST API
0%
Description
Per our discussions during the Dashboard F2F meeting, the possibility to send MON commands via the REST API was raised as a requirement. The existing REST API needs to be extended to support this.
Updated by John Spray over 5 years ago
This is a recurring feature request, although it usually seems to come from people who want a particular piece of functionality, but don't want to ask for an actual REST API for it.
Don't forget to put a huge health warning on the docs around this, to note that any passed-through commands may change even if the REST API itself is stable.
Also I guess access to this would be limited to super-privileged user accounts?
Updated by Lenz Grimmer over 5 years ago
John Spray wrote:
This is a recurring feature request, although it usually seems to come from people who want a particular piece of functionality, but don't want to ask for an actual REST API for it.
Indeed, it would be helpful to get more specific feedback on what's actually missing that would require this kind of "low-level" API, but IIRC this is primarily intended to support existing customers with legacy applications that use this feature.
Don't forget to put a huge health warning on the docs around this, to note that any passed-through commands may change even if the REST API itself is stable.
Good point, indeed.
Also I guess access to this would be limited to super-privileged user accounts?
It probably should - maybe with a special security scope in the roles management?
Updated by Lenz Grimmer over 5 years ago
- Assignee set to Paul Cuzner
@Paul - according to the notes on the Dashboard F2F Etherpad , it was an action item for you to further specify/clarify this. Any guidance / input would be helpful. I assume this is a feature from the deprecated ceph_rest_api.py
script, not the "restful" manager module?
Updated by Lenz Grimmer over 3 years ago
There has been ongoing discussion if we really want to have such a thing in an API. It's basically against the RESTful concept and there are other downsides (mostly around security, auth, ...). One idea was instead of fully deprecating the current restful
module, to just remove the other API endpoints and only keep the pass-through MON command part.
Updated by Ernesto Puerta over 3 years ago
- Related to Tasks #47066: mgr/restful: Deprecate the "restful" module in favor of the Ceph Dashboard REST API added
Updated by Ernesto Puerta about 3 years ago
- Project changed from mgr to Dashboard
- Category changed from 146 to General - Back-end