Bug 2006214
Summary: | [cephadm] : traceback is dumped when unexpected input is provided for `format` argument | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Vasishta <vashastr> |
Component: | Cephadm | Assignee: | Redouane Kachach Elhichou <rkachach> |
Status: | CLOSED ERRATA | QA Contact: | Manasa <mgowri> |
Severity: | low | Docs Contact: | Karen Norteman <knortema> |
Priority: | low | ||
Version: | 5.0 | CC: | adking, akraj, kdreyer, rkachach, tserlin, vereddy |
Target Milestone: | --- | Keywords: | Rebase |
Target Release: | 5.2 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ceph-16.2.8-2.el8cp | Doc Type: | Bug Fix |
Doc Text: |
.Users providing `--format` argument with unsupported formats received a traceback
Previously, the orchestrator would throw an exception whenever it received a `--format` argument that it did not support, causing users who passed `--format` with unsupported formats to receive a traceback.
With this fix, unsupported formats are now properly handled and users providing an unsupported format get a message explaining that the format is unsupported.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2022-08-09 17:36:05 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 2102272 |
Description
Vasishta
2021-09-21 08:08:03 UTC
this might be a real issue: could you verify if other commands that do in fact support xml still properly work? ceph health --format xml Issue fixed by the PR: https://github.com/ceph/ceph/pull/45023 In the new implementation an error is shown (option not implemented) instead of failing with a stacktrace. Thanks for testing the fix. AFAIK, right now there are no plans to support xml format for this option. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: Red Hat Ceph Storage Security, Bug Fix, and Enhancement Update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:5997 |