Actions
Bug #40779
closedUnable to reset / unset module options
% Done:
0%
Source:
Development
Tags:
Backport:
nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Description
MgrModule.set_module_option('x', None)
is supposed to reset module options. This is broken.
void PyModuleConfig::set_config()
accepts a boost::optional<std::string>
as value, which is `false` if the optional is unset.
But ceph_set_module_option
doesn't pass None
to PyModuleConfig::set_config()
Result: there is no way to unset a setting
Affects dashboard and orchestrator_cli
Updated by Sebastian Wagner almost 5 years ago
- Status changed from New to Fix Under Review
Updated by Sebastian Wagner almost 5 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Tatjana Dehler almost 5 years ago
- Copied to Backport #40878: nautilus: Unable to reset / unset module options added
Updated by Nathan Cutler over 4 years ago
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".
Actions