Project

General

Profile

Bug #49869

mgr/dashboard: feature toggles CLI is broken

Added by Ernesto Puerta about 1 month ago. Updated 6 days ago.

Status:
Resolved
Priority:
Normal
Category:
dashboard/backend
Target version:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
pacific
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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

Related issues

Copied to mgr - Backport #50038: pacific: mgr/dashboard: feature toggles CLI is broken Resolved

History

#1 Updated by Ernesto Puerta about 1 month ago

  • Status changed from New to Fix Under Review
  • Backport changed from pacific,octopus,nautilus to pacific
  • Pull request ID set to 40188

#2 Updated by Alfonso Martínez 23 days ago

  • Status changed from Fix Under Review to Pending Backport

#3 Updated by Backport Bot 23 days ago

  • Copied to Backport #50038: pacific: mgr/dashboard: feature toggles CLI is broken added

#4 Updated by Loïc Dachary 12 days 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".

#5 Updated by Ernesto Puerta 6 days ago

  • Project changed from mgr to Dashboard
  • Category changed from dashboard/backend to dashboard/backend

Also available in: Atom PDF