Project

General

Profile

Bug #38303

mgr/dashboard: Error when editing an rbd with '/' in the name

Added by Ricardo Marques about 1 year ago. Updated 12 months ago.

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

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

How to reproduce:

1) Create the following pool: `ceph osd pool create my/pool 8`

2) Create an RBD named `my/image`

3) Edit the `my/image` RBD

UPDATE

The dashboard should not allow the user to create an RBD with a slash in the name.

Additionally, pools with a slash in the name should not be displayed in the RBD form.

History

#1 Updated by Tiago Melo about 1 year ago

  • Status changed from New to In Progress

#2 Updated by Tiago Melo about 1 year ago

  • Pull request ID set to 26408

#3 Updated by Tiago Melo about 1 year ago

  • Status changed from In Progress to Fix Under Review

#4 Updated by Ricardo Marques about 1 year ago

  • Description updated (diff)

#5 Updated by Tiago Melo about 1 year ago

  • Pull request ID changed from 26408 to 26433

#6 Updated by Jason Dillaman about 1 year ago

Both "/" and "@" are illegal for new RBD image names and snapshot names.

#7 Updated by Tiago Melo 12 months ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF