Actions
Bug #43746
closedmgr default value handling is broken
% Done:
0%
Source:
Tags:
Backport:
nautilus, octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Description
most mgr modules have a config_notify() that does
setattr(self, opt['name'], # type: ignore self.get_module_option(opt['name']) or opt['default']) # type: ignore
which is applied after the get_module_option in mgr_module.py already sorts out the default values. this breaks any values of 0 or false or none or ''.
Updated by Sage Weil over 4 years ago
- Status changed from In Progress to Fix Under Review
- Pull request ID set to 32755
Updated by Sage Weil about 4 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Nathan Cutler about 4 years ago
- Copied to Backport #43820: nautilus: mgr default value handling is broken added
Updated by Kefu Chai about 4 years ago
- Backport changed from nautilus to nautilus, octopus
Updated by Nathan Cutler about 4 years ago
backporting note: https://github.com/ceph/ceph/pull/34117 (follow-on fix)
Updated by Nathan Cutler about 4 years ago
- Copied to Backport #44754: octopus: mgr default value handling is broken added
Updated by Nathan Cutler about 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