Actions
Bug #2861
closedCLI: rbd create command requires validation for image-name
Status:
Won't Fix
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Source:
Q/A
Tags:
Backport:
Regression:
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.
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.
Updated by Josh Durgin about 9 years ago
- Status changed from New to Won't Fix
discussion here: https://github.com/ceph/ceph/pull/4172#discussion_r27626923
Actions