Project

General

Profile

Actions

Bug #49869

closed

mgr/dashboard: feature toggles CLI is broken

Added by Ernesto Puerta about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
General - Back-end
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 1 (0 open1 closed)

Copied to Dashboard - Backport #50038: pacific: mgr/dashboard: feature toggles CLI is brokenResolvedAlfonso MartínezActions
Actions #1

Updated by Ernesto Puerta about 3 years ago

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

Updated by Alfonso Martínez about 3 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #3

Updated by Backport Bot about 3 years ago

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

Updated by Loïc Dachary about 3 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 #5

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 146 to General - Back-end
Actions

Also available in: Atom PDF