Actions
Bug #78291
closed
TH
TH
Fix CLI error message when using force parameter if it doesn't exist
Bug #78291:
Fix CLI error message when using force parameter if it doesn't exist
Due date:
% Done:
0%
Source:
Backport:
tentacle,umbrella
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Tags (freeform):
Merge Commit:
Fixed In:
v21.3.0-1166-g314d194dcb
Released In:
Upkeep Timestamp:
2026-10-04T14:06:45+00:00
Description
ceph_argparse.py hardcodes `--force` as an exception in the positional-argument validation loop (line 1244), originally added for backward compatibility with pre-Nautilus daemons that defined force as a `CephString` positional parameter instead of `CephBool`. The exception fired unconditionally — even when force was not part of the command's schema at all — allowing `--force` to be silently absorbed as the value of the next positional parameter (e.g. `nsid`). The module then tried int('--force') and crashed.
UB Updated by Upkeep Bot 5 months ago
- Status changed from Fix Under Review to Resolved
- Merge Commit set to 314d194dcb629cf8791f6cbd769ab43f49832b41
- Fixed In set to v21.3.0-1166-g314d194dcb
- Upkeep Timestamp set to 2026-07-19T22:16:43+00:00
TH Updated by Tomer Haskalovitch 2 months ago
- Status changed from Resolved to Pending Backport
- Backport set to tentacle,umbrella
UB Updated by Upkeep Bot 2 months ago
- Copied to Backport #81413: tentacle: Fix CLI error message when using force parameter if it doesn't exist added
UB Updated by Upkeep Bot 2 months ago
- Copied to Backport #81414: umbrella: Fix CLI error message when using force parameter if it doesn't exist added
UB Updated by Upkeep Bot 2 months ago
- Status changed from Pending Backport to Backporting
- Upkeep Timestamp changed from 2026-07-19T22:16:43+00:00 to 2026-10-04T14:06:45+00:00
Actions