Ok, let's report a better error message when applying this service id. Moving to 5.2
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