Project

General

Profile

Actions

Feature #24170

closed

MGR modules cannot unset settings

Added by Patrick Seidensal almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
ceph-mgr
Target version:
-
% Done:

0%

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

Description

For MGR modules it is not yet possible to unset previously set settings using only Python.

The Grafana proxy implementation needs to support a username/password authentication and authentication via token. To be able to do so, we will need a way to unset settings previously set, so that the proxy can determine which settings should be used.

The `mgr_module.py` currently only supports 'set_config' and 'get_config'.

Actions #1

Updated by John Spray almost 6 years ago

Did you find that passing None to set_config was working?

In any case, here's a quick update to the docs to mention it https://github.com/ceph/ceph/pull/22157

Actions #2

Updated by Lenz Grimmer almost 6 years ago

  • Category changed from 132 to ceph-mgr
  • Assignee changed from Lenz Grimmer to Patrick Seidensal

Patrick, can you please verify if John's suggestion works?

Actions #3

Updated by Patrick Seidensal almost 6 years ago

  • Status changed from New to Closed

Works, thank you!

Actions

Also available in: Atom PDF