Project

General

Profile

Actions

Bug #54184

closed

MDS service_id cannot start with a numeric digit

Added by Redouane Kachach Elhichou over 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Normal
Category:
cephadm
Target version:
-
% Done:

0%

Source:
Tags:
low-hanging-fruit
Backport:
needed
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

In the current implementation names of MDS services cannot start with a numeric value. This is already correctly checked at MDS daemon level but cephadm allows invalid service_ids. As consequence an MDS could be created but then it goes to 'error' state. This is easilly reproducible by using the following spec file:

service_type: mds
service_id: 333
placement:
  count: 1

or by running the cmd:

ceph orch apply mds 333 --placement="1 my-ceph-node" 
Actions

Also available in: Atom PDF