Project

General

Profile

Bug #2861

CLI: rbd create command requires validation for image-name

Added by Tamilarasi muthamizhan over 11 years ago. Updated almost 9 years ago.

Status:
Won't Fix
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

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

Description

Ceph version: 0.48

When trying to create a rbd image, the image name seems to accept empty string and special characters as a valid image name, which is not an expected behaviour.

Pasting below the CLI screenshot,

ubuntu@burnupi64:~$ rbd create rbd//$#$#%# --size 100
ubuntu@burnupi64:~$ rbd create rbd/ --size 100
ubuntu@burnupi64:~$ rbd create --image " " --size 10
ubuntu@burnupi64:~$ rbd ls

-4535
/00%#

The rbd image name should be validated to NOT accept these values.

History

#1 Updated by Sage Weil almost 11 years ago

  • Project changed from Ceph to rbd

#2 Updated by Sage Weil over 10 years ago

  • Assignee set to Tamilarasi muthamizhan

#3 Updated by Tamilarasi muthamizhan over 10 years ago

  • Assignee changed from Tamilarasi muthamizhan to Josh Durgin

tested on ceph v0.69 and the bug still exists.

#4 Updated by Josh Durgin almost 9 years ago

  • Assignee deleted (Josh Durgin)

#5 Updated by Josh Durgin almost 9 years ago

  • Status changed from New to Won't Fix

Also available in: Atom PDF