Actions
Bug #18297
closedceph cli fails on monitors that don't send 'flags' in command descs
% Done:
0%
Source:
Development
Tags:
Backport:
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
61d63433dfdcc08ecc21ba4f645794da5e01823c added the ability to mark commands with flags to say they are obsolete or deprecated, and avoid showing them in help. The code unconditionally looks for the 'flags' key on the command dict, which will not be present when run against older mons.
Validate presence of the key before checking it.
Actions