Bug 2039669
| Summary: | [cephadm] input validation: Prevent MDS services with numeric service ids. | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Sunil Angadi <sangadi> |
| Component: | Cephadm | Assignee: | Redouane Kachach Elhichou <rkachach> |
| Status: | CLOSED ERRATA | QA Contact: | Sunil Angadi <sangadi> |
| Severity: | low | Docs Contact: | Karen Norteman <knortema> |
| Priority: | medium | ||
| Version: | 5.1 | CC: | adking, akraj, ceph-eng-bugs, kdreyer, rkachach |
| 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: |
.Setting up a MDS service with a numeric service ID throws an error to alert user
Previously, setting up a MDS service with a numeric service ID would result in crashing of the MDS daemons.
With this fix, if an attempt is made to create a MDS service with a numeric service ID, an error is immediately thrown to alert and warn the users to not use a numeric service ID.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-08-09 17:36:48 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 | ||
|
Comment 6
Sebastian Wagner
2022-01-18 12:46:47 UTC
The behavior (from the point of view of MDS) is correct. Numeric service_ids are not allowed on the MDS service (https://github.com/ceph/ceph-container/issues/97) however so far this was not documented properly. I checked with MDS team and they will be opening a PR to update the doc to reflect this restriction. A check at orchestrator level would be added to report a better error message for this scenario as well. Documentation PR has been created: https://github.com/ceph/ceph/pull/44971 cephadm code changes PR is under review: https://github.com/ceph/ceph/pull/44928 Issue is fixed and merged to master (upstream) by the following PRs: Documentation fix: https://github.com/ceph/ceph/pull/44971 Cephadm fix: https://github.com/ceph/ceph/pull/44928 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 |