Project

General

Profile

Actions

Bug #42787

closed

mgr/dashboard: error when managing RBD images with non-ASCII names

Added by Kiefer Chang over 4 years ago. Updated about 3 years ago.

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

0%

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

Description

Note this issue is different from #42651, the cause might be related to URL encoding.

Steps to reproduce:
  • Create a RBD image with non-ASCII characters in its name. e.g. `año`
  • Edit/Copy/Delete/Trash operations for the image fails.

Request URLs for these operations:

# Edit or Copy image
GET http://172.16.71.20:4200/api/block/image/rbd%2Fa%252525C3%252525B1o

# Delete image
DELETE http://172.16.71.20:4200/api/block/image/rbd%2Fa%2525C3%2525B1o

# Move to trash
POST http://172.16.71.20:4200/api/block/image/rbd%2Fa%2525C3%2525B1o/move_trash

Not sure if we encode the URL multiple times:
Actions

Also available in: Atom PDF