Actions
Bug #49869
closedmgr/dashboard: feature toggles CLI is broken
Status:
Resolved
Priority:
Normal
Assignee:
Category:
General - Back-end
Target version:
% Done:
0%
Source:
Community (dev)
Tags:
Backport:
pacific
Regression:
No
Severity:
2 - major
Reviewed:
Description
]# ceph dashboard feature disable rbd 2021-03-17T15:59:22.893+0000 7f9cf81e3700 -1 WARNING: all dangerous and experimental features are enabled. 2021-03-17T15:59:22.902+0000 7f9cf81e3700 -1 WARNING: all dangerous and experimental features are enabled. Error EINVAL: Traceback (most recent call last): File "/ceph/src/pybind/mgr/mgr_module.py", line 1337, in _handle_command return CLICommand.COMMANDS[cmd['prefix']].call(self, cmd, inbuf) File "/ceph/src/pybind/mgr/mgr_module.py", line 389, in call return self.func(mgr, **kwargs) File "/ceph/src/pybind/mgr/dashboard/plugins/feature_toggles.py", line 105, in cmd enabled = mgr.get_module_option(self.OPTION_FMT.format(feature)) File "/ceph/src/pybind/mgr/mgr_module.py", line 1403, in get_module_option self._validate_module_option(key) File "/ceph/src/pybind/mgr/mgr_module.py", line 1386, in _validate_module_option format(key, self.__class__.__name__)) RuntimeError: Config option 'FEATURE_TOGGLE_Features.RBD' is not in Module.MODULE_OPTIONS
Actions