Project

General

Profile

Actions

Bug #56077

closed

mgr/dashboard: validate mds service id

Added by Melissa Li almost 2 years ago. Updated 24 days ago.

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

100%

Source:
Tags:
backport_processed
Backport:
quincy,pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

related to #54184 which was fixed on the cephadm level, but we can also fix for dashboard with user validation.
if an mds service is created with a service id that begins with a number, the daemon will be created but will go into error state and emit health warnings.


Related issues 1 (0 open1 closed)

Copied to Dashboard - Backport #57086: pacific: mgr/dashboard: validate mds service idRejectedMelissa LiActions
Actions #1

Updated by Melissa Li almost 2 years ago

also, can have a general service id form validation (other than rgw and mds), like: ^[a-zA-Z0-9_.-]+$

Actions #2

Updated by Nizamudeen A almost 2 years ago

  • Status changed from New to Triaged
Actions #3

Updated by Pere Díaz Bou over 1 year ago

  • Backport set to quincy,pacific
Actions #4

Updated by Pere Díaz Bou over 1 year ago

  • Status changed from Triaged to Pending Backport
Actions #5

Updated by Backport Bot over 1 year ago

  • Tags set to backport_processed
Actions #6

Updated by Pere Díaz Bou over 1 year ago

  • Pull request ID set to 47179
Actions #7

Updated by Pere Díaz Bou over 1 year ago

  • Tags deleted (backport_processed)
Actions #8

Updated by Backport Bot over 1 year ago

  • Copied to Backport #57086: pacific: mgr/dashboard: validate mds service id added
Actions #9

Updated by Backport Bot over 1 year ago

  • Tags set to backport_processed
Actions #10

Updated by Konstantin Shalygin 24 days ago

  • Status changed from Pending Backport to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF