Project

General

Profile

Bug #56077

mgr/dashboard: validate mds service id

Added by Melissa Li over 1 year ago. Updated over 1 year ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

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

Copied to Dashboard - Backport #57086: pacific: mgr/dashboard: validate mds service id New

History

#1 Updated by Melissa Li over 1 year ago

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

#2 Updated by Nizamudeen A over 1 year ago

  • Status changed from New to Triaged

#3 Updated by Pere Díaz Bou over 1 year ago

  • Backport set to quincy,pacific

#4 Updated by Pere Díaz Bou over 1 year ago

  • Status changed from Triaged to Pending Backport

#5 Updated by Backport Bot over 1 year ago

  • Tags set to backport_processed

#6 Updated by Pere Díaz Bou over 1 year ago

  • Pull request ID set to 47179

#7 Updated by Pere Díaz Bou over 1 year ago

  • Tags deleted (backport_processed)

#8 Updated by Backport Bot over 1 year ago

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

#9 Updated by Backport Bot over 1 year ago

  • Tags set to backport_processed

Also available in: Atom PDF