Project

General

Profile

Actions

Bug #2861

closed

CLI: rbd create command requires validation for image-name

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

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.

Actions #1

Updated by Sage Weil about 11 years ago

  • Project changed from Ceph to rbd
Actions #2

Updated by Sage Weil over 10 years ago

  • Assignee set to Tamilarasi muthamizhan
Actions #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.

Actions #4

Updated by Josh Durgin about 9 years ago

  • Assignee deleted (Josh Durgin)
Actions #5

Updated by Josh Durgin about 9 years ago

  • Status changed from New to Won't Fix
Actions

Also available in: Atom PDF