Project

General

Profile

Actions

Bug #38303

closed

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

Added by Ricardo Marques about 5 years ago. Updated about 3 years ago.

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

0%

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

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.

Actions #1

Updated by Tiago Melo about 5 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Tiago Melo about 5 years ago

  • Pull request ID set to 26408
Actions #3

Updated by Tiago Melo about 5 years ago

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

Updated by Ricardo Marques about 5 years ago

  • Description updated (diff)
Actions #5

Updated by Tiago Melo about 5 years ago

  • Pull request ID changed from 26408 to 26433
Actions #6

Updated by Jason Dillaman about 5 years ago

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

Actions #7

Updated by Tiago Melo about 5 years ago

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

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 139 to Component - RBD
Actions

Also available in: Atom PDF