Project

General

Profile

Actions

Bug #54184

closed

MDS service_id cannot start with a numeric digit

Added by Redouane Kachach Elhichou about 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 #1

Updated by Redouane Kachach Elhichou about 2 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Redouane Kachach Elhichou about 2 years ago

  • Status changed from In Progress to Fix Under Review
Actions #4

Updated by Redouane Kachach Elhichou about 2 years ago

  • Status changed from Fix Under Review to Resolved
Actions #6

Updated by Redouane Kachach Elhichou about 2 years ago

  • Pull request ID set to 45227
Actions

Also available in: Atom PDF