Project

General

Profile

Bug #42787

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

Added by Kiefer Chang about 1 year ago. Updated about 1 year ago.

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

0%

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

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:

History

#1 Updated by Tiago Melo about 1 year ago

  • Assignee set to Tiago Melo

#2 Updated by Ricardo Marques about 1 year ago

  • Priority changed from Normal to High
  • Target version set to v15.0.0

#3 Updated by Tiago Melo about 1 year ago

  • Status changed from New to In Progress
  • Pull request ID set to 31622

#4 Updated by Tiago Melo about 1 year ago

  • Status changed from In Progress to Fix Under Review

#5 Updated by Lenz Grimmer about 1 year ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF