Bug 2039669 - [cephadm] input validation: Prevent MDS services with numeric service ids.
Summary: [cephadm] input validation: Prevent MDS services with numeric service ids.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Cephadm
Version: 5.1
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 5.2
Assignee: Redouane Kachach Elhichou
QA Contact: Sunil Angadi
Karen Norteman
URL:
Whiteboard:
Depends On:
Blocks: 2102272
TreeView+ depends on / blocked
 
Reported: 2022-01-12 08:22 UTC by Sunil Angadi
Modified: 2022-08-09 17:37 UTC (History)
5 users (show)

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.
Clone Of:
Environment:
Last Closed: 2022-08-09 17:36:48 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-2952 0 None None None 2022-01-12 08:25:27 UTC
Red Hat Product Errata RHSA-2022:5997 0 None None None 2022-08-09 17:37:19 UTC

Comment 6 Sebastian Wagner 2022-01-18 12:46:47 UTC
Ok, let's report a better error message when applying this service id. Moving to 5.2

Comment 8 Redouane Kachach Elhichou 2022-02-07 14:00:44 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.

Comment 9 Redouane Kachach Elhichou 2022-02-10 17:35:08 UTC
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

Comment 10 Redouane Kachach Elhichou 2022-03-01 17:27:54 UTC
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

Comment 21 errata-xmlrpc 2022-08-09 17:36:48 UTC
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


Note You need to log in before you can comment on or make changes to this bug.